is it possible to change the increasing/deceasing amount of the trim values set by the controller ?
At the moment each press on the controller buttons changes the trim values for +/- 1 but i wold like to set this value much lower e.g. 0.1-0.5 to get a better hoover behavior.
It (CF2) hoovers quite good and the props i use are balanced but id like to test if it cold get even better.
Trim values step [SOLVED]
Trim values step [SOLVED]
Last edited by Malte on Sun Dec 28, 2014 8:10 am, edited 1 time in total.
Re: Trim values step
Yes! It's pretty easy too. Just go into the .json file of your controller mapping (mine is PS3_Mode_2.json) inside the "crazyflie-client-pythin/conf/input" directory. You can edit the scale there.Malte wrote:is it possible to change the increasing/deceasing amount of the trim values set by the controller ?
Simply change the values for "scale" in the elements named "Pitch Cal+", "Pitch Cal-", "Roll Cal +", and "Roll Cal -".Malte wrote:i wold like to set this value much lower e.g. 0.1-0.5 to get a better hoover behavior.
Code: Select all
{"name":"Pitch Cal+", "type":"Input.BUTTON", "id":6, "scale":-0.2, "key":"pitchcal"},
{"name":"Pitch Cal-", "type":"Input.BUTTON", "id":4, "scale":0.2, "key":"pitchcal"},
{"name":"Roll Cal +", "type":"Input.BUTTON", "id":5, "scale":0.05, "key":"rollcal"},
{"name":"Roll Cal -", "type":"Input.BUTTON", "id":7, "scale":-0.05, "key":"rollcal"},
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Re: Trim values step
Thanks,
this worked quit nicely, I´ve looked in all the .json files except for this one.
this worked quit nicely, I´ve looked in all the .json files except for this one.
Last edited by Malte on Wed Dec 31, 2014 5:23 pm, edited 1 time in total.
Re: Trim values step [SOLVED]
You can also duplicate any of the config files and rename it then select it in the GUI. That way you can keep all the others as "originals" and experiment with your copy. If you ever want to go back to a "default" state, just select one of the originals in the GUI.
Have fun!!
Have fun!!

Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.