change radio parameters (Command Line option)
change radio parameters (Command Line option)
How do I change the radio parameters (channel and data rate) from my own python program (i.e. without using the GUI cfclient program)?
Re: change radio parameters (Command Line option)
I have solved this issue by (badly) hacking the cfclient program. Is there any other method?
Re: change radio parameters (Command Line option)
Do you want to change the Crazyflie or Crazyradio parameters?
Re: change radio parameters (Command Line option)
Crazyflie parameters
Re: change radio parameters (Command Line option)
If I understand correctly you would like to set the radio parameters (like speed, channel and address) for the Crazyflie 2.0 from your own custom program using our library.
The settings are mapped up through the memory module, since they are stored in the EEPROM on the Crazyflie 2.0. To get access to them have a look at this code. This function takes the radio parameters (from the UI) and uses the memory API to save them. If you duplicate the rows in this function in your own program you will be able to set these once you have successfully connected to the Crazyflie 2.0. Note that changes in radio configuration doesn't take effect on the Crazyfllie 2.0 until you restart the Crazyflie.
The settings are mapped up through the memory module, since they are stored in the EEPROM on the Crazyflie 2.0. To get access to them have a look at this code. This function takes the radio parameters (from the UI) and uses the memory API to save them. If you duplicate the rows in this function in your own program you will be able to set these once you have successfully connected to the Crazyflie 2.0. Note that changes in radio configuration doesn't take effect on the Crazyfllie 2.0 until you restart the Crazyflie.