Search found 327 matches

by whoenig
Thu Nov 13, 2014 6:08 pm
Forum: Developer Discussions
Topic: what's the id number of each button of joystick?
Replies: 2
Views: 1448

Re: what's the id number of each button of joystick?

The ID of a button is defined by the joystick driver. If you use Linux, you can install jstest-gtk and see the mapping for your joystick. I am sure there are similar tools for Windows.
by whoenig
Thu Nov 13, 2014 5:55 pm
Forum: Developer Discussions
Topic: C code PID controller, where to start?
Replies: 4
Views: 2217

Re: C code PID controller, where to start?

I wouldn't do it from scratch either. Step 2 in my previous list was more or less only there to understand the rest of the firmware. If you already understand how FreeRTOS works etc., you can go ahead and replace the controller code only. I don't know what an LQ controller includes exactly. However,...
by whoenig
Thu Nov 13, 2014 5:49 pm
Forum: Support
Topic: PS3 OpenSuse Mapping [SOLVED]
Replies: 6
Views: 2328

Re: PS3 OpenSuse Mapping

For the import error: You need to download and install pyqtgraph from here http://www.pyqtgraph.org/ (not available as part of most distributions as package). It is required for the Plot tab in the GUI to plot/export the sensor data. I am not sure about the PS3 controller. You should try to use diff...
by whoenig
Wed Nov 12, 2014 5:21 pm
Forum: Developer Discussions
Topic: C code PID controller, where to start?
Replies: 4
Views: 2217

Re: C code PID controller, where to start?

This is a fairly ambitious project. The control scheme needs to run fairly fast in order to work, so you would need to run it on board on the crazyflie. On the other hand, if you finish that, you will learn a lot! I would recommend the following steps: 1. Make sure that you can compile and flash the...
by whoenig
Wed Nov 12, 2014 2:18 am
Forum: Developer Discussions
Topic: USB port on crazyflie
Replies: 5
Views: 2281

Re: USB port on crazyflie

2Mbps just means 2 Megabits per second, i.e. 2/8=0.25 MB/s = 250 kB/s. You can only achieve that if you buffer a lot (which increases latency again). For starters I would recommend going with the standard way of logging. There are two options: 1) You can write your own python script. There is a grea...
by whoenig
Tue Nov 11, 2014 6:12 pm
Forum: Developer Discussions
Topic: USB port on crazyflie
Replies: 5
Views: 2281

Re: USB port on crazyflie

There is an interesting master thesis which contains bandwidth measurements here: http://liu.diva-portal.org/smash/record.jsf?pid=diva2%3A534744&rvn=1&dswid=8523 (click on fulltext on the top right to access the full thesis). 1) The minimum the crazyflie needs to fly is the control command packet wh...
by whoenig
Tue Nov 11, 2014 5:56 pm
Forum: Support
Topic: Amontec jtagkey alternatives
Replies: 9
Views: 5265

Re: Amontec jtagkey alternatives

I believe Bitcraze used the Bus Blaster successfully (available from seeed studio as well).

What do you mean by putting the "crazyradio into receive mode"?
by whoenig
Tue Nov 11, 2014 5:52 pm
Forum: Support
Topic: Crazyradio compile
Replies: 4
Views: 2145

Re: Crazyradio compile

The lines between "[crazyradio]$ make" and "[crazyradio]$ " are essentially a list of what make executes. Hence, it creates the bin output folder for you (if it does not exist already).
by whoenig
Tue Nov 11, 2014 7:27 am
Forum: Developer Discussions
Topic: USB port on crazyflie
Replies: 5
Views: 2281

Re: USB port on crazyflie

I am not sure how to use the USB on the STM32 either. However, what is the issue with the communication speed over the crazyradio? Do you have an issue with the latency or with the bandwidth? It is possible to get around 3ms latency. Even if you get USB to work, I am not sure if it would solve your ...
by whoenig
Tue Nov 11, 2014 7:19 am
Forum: Support
Topic: Crazyradio compile
Replies: 4
Views: 2145

Re: Crazyradio compile

What do you want to know exactly? The "export" command is only needed in order to enable make to work correctly (otherwise it wouldn't find the compiler). Make itself creates object files for every source file and later links all those object files together to get the resulting hex file.