controll parameters with the controller
controll parameters with the controller
I'm quite new to python and I need some help. I want to be able to turn on/off a led light on my crazyflie, and with the tutorials on youtube i know how to set up a parameter and a tab for it. but how do i fix it so with a button i can change the paramters on/off? and how do i connect this to the extension board on my crazyflie? I've tried for hours without success so please help !
Re: controll parameters with the controller
Hi Guggen,
Please have a look at the changes in my GitHub fork of the Bitcraze python client. I implemented these changes to support a NeoPixel Ring mod I did but, since you already know about parameters, you might be able to to learn how I link up the controller button to control it. I'm using support built into the firmware for the NeoPixel so you might have some extra work to do there if you just want light a single LED. In any case, see my blog post series about it (four parts 1, 2, 3, 4) and the forks on GitHub for the firmware and the client for more info. Specifically, Part 4 explains the client side changes I made.
Maybe you can even get a NeoPixel ring and have 12 LEDs in different colors instead of 1 LED.
Good luck!
Please have a look at the changes in my GitHub fork of the Bitcraze python client. I implemented these changes to support a NeoPixel Ring mod I did but, since you already know about parameters, you might be able to to learn how I link up the controller button to control it. I'm using support built into the firmware for the NeoPixel so you might have some extra work to do there if you just want light a single LED. In any case, see my blog post series about it (four parts 1, 2, 3, 4) and the forks on GitHub for the firmware and the client for more info. Specifically, Part 4 explains the client side changes I made.
Maybe you can even get a NeoPixel ring and have 12 LEDs in different colors instead of 1 LED.

Good luck!
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: controll parameters with the controller
alright thank you ! i will check out what you linked and try it out. If i manage to fix my problem i might buy one of those neopixel rings!
take care !
take care !
Re: controll parameters with the controller
Hi! You might want to check out this blog post (especially the third from the last paragraph). Looks like functionality for a couple "alt" buttons is in now and it should be pretty easy to assign them to want you want...
Regards!
Regards!
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.