Page 1 of 1
Trim values step [SOLVED]
Posted: Sat Dec 27, 2014 2:14 pm
by Malte
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.
Re: Trim values step
Posted: Sat Dec 27, 2014 6:44 pm
by chad
Malte wrote:is it possible to change the increasing/deceasing amount of the trim values set by the controller ?
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:i wold like to set this value much lower e.g. 0.1-0.5 to get a better hoover behavior.
Simply change the values for "scale" in the elements named "Pitch Cal+", "Pitch Cal-", "Roll Cal +", and "Roll Cal -".
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"},
Re: Trim values step
Posted: Sun Dec 28, 2014 8:09 am
by Malte
Thanks,
this worked quit nicely, I´ve looked in all the .json files except for this one.
Re: Trim values step [SOLVED]
Posted: Mon Dec 29, 2014 1:27 am
by chad
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!!
