Page 1 of 1

CF Client flightmode initial value

Posted: Fri Apr 26, 2013 2:51 pm
by DesTinY
Hi,
at first start of crazyflie-pc-client an error occurs (see image)
Image

Main reason:
There is no initial value of flightmode (if "config.json in not there at first start") I can't find the right place for that :|
Side effect:
In "input.py" there is no initial value in "def __init__" for "minThrust" and "maxThrust" (line 258), too. And here dies the Client with the Pop-up (see image) if you give thrust with the controller.

Not high Prior but annoying if you forget too chose "Normal" as flightmode like me :roll: :lol:

Re: CF Client flightmode initial value

Posted: Sat Apr 27, 2013 12:39 pm
by tobias
We did some updates to the client today, please try with that one, it should be more stable.

Re: CF Client flightmode initial value

Posted: Sat Apr 27, 2013 10:39 pm
by marcus
This problem should be fixed. The source-tree now contains the default config values that will be used to create the user config file config.json. There's still one more thing to fix but if you delete your old config.json and update to the latest version it should work. The bug that is left is: https://bitbucket.org/bitcraze/crazyfli ... not-copied

Re: CF Client flightmode initial value

Posted: Sun Apr 28, 2013 2:01 am
by DesTinY
Great job guys :!:
I followed your commits the last few days and you guys have done a lot!
I can confirm my reported problem is solved in the latest revision!
The Client looks more and more quite stable, at least that I can test without a CF ( is shipped and on the way to me :lol: ).

thumbs up!

Because of me the Topic can be closed or deleted.

Re: CF Client flightmode initial value

Posted: Sun Apr 28, 2013 12:58 pm
by marcus
Thanks for testing. Yeah, it's been a busy weekend :D