maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [WIP] Control OpenPilot quadcopter Using N9/N950 (https://talk.maemo.org/showthread.php?t=84019)

metRo_ 2012-05-02 11:31

[WIP] Control OpenPilot quadcopter Using N9/N950
 
Hi :)
I want to show you the aplication I have been developing to control a quadcopter with a OpenPilot CopterControl (CC) board using the N950.

I'm using RN174 (WiFi-Serial link) to connect the mobile to CC. You can see more information here. The serial baudrate is 115200 between RN174 and CC. I'm sending the packets using UDP at a 20ms rate. The RN174 have a PCB antenna and that is a weakness of course, will need to do a PCB with a SMA antenna. The following image ilustrates the connection between CC and RN.

http://dl.dropbox.com/u/6416035/Open.../cctorn174.png

I started design the joysticks in QML but couldn't install the toucharea components :s so to get multi-touch I design the joysticks with the Graphics View Framework and handled the touches with QTouchEvent.

http://dl.dropbox.com/u/6416035/Open.../applayout.png

The icon xD

http://dl.dropbox.com/u/6416035/Open...le/appicon.png

and the video:

http://www.youtube.com/watch?v=qSlEXp9ioLM&hd=1

You can download the project here: http://dl.dropbox.co...le/OPMobile.zip

You can get more information about openpilot/hardware side here: http://forums.openpilot.org/topic/10...-n950-meego-d/

zappAtom 2012-05-02 19:32

Re: [WIP] Control OpenPilot quadcopter Using N9/N950
 
Wow, cool! Haven't heared of this CopterControl Board yet! Nice project...I will keep an eye on it as I alwasy wanted to build an quadrocopterfor myself.

Estel 2012-05-02 20:02

Re: [WIP] Control OpenPilot quadcopter Using N9/N950
 
Very nice project. What about developing it in multiplatform way, i.e. for N900 also? It would be great to use build-in accelerometer for pitch angle, and leave screen for collective pitch only.

/Estel

metRo_ 2012-05-03 09:57

Re: [WIP] Control OpenPilot quadcopter Using N9/N950
 
Thanks :)

The next two things I want to do are:
1-A QML menu for settings and show data from the board;
2-Use the built-in accelerometer to control.

Quote:

Originally Posted by Estel (Post 1200968)
Very nice project. What about developing it in multiplatform way, i.e. for N900 also?
/Estel

The only problem now is that N900 doesn't support multitouch and different resolutions but the code only use Qt basics libs so I think it should compile to N900 without problems.

Quote:

Originally Posted by Estel (Post 1200968)
It would be great to use build-in accelerometer for pitch angle, and leave screen for collective pitch only./Estel

What do you mean with collective pitch?
I need to control 4 channels: throttle, yaw, roll and pitch. I'm thinking in the roll, pitch and yaw using the acc and throttle using the screen.

Estel 2012-05-03 14:41

Re: [WIP] Control OpenPilot quadcopter Using N9/N950
 
Exactly - collective pitch is term used for (real) heli's as throttle equivalent. Technically, Heli's wing is spinning at constant RPM no matter if he's flying or staying on ground - only the spin's angle changes, thus creating more or less drag. Of course, it also require more power from engines to maintain constant RPM.

In simple quadropter models, You're probably not changing pitch of spin's wings at all, but only its RPM, so You're right, it's purely throttle.
---

Thanks again for such awesome project. i think that lack of multi-touch isn't any problem - as You've said, accelerometer may be used for roll, pitch and yaw, while on-screen slider for throttle. It could work on N900 the same way.

I'm really eagerly waiting for results, despite not having any airframe to test right now :)

/Estel

metRo_ 2012-05-03 15:40

Re: [WIP] Control OpenPilot quadcopter Using N9/N950
 
Quote:

Originally Posted by Estel (Post 1201338)
In simple quadropter models, You're probably not changing pitch of spin's wings at all

Yes, in quadcopters you only need to change the RPM but are others options :p http://forums.openpilot.org/topic/94...-single-motor/

dumpystig 2012-05-03 17:17

Re: [WIP] Control OpenPilot quadcopter Using N9/N950
 
just had a quick look through the links in the first post - very interesting!

I may be getting into a new hobby for me and my lad (5) :)


All times are GMT. The time now is 15:09.

vBulletin® Version 3.8.8