Search found 10 matches

by ali
Mon Jul 21, 2014 4:19 pm
Forum: Developer Discussions
Topic: OpenPilot firmware ported to Crazyflie
Replies: 10
Views: 14386

Re: OpenPilot firmware ported to Crazyflie

I had a hard time finding the repo, but I finally did it. To save others the trouble, here is how you clone it: git clone git://git.openpilot.org/OpenPilot.git --branch brian/crazyflie After that you can build it like this: make crazyflie I haven't gotten around to actually flashing it, but I'll pos...
by ali
Mon Jul 21, 2014 11:01 am
Forum: Developer Discussions
Topic: Choppy values for RPY while Thrust is clean
Replies: 1
Views: 2050

Choppy values for RPY while Thrust is clean

Hi, I'm trying to port the arming function over from OpenPilot, but I ran into a problem: The arming process requires the controller to be helt at a certain position for a certain amount of time. Whenever the stick leaves "the arming corner" the arming process is reset. While I was scratch...
by ali
Sat Jun 21, 2014 8:54 am
Forum: Developer Discussions
Topic: Standalone CF control with any PPM compatible RC transmitter
Replies: 14
Views: 15420

Re: Standalone CF control with any PPM compatible RC transmi

how easy/hard would it be to port this code to the Crazyradio? Frankly, I have no idea, as I haven't really looked at neither, chip nor code. It shouldn't be too hard, though, after all the CR is able to run the nRF communication and a PPM decoder at the same time (although I've never managed to ma...
by ali
Fri Jun 20, 2014 11:27 pm
Forum: Developer Discussions
Topic: Standalone CF control with any PPM compatible RC transmitter
Replies: 14
Views: 15420

Re: Standalone CF control with any PPM compatible RC transmi

Hello! I've tested your code. Hover parameter is setting correctly. But when I set it, crazyflie goes crazy (jumping). How to control crazyflie in hover mode? Which range are valid for setpoint.thrust ? Maybe this behavior has something to do with the fact that on a RC remote the throttle stick doe...
by ali
Thu Jun 19, 2014 4:50 pm
Forum: Developer Discussions
Topic: Standalone CF control with any PPM compatible RC transmitter
Replies: 14
Views: 15420

Re: Standalone CF control with any PPM compatible RC transmi

ivandevel wrote:Hello! Can I see your alt hold mode setting code?
Hehe.. first bragging about it and then forgetting to push the changes to github. :)
It's all there now.

Cheers.
by ali
Mon Jun 16, 2014 1:48 pm
Forum: Developer Discussions
Topic: Standalone CF control with any PPM compatible RC transmitter
Replies: 14
Views: 15420

Re: Standalone CF control with any PPM compatible RC transmi

Great work ali! This is something we have wanted to do for a long time but never got the chance to. Great to see that someone else did! Funny thing I found this http://www.airspayce.com/mikem/arduino/NRF24/crazyflie_client_8ino-example.html only hours after I got mine working. ;) And it's from 2012...
by ali
Mon Jun 16, 2014 1:40 pm
Forum: Developer Discussions
Topic: Standalone CF control with any PPM compatible RC transmitter
Replies: 14
Views: 15420

Re: Standalone CF control with any PPM compatible RC transmi

Wow! Great! How about alt hold mode? I think I've got it. Now PPM channels are assigned as follows: 1: Yaw (Rudder) 2: Pitch (Elevator) 3: Thrust (Throttle) 4: Roll (Aileron) 5: Arm/Disarm (simply realized by setting setpoint.thrust=0 if PPM input is < 50%) 6: Hover/AltHold (if PPM input > 50% flig...
by ali
Fri Jun 13, 2014 11:41 am
Forum: Developer Discussions
Topic: Standalone CF control with any PPM compatible RC transmitter
Replies: 14
Views: 15420

Re: Standalone CF control with any PPM compatible RC transmi

I guess it could be done by assigning switches on the remote to spare PPM channels and having the module firmware send custom commands like alt-hold or arm/disarm.

I'll look into it.
by ali
Thu Jun 05, 2014 9:22 am
Forum: Developer Discussions
Topic: Standalone CF control with any PPM compatible RC transmitter
Replies: 14
Views: 15420

Standalone CF control with any PPM compatible RC transmitter

Hi, I've written a little AVR program to control the Crazyflie without a PC or even the Crazyradio. All you need is a RC transmitter with trainer port or TX module slot that will put out a PPM signal, an AVR (almost any kind of AVR based Arduino will do, I developed this on an Arduino UNO), and a nR...
by ali
Tue May 20, 2014 3:58 pm
Forum: General discussions
Topic: PPM input
Replies: 7
Views: 12837

Re: PPM input

Hi, it's been almost a year, so I thought I'd ask if there was any progress on this subject. I've found a few resources on the web where people are building their own modules for the popular 9x tx and others (see http://www.rcgroups.com/forums/showthread.php?t=1564343 or http://forums.openpilot.org/...