Closed marmik18 closed 3 years ago
Reinstall dronekit from the github repository instead of using pip, look at #677
Sent from my iPad
On Dec 13, 2018, at 9:52 PM, Marmik Thakkar notifications@github.com wrote:
I have connected Pixhawk directly to my linux computer overr sub and the serial port is /dev/ttyACM0 When i run the code as python simplegoto.py --connect /dev/ttyACM0
dronekit detects the firmware as ArduSub but fails to detect heartbeat. `$ python hello.py --connect /dev/ttyACM0 Connecting to vehicle on: /dev/ttyACM0
Exception in message handler for HEARTBEAT mode 19 not available on mavlink definition MYGCS: 255, heartbeat lost Exception in message handler for HEARTBEAT mode 19 not available on mavlink definition ArduSub V3.5.3 (ad81760b) PX4: 8d505a02 NuttX: 1a99ba58 PX4v2 00350045 33375111 31313639 Exception in message handler for HEARTBEAT mode 19 not available on mavlink definition Exception in message handler for HEARTBEAT mode 19 not available on mavlink definition Exception in message handler for HEARTBEAT mode 19 not available on mavlink definition Exception in message handler for HEARTBEAT mode 19 not available on mavlink definition Exception in message handler for HEARTBEAT mode 19 not available on mavlink definition ` Can anyone help me out with this is issue? Thank you in advance.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I got it solved, i updated pymavlink to 2.3 from 2.0 which was actually supported by dronekit
I have connected Pixhawk directly to my linux computer over usb and the serial port is /dev/ttyACM0 When i run the code as
python simplegoto.py --connect /dev/ttyACM0
dronekit detects the firmware as ArduSub but fails to detect heartbeat.
Can anyone help me out with this is issue? Thank you in advance.