Hi,
This sounds like a synchronization problem between tasks. Commander.c contains a double-buffering that should avoid such problems. Are you using the commanderGetRPY() function to get your values?
Arnaud
Search found 2538 matches
- Wed Jul 30, 2014 11:52 am
- Forum: Developer Discussions
- Topic: Choppy values for RPY while Thrust is clean
- Replies: 1
- Views: 1565
- Wed Jul 30, 2014 11:44 am
- Forum: Developer Discussions
- Topic: C compiler type
- Replies: 1
- Views: 1529
Re: C compiler type
Hi, The compiler used for Crazyflie development is GCC, we now use the build ARM is maintaining: gcc-arm-embedded https://launchpad.net/gcc-arm-embedded We are using C99 (at least for named structure initialization and anonymous structure/union). However I cannot find the flag in our Makefile (https...
- Wed Jul 30, 2014 11:26 am
- Forum: Developer Discussions
- Topic: Memory types used
- Replies: 2
- Views: 1892
Re: Memory types used
Hi, Crazyflie has 20K of RAM so yes we have to be a bit careful. Crazyflie is running a real time operating system and has many tasks running in parallel. Each task mush have its own stack, so stack is pretty sensitive and should not be used too much. Typically, we avoid as much as possible declarin...
- Wed Jul 30, 2014 8:43 am
- Forum: General discussions
- Topic: A possible Solarmod?
- Replies: 4
- Views: 3880
Re: A possible Solarmod?
Hi, Those solar panel looks nice and light! The main issue here will be the voltage: solar panel voltage fluctuate a lot with illumination. The Crazyflie can charge at 4.5V (maybe a bit less) so the panel would need to be connected to some kind of power harvesting chip that outputs a constant 4.5V w...
- Wed Jul 30, 2014 8:18 am
- Forum: Bitcraze
- Topic: temperature sensor on quadcopter
- Replies: 8
- Views: 9092
Re: temperature sensor on quadcopter
Hi, This board looks like it will fly, the size fits the Crazyflie battery and the weight of a single PCB should not be too much (we have flown things like neopixel rings that are bigger). The thing to make sure is the sensor voltage: the Crazyflie is running at 2.8V which seems to be OK for both se...
- Wed Jul 30, 2014 7:56 am
- Forum: Developer Discussions
- Topic: st-link v2 to program crazyflie
- Replies: 3
- Views: 3072
Re: st-link v2 to program crazyflie
Hi, Yes sure ST-Link V2 works fine. You need to change OpenOCD config files in the Makefile: https://github.com/bitcraze/crazyflie-firmware/blob/master/Makefile#L10 The easiest way to do that is to create a config.mk file and put this in it: OPENOCD_INTERFACE = interface/stlink-v2.cfg OPENOCD_TARGET...
- Fri Jul 04, 2014 1:23 pm
- Forum: Developer discussions
- Topic: How can I make PC-client using USB dongle?
- Replies: 4
- Views: 5244
Re: How can I make PC-client using USB dongle?
Hi, We use libusb to access the dongle from Python the the official client. You have many option depending of which library you want to use. - LibUSB can be used from VisualStudio: http://wiki.bitcraze.se/projects:crazyradio:protocol - Microsoft provides a similar library called winUSB: http://msdn....
- Sun Jun 29, 2014 10:57 am
- Forum: Support
- Topic: Bus Pirate script to recover bricked radio
- Replies: 8
- Views: 11676
Re: Bus Pirate script to recover bricked radio
Hi Everdoubtful, Apparently the script has erased the entire chip including the nrf usb bootloader, which is bad. To get the radio to work again flash the normal firmware, the latest version can be download from there https://bitbucket.org/bitcraze/crazyradio-firmware/downloads Otherwise for a more ...
- Mon Jun 23, 2014 11:10 am
- Forum: Support
- Topic: Bitcraze VM 0.4 not working
- Replies: 2
- Views: 3212
Re: Bitcraze VM 0.4 not working
Hi, There seems to be a known bug in the latest version of VirtualBox for windows that affects the USB. You can try to uninstall and re-install a previous version (like 4.2), old versions are available on http://download.virtualbox.org/virtualbox/ I tried to run the VM in vmware player but unfortuna...
- Thu May 08, 2014 7:59 am
- Forum: Support
- Topic: Error communicating with the radio
- Replies: 10
- Views: 9070
Re: Error communicating with the radio
Which version of the client and which Linux distribution and version are you using? This looks like an incompatibility of pyusb.