Skip to content

Running an APP on crazyFlie generated using MATLAB's Embedded Coder #1815

Answered by gemenerik
deepparikh asked this question in Q&A
Discussion options

You must be logged in to vote

The differences between a Webots simulation and flying the real Crazyflie can be significant, depending on your implementation. Using the Python bindings can help bridge this gap, but even then, the simulator isn't running software-in-the-loop, so notable differences remain.

Your approach with the app seems correct, but now you need to debug. Since the drone is rebooting (asserting), you should connect to the cfclient and check where it asserted—that will give you a clue about what’s going wrong.

As for best practices, this situation isn't primarily about coding standards; it's about identifying and resolving a critical failure. I think that focusing on debugging will be more productive t…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@deepparikh
Comment options

@gemenerik
Comment options

Answer selected by deepparikh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants