Skip to content

cfbridge.py vs cfbridge c++ #7

@barzanisar

Description

@barzanisar

Hi,
I am using your cfbridge.py that seems to work better (i.e. with less than 0.5% data loss) as compared to the cpp source code while communicating with crazyflie using crazyradio PA. The only modifications I made was to set the number of retries in radiodriver.py to 3 and to only send CRTP messages containing mavlink packets to QGC in here i.e. by checking if the pk.port== CRTP_PORT_MAVLINK

I will open a PR soon for these changes once bitcraze replies how I can set_arc using their crazyflie class and hence in cfbridge rather than hardcoding in radiodriver.py

Data loss while sending msgs from QGC to Crazyflie (via cfbridge c++) is around 5-7% , even with sending joystick commands at 5Hz. This seems to be the significant factor in creating issues with radio communication, such as arming/disarming command is not received by crazyflie. However, cfbridge.py works fine with the modifications discussed above, changes in syslink, and in QGC to send joystick messages at constant rate of 10Hz (will open a PR soon).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions