CF Client flightmode initial value

Post here to get support
Post Reply
DesTinY
Member
Posts: 97
Joined: Sat Feb 09, 2013 5:18 pm
Location: Bünde, Germany

CF Client flightmode initial value

Post 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:
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: CF Client flightmode initial value

Post by tobias »

We did some updates to the client today, please try with that one, it should be more stable.
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: CF Client flightmode initial value

Post 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
DesTinY
Member
Posts: 97
Joined: Sat Feb 09, 2013 5:18 pm
Location: Bünde, Germany

Re: CF Client flightmode initial value

Post 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.
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: CF Client flightmode initial value

Post by marcus »

Thanks for testing. Yeah, it's been a busy weekend :D
Post Reply