Search found 15 matches

by matejkarasek
Tue Feb 04, 2020 12:09 pm
Forum: Developer Discussions
Topic: High-level to position control - where in the firmware code?
Replies: 7
Views: 1357

Re: High-level to position control - where in the firmware code?

I missed the ramp.py example, that is exactly what I needed :)
I will try in the afternoon, but it is very likely it is just the zero setpoint that I need to add, thanks!
by matejkarasek
Fri Jan 31, 2020 7:40 pm
Forum: Developer Discussions
Topic: High-level to position control - where in the firmware code?
Replies: 7
Views: 1357

Re: High-level to position control - where in the firmware code?

Yes, it makes sense, thanks! I want to start the engines before the take-off and wait a bit till they really start (BL motors do not start immediately, unlike the brushed DCs on CF2...) Looking further into the firmware, I see that the takeoff and landing routines are simply implemented as trajector...
by matejkarasek
Thu Jan 30, 2020 1:16 pm
Forum: Developer Discussions
Topic: High-level to position control - where in the firmware code?
Replies: 7
Views: 1357

Re: High-level to position control - where in the firmware code?

Thanks a lot, this is already very helpful. Not everything is clear yet but got enough ideas on where to look further :D Some documentation of the control structure would definitely be great :!: I see that the high-level commands are sent from python via packets. On the firmware side, how are these ...
by matejkarasek
Wed Jan 29, 2020 6:44 pm
Forum: Developer Discussions
Topic: High-level to position control - where in the firmware code?
Replies: 7
Views: 1357

High-level to position control - where in the firmware code?

Hi, I am trying to fly a non-standard drone platform autonomously, using the Roadrunner and LPS: https://www.youtube.com/watch?v=ybk1CWpduKI&feature=youtu.be (the video is recorded with a different autopilot) I was able to adjust the power distribution and low-level control loops (attitude and rate)...
by matejkarasek
Mon Aug 26, 2019 4:16 pm
Forum: Bitcraze
Topic: CPPM receiver with BigQuad deck on the Roadrunner
Replies: 5
Views: 846

Re: CPPM receiver with BigQuad deck on the Roadrunner

Reviving this thread... Got to a point, where I would like to use the CPPM and the Loco deck at the same time. I am trying to move the CPPM to PB6 (SCL of I2C1 by default), but my embedded programming skills are very limited. Since I2C1 is also used by the EEPROM, I would like to disable it and use ...
by matejkarasek
Tue Aug 06, 2019 9:32 pm
Forum: Developer Discussions
Topic: Firmware development in Windows
Replies: 12
Views: 1619

Re: Firmware development in Windows

Just a small update, following these instructions I was able to get it working also on a second PC with clean Windows 10 (ver 1903).
The USB driver issue is not present here.

@kimberly I can help to update the corresponding wiki page, should that be helpful...
by matejkarasek
Tue Aug 06, 2019 9:25 pm
Forum: Bitcraze
Topic: CPPM receiver with BigQuad deck on the Roadrunner
Replies: 5
Views: 846

Re: CPPM receiver with BigQuad deck on the Roadrunner

Thanks, Tobias, got it working following your instructions!
Obviously (although not obvious to me at first) I also needed to uncomment the previously commented lines as described here

Thrust still behaves a bit strange, will look at that tomorrow...
by matejkarasek
Mon Jul 29, 2019 10:32 pm
Forum: Developer Discussions
Topic: Firmware development in Windows
Replies: 12
Views: 1619

Re: Firmware development in Windows

Hi, Yes, am running cfloader natively under Windows, and use the libusb-win32 (v1.2.6.0) driver... But, I finally succeeded to flash! :D The issue seems to be related to my USB. I only have a single USB port (Surface Pro 4) so I use a USB hub. Apparently, it does not work through the USB hub (at lea...
by matejkarasek
Sat Jul 27, 2019 10:06 pm
Forum: Developer Discussions
Topic: Firmware development in Windows
Replies: 12
Views: 1619

Re: Firmware development in Windows

Ok, an update from me... I followed the WSL path as suggested by @theseankelly and am almost there, but flashing (over Crazyradio PA) still does not work... Haven't tried the debugger yet. These were my steps: In Windows: - Install Ubuntu WSL - Install python and set path - Install pip - Install git...
by matejkarasek
Thu Jul 25, 2019 10:49 am
Forum: Developer Discussions
Topic: Firmware development in Windows
Replies: 12
Views: 1619

Re: Firmware development in Windows

Hey, Thanks a lot for sharing your workflow theseankelly! (my notifications were also not set-up correctly...) I will try it out in the coming days and come back here should I get stuck somewhere. Great to hear this now works fine from the Ubuntu WSL! Of course, if you managed to write up a tutorial...