New Multiwii Serial Protocol
Re: New Multiwii Serial Protocol
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!
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
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.
Edit: I'm using a SerialCommunicator.cpp between Beaglebone black and MultiWii.
Re: New Multiwii Serial Protocol
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
ty stronnag !
Re: New Multiwii Serial Protocol
hello... how can I clear waypoints with MSP? I can't find any suggestion
Re: New Multiwii Serial Protocol
See the document linked three posts up (under the section Uploading).
Re: New Multiwii Serial Protocol
is it possible to use MSP via i2c??
like sending and getting commands via i2c instead of the usb or serial cable?
like sending and getting commands via i2c instead of the usb or serial cable?
Re: New Multiwii Serial Protocol
no, not yet.
Re: New Multiwii Serial Protocol
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
and
Any suggestions how to proceed to stay compatible?
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?
-
- Posts: 18
- Joined: Mon Jul 18, 2016 9:50 am
Re: New Multiwii Serial Protocol
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....?
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....?