Replies: 1 comment 5 replies
-
I don't think there is a better way (see #397 for a possibly related issue). The uncompressed full state estimate takes up more than one radio packet, how are you dealing with that? I think it will be hard to get good performance from offboard control, especially with multiple CFs per radio. Have you considered implementing your controller in the firmware? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for your great work with the platform!
I am planning to do offboard control and sending commands to the crazyflie using the cmdVel method in the Python API, i.e. doing position control by sending desired roll, pitch, yaw rate, thrust. Some of the controllers I am working with require the current full state at evaluation (position, attitude, linear velocity, angular velocity). I want to run the controllers at 50-100 hz.
What is the best way to get the full state estimate on the offboard computer using the Python API? Currently, I am using the log interface by setting up variables to log in the launch file (as outlined in hover_swarm.launch) and then subscribing to the log topic to get the current fused state estimate. However, I suspect that I am having some delay issues and wanted to ask the community if there is another way of doing this that might work better.
Beta Was this translation helpful? Give feedback.
All reactions