Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting param variable from within the firmware (ie. For apps) #630

Closed
ataffanel opened this issue Oct 15, 2020 · 0 comments
Closed
Milestone

Comments

@ataffanel
Copy link
Member

Allowing apps to write param variables at runtime would be very helpful as it will gie apps the same level of control on params that script communicating over the radio to the Crazyflie have.

The param subsystem design assumes that params are never changed by the firmware after initialization.The python crazyflie lib is design with that assumption and cache all parameter values at connection, there is no mechanism in place to update this cache if a variable changes in the firmware.

There is already functions implemented in the firmware to read and write param variables. These functions should be changed to notify the client that a variable has been changed by sending a CRTP packet.

Threre is also going to be some change needed in the python lib and maybe in the client. Tickets for these changes will refer to this ticker.

Related to #502.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants