Skip to content

ADSB_VEHICLE message is not available  #747

@drumadrian

Description

@drumadrian

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions