Parameter update in Client when changed by CF
Posted: Thu Aug 13, 2015 12:31 pm
Hello,
I have a parameter that gets set to 1 in the client to activate a flightmode on the Crazyflie. This works as expected and the parameter in the client shows as 1.
The Crazyflie then sets the value back to 0 after some time, but that new value is not sent to the client (or the param_updated_callback is just not executed), which keeps showing the parameter as 1.
Is there any way to tell the Crazyflie to send the new value to the client when it is changed? Or do I have to repeatably poll the parameter in the client using request_param_update()?
Regards,
Daniel
I have a parameter that gets set to 1 in the client to activate a flightmode on the Crazyflie. This works as expected and the parameter in the client shows as 1.
The Crazyflie then sets the value back to 0 after some time, but that new value is not sent to the client (or the param_updated_callback is just not executed), which keeps showing the parameter as 1.
Is there any way to tell the Crazyflie to send the new value to the client when it is changed? Or do I have to repeatably poll the parameter in the client using request_param_update()?
Regards,
Daniel