Skip to content

Unclear on how to retrieve drone location  #9

@Arpafaucon

Description

@Arpafaucon

I wasn't able to understand how we are supposed to get the drone positions.
explored options :

  • tf
    in the current setup, no transforms are published. I believe that is quite weird given what I understood from the internals of crazyflie_driver. And from you crazyflie.py module ( that had by the way a weird way to handle constructor arguments, see crazyflie.tool module where I tried to correct it...but without tf it still doesn`t work

  • /cf/local_position topic
    That way I get a 6-d vector, the 3 first being the pose. However, the last three don't seem to map to roll, pitch, yaw.
    According to crazyflie_add_single.launch , these value correspond to

    "stabilizer.roll", "stabilizer.pitch", "stabilizer.yaw"

    Although the models in gazebo are perfectly horizontal, those values (roll, pitch) are non-null.

  • cf/pose topic (mentionned in crazyflie_visu.rviz file)
    I don't have this topic

Do you have any advice on that matter? That might be useful to mention that in the documentation

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