alduxvm / pyMultiWii

MultiWii Serial Protocol (MSP) API to send and receive data from firmware using MSP
GNU General Public License v3.0
154 stars 85 forks source link

pymultiwii library issue with inav 1.6 #20

Closed amitmanish closed 6 years ago

amitmanish commented 6 years ago

Hello alduxvm, I tried using your pymultiwii library for controlling naze32 rev6 through raspberry pi. I can read board data like accelerometer value but not write commands like arm and disarm. I configured naze32
with rc type to msp serial rx. raspberry pi and naze32 are connected through usb cable.

alduxvm commented 6 years ago

most the issues trying to send cmd to the board via msp are related to firmware rather than this code... which firmware are you running?

amitmanish commented 6 years ago

I am using inav version 1.6 and i have configured receiver type to serial_msp.

amitmanish commented 6 years ago

Hello alduxvm, i checked the msp code of the inav but could not figure the reason for this inconsistency. Could you direct me where the possible inconsistencies can be which i need to change.

alduxvm commented 6 years ago

Hi, I'm sorry, I created this library using baseflight... this was done a while ago, and now there is tons of different new firmwares that use the MSP protocol, without proper testing and debugging, I cannot make sure it will work with a no-supported firmware. That being said, I remember someone a while ago telling me they made it work with inav... can you please try to put baseflight to the naze32 and then try the arm-disarm and if it works, it means inav needs to be debugged...

amitmanish commented 6 years ago

Thanks alduxvm. I will try this with baseflight.