-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Hello DroneKit Developers,
I have installed a Uavionix Ping Rx ADS-B receiver on my Pixhawk 2.1 and I can see the ADSB_VEHICLE message in QGroundControl but not using my DroneKit python code.
The Ping Receiver:
pingRX ADS-B Receiver
The MAVLINK message:
ADSB_VEHICLE
I used the decorator to create a callback but it did not execute.
I tested the decorator feature to run for all messages using the * parameter and I did not see any ADSB_VEHICLE messages.
ADS-B Code snippet:
#Create a message listener using the decorator.
@vehicle.on_message('ADSB_VEHICLE')
def listener(self, name, message):
print '\n\n ADSB_VEHICLE message: %s \n\n' % message
Non ADS-B Code snippet:
#Create a message listener using the decorator.
@vehicle.on_message('*')
def listener(self, name, message):
print '\n\n\nReceived Non-ADS-B message named: %s\n\n\n' % name
I hope I am reporting this issue correctly. I didn't see any issues regarding ADS-B in the repo. It is my first for this project/repo and I'm happy to provide more information or develop a fix if I get a little help and guidance.
Thanks,
Adrian