Page 9 of 9

Re: New Multiwii Serial Protocol

PostPosted: Wed Sep 09, 2015 2:54 pm
by jakeerp
Question:

I would like to access a snapshot of the current accelerometer/gyro readings via the Linux CLI. How would I do that over a serial connection from the Linux CLI?

I've read through this thread and others, as well as the first post, but I still am not sure how I would go about accessing that data from the linux CLI (And this may not be due to a lack of info, just my lack of understanding).

I have a MWC 328.

Thanks!

Re: New Multiwii Serial Protocol

PostPosted: Tue Sep 29, 2015 8:05 pm
by cMelkor
Hello. I use mw2.3. I'm working with MSP_WP and MSP_SET_WP script but when I send lat,lon,AltHold,etc is not reading correctly in mw-wingui. When I use MSP_WP I recibe the same thing than I send. Is there some conversion to get and set lat,lon,AltHold correctly?

Edit: I'm using a SerialCommunicator.cpp between Beaglebone black and MultiWii.

Re: New Multiwii Serial Protocol

PostPosted: Tue Sep 29, 2015 8:13 pm
by stronnag
The MSP_WP / MSP_SET_WP data structures changed from 2.3 for 2.3-nav and 2.4. You need to use the correct firmware and message structure (and 2.3-nav or 2.4 for Wingui). The 2.3-nav/2.4 messages are documented at https://docs.google.com/document/d/16Zf ... sp=sharing .

Re: New Multiwii Serial Protocol

PostPosted: Tue Sep 29, 2015 8:19 pm
by cMelkor
ty stronnag :D!

Re: New Multiwii Serial Protocol

PostPosted: Wed Dec 16, 2015 2:29 am
by xcvbz0
hello... how can I clear waypoints with MSP? I can't find any suggestion :(

Re: New Multiwii Serial Protocol

PostPosted: Wed Dec 16, 2015 6:03 pm
by stronnag
See the document linked three posts up (under the section Uploading).

Re: New Multiwii Serial Protocol

PostPosted: Wed Jan 13, 2016 1:21 pm
by alduxvm
is it possible to use MSP via i2c??

like sending and getting commands via i2c instead of the usb or serial cable?

Re: New Multiwii Serial Protocol

PostPosted: Thu Jan 14, 2016 3:10 pm
by Hamburger
no, not yet.

Re: New Multiwii Serial Protocol

PostPosted: Fri May 06, 2016 7:03 pm
by Hamburger
I need a change to MSProtocol in order to support 6S HV lipos. Todays HV lipo cells support 4.35V, soon to come 4.55V. For 6S, this equals 27.3V.
At the moment, we use uint8_t for storage, which is no longer sufficient.
Affected structs are
Code: Select all
typedef struct {
  uint8_t  vbat;               // battery voltage in 0.1V steps
...
} analog_t;


and
Code: Select all
#ifdef VBAT
    uint8_t vbatscale;
    uint8_t vbatlevel_warn1;
    uint8_t vbatlevel_warn2;
    uint8_t vbatlevel_crit;
  #endif
 ...
} conf_t;


Any suggestions how to proceed to stay compatible?

Re: New Multiwii Serial Protocol

PostPosted: Wed Jul 27, 2016 4:58 pm
by snow-man-01
Hello,

I want to change roll, pitch, yaw and throttle manually (without the Joystick). Which parameter must I change? Because I want to implement an anonymous flight, where I set the signals for the motion. Can anyone tell me which parameter I can change to change roll, pitch....?