HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Nov 26, 2010, 03:06 AM
Registered User
Mheeli's Avatar
Bangkok, Thailand
Joined Jul 2002
220 Posts
Quote:
Originally Posted by Buffythesaint View Post
It Flies!!!!!!!. It had to be "ardrone_048218". Remember to use the " ". I was able to bring it up in a hover. Go up/down, left/right and fore/aft and land. It is very sensitive. I'll be trying lower rates and expo. I'll also flatten out the throttle curve. It doesn't take much off centre to climb. I need the sticks less sensitive. If all goes well, I'll post some indoor flight video this Friday. This is exciting!!. Thanks Mheeli for all your hard work, much appreciated.

Cheers, Brian.
That's quick, congrat! Video please.

As for the sensitivity, I use Ar.Freeflight to set the max values. I played around with max values in Ar.Freeflight. The values below works quite well. You can then further fine tune the exponential values on your Tx.



For the dead zone values. You can edit the value in the user_config.h file to your liking. Towards the bottom where it says "Mid stick dead zone" The higher the values the bigger the dead zone.
Mheeli is offline Find More Posts by Mheeli
Reply With Quote
Sign up now
to remove ads between posts
Old Nov 26, 2010, 03:09 AM
Registered User
Mheeli's Avatar
Bangkok, Thailand
Joined Jul 2002
220 Posts
Quote:
Originally Posted by Buffythesaint View Post
Mheeli.

Can I use my flightrecord app to record my flight and use my rc tx at the same time?
I do not have flight record app, so cannot comment. But I used the latest version of Ar.Freeflight in "Unpair" mode. Worked OK for a few minutes then it stopped. Will need to investigate a bit further.
Mheeli is offline Find More Posts by Mheeli
Reply With Quote
Old Nov 26, 2010, 03:17 AM
Registered User
Joined Nov 2010
65 Posts
Quote:
Originally Posted by Mheeli View Post
Next project. UAV Ar.Drone with return to Launch capability ....
Very interested to this project.
I'm seeking for an application with GPS based PID algorithm (send AT commands AT*PCMD to UDP port 5556).
Such application source code can be compiled and run either on YellowJacket or on AR.Drone as both of them are based on UDP Socket programming.

Currently, I'm able to attach a GPS onto the serial port of AR.Drone, and receive GPS NMEA data from /dev/ttyPA0.

The difficulty of the GPS based PID algorithm is: need to know the heading direction and Yaw (need to know the geomagnetic north), so AT*PCMD can be used to guide AR.Drone to the target Waypoint).
MAPGPS is offline Find More Posts by MAPGPS
Last edited by MAPGPS; Nov 26, 2010 at 03:41 AM.
Reply With Quote
Old Nov 26, 2010, 03:45 AM
Registered User
Mheeli's Avatar
Bangkok, Thailand
Joined Jul 2002
220 Posts
Quote:
Originally Posted by MAPGPS View Post
Very interested to this project.
I'm seeking for an application with GPS based PID algorithm (send AT commands AT*PCMD to UDP port 5556).
Such application source code can be compiled and run either on YellowJacket or on AR.Drone as both of them are based on UDP Socket programming.

Currently, I'm able to attach a GPS onto the serial port of AR.Drone, and receive GPS NMEA data from /dev/ttyPA0.
Welcome to Rc Groups MAPGPS. Your Ar.Drone java apps helped me a lot.

I've written a program that's running inside my other Ar.Drone. The program reads commands from /dev/ttyPA0 and then send UDP AT* commands to the local host of the drone. So it's possible to write a program and read the NMEA from GPS then command the Drone to a fix way point and back to launch.

But we need to be able to manually control the drone at the same time. So this is what I was thinking.

Tx -> Rx -> [Arduino mini with GPS module] -> Ar.Drone serial port.

For the GPS PID , I'm studying some of source code at diydrones.com

Very difficult to understand though. I did not pay much attention to my math teacher at school.
Mheeli is offline Find More Posts by Mheeli
Reply With Quote
Old Nov 26, 2010, 04:43 AM
Registered User
Joined Nov 2010
65 Posts
To be able to manually control the AR.Drone at the same time, an alternative is:
Tx -> Rx -> YellowJacket -> Ar.Drone WiFi --\
GPS module -> Ar.Drone serial port ----------\---> on-drone app -> AT Commands processor (program.elf)

The on-drone app will listen on UDP port 15556, and mix the AT commands received from WiFi YellowJacket and GPS NMEA data received from serial port.

It can also use iPhone WiFi control at the same time with aboves:
Setup NAT on AR.Drone to redirect UDP port 5556 into 15556:
iptables -t nat -A PREROUTING -i ath0 -p udp --destination-port 5556 -j DNAT --to 192.168.1.1:15556
MAPGPS is offline Find More Posts by MAPGPS
Reply With Quote
Old Nov 26, 2010, 08:10 AM
Registered User
Joined Feb 2005
2,694 Posts
Quote:
Originally Posted by Mheeli View Post
That's quick, congrat! Video please.

As for the sensitivity, I use Ar.Freeflight to set the max values. I played around with max values in Ar.Freeflight. The values below works quite well. You can then further fine tune the exponential values on your Tx.



For the dead zone values. You can edit the value in the user_config.h file to your liking. Towards the bottom where it says "Mid stick dead zone" The higher the values the bigger the dead zone.
Do I need to unpar again to get my iPhone to work or just power up drone(no power to rx/yellojacket) and it should connect?
Buffythesaint is online now Find More Posts by Buffythesaint
Reply With Quote
Old Nov 26, 2010, 08:19 AM
Registered User
Mheeli's Avatar
Bangkok, Thailand
Joined Jul 2002
220 Posts
Quote:
Originally Posted by Buffythesaint View Post
Do I need to unpar again to get my iPhone to work or just power up drone(no power to rx/yellojacket) and it should connect?
no need to unpair to connect from iPhone. Just do not supply power to your Rx/YJ.

After finished flying with your iPhone, just unpair it once to connect with YJ.
Mheeli is offline Find More Posts by Mheeli
Reply With Quote
Old Nov 26, 2010, 07:12 PM
Registered User
Mheeli's Avatar
Bangkok, Thailand
Joined Jul 2002
220 Posts
A very boring video of the Ar.Drone controlled from an RC Tx. The latest sketch allows the drone to be finely controlled.

Ar.Drone in a garden - Controlled by R/C Tx (2 min 54 sec)
Mheeli is offline Find More Posts by Mheeli
Reply With Quote
Old Nov 26, 2010, 11:06 PM
Registered User
Joined Feb 2005
2,694 Posts
WooooooHooooooo!!!! This thing rocks. I had three 8 minute flights tonight(850 mahs used out of 1300). The first flight was to check various rates and expo. I ended up seting up the drone with Mheeli's iphone settings. I also used full travel on all channels with 30% expo on pitch and roll only. The video is the second flight. On the third flight, I powered it all up and then started my flightrecord app on my iPhone. It connected and I had live video. I hit the record button and took off. It came up in a hover and then landed again. I had no rc control. It didn't like both systems running. I repowered the drone and had a good flight, no probs. I did notice when sticks were let go, the drone took a little longer to get a fixed hover position.

Enjoy the video, it was blast, well spent money, Brian.

RC Parrot AR Drone (8 min 27 sec)
Buffythesaint is online now Find More Posts by Buffythesaint
Reply With Quote
Old Nov 27, 2010, 12:07 AM
Registered User
Joined Mar 2010
1,231 Posts
Quote:
Originally Posted by Buffythesaint View Post
WooooooHooooooo!!!! This thing rocks. I had three 8 minute flights tonight(850 mahs used out of 1300). The first flight was to check various rates and expo. I ended up seting up the drone with Mheeli's iphone settings. I also used full travel on all channels with 30% expo on pitch and roll only. The video is the second flight. On the third flight, I powered it all up and then started my flightrecord app on my iPhone. It connected and I had live video. I hit the record button and took off. It came up in a hover and then landed again. I had no rc control. It didn't like both systems running. I repowered the drone and had a good flight, no probs. I did notice when sticks were let go, the drone took a little longer to get a fixed hover position.

Enjoy the video, it was blast, well spent money, Brian.

http://www.youtube.com/watch?v=rG-m9iB6yQg
Hi Buffythesaint,

Can i talk you into selling your rc drone?
It would be great if i can get an TX version off the shelf.

Cheers
FlyingMcCoy is offline Find More Posts by FlyingMcCoy
RCG Plus Member
Latest blog entry: Indoor 3d
Reply With Quote
Old Nov 27, 2010, 03:36 AM
Registered User
Mheeli's Avatar
Bangkok, Thailand
Joined Jul 2002
220 Posts
Quote:
Originally Posted by Buffythesaint View Post
It connected and I had live video. I hit the record button and took off. It came up in a hover and then landed again. I had no rc control. It didn't like both systems running. I repowered the drone and had a good flight, no probs.
That's what happened to me as well. Need a bit more time to look into this.

As for the Drone takes more time to do position hold, can you test with a wider throttle dead zone. I did not noticed it took longer than my iPod to do position hold.

BTW, thank you for your feedback during your mod. I will update the instructions with your findings.
Mheeli is offline Find More Posts by Mheeli
Reply With Quote
Old Nov 27, 2010, 04:18 AM
Registered User
Mheeli's Avatar
Bangkok, Thailand
Joined Jul 2002
220 Posts
Brian, would mind if I put your video on my first post? Yours really show how smooth the Ar.Drone can be flown by a conventional RC sticks and a skillful pilot
Mheeli is offline Find More Posts by Mheeli
Reply With Quote
Old Nov 27, 2010, 08:47 AM
Registered User
Joined Feb 2005
2,694 Posts
Quote:
Originally Posted by Mheeli View Post
Brian, would mind if I put your video on my first post? Yours really show how smooth the Ar.Drone can be flown by a conventional RC sticks and a skillful pilot
NP Mheeli. It flies 100% better. It's so smooth now, not jerky like when I used my iPhone. I can try a bigger dead zone. I haven't looked at the config file, but can you adjust each axis dead zone or is one adjustment for all?

Brian.
Buffythesaint is online now Find More Posts by Buffythesaint
Reply With Quote
Old Nov 27, 2010, 09:44 AM
Registered User
Mheeli's Avatar
Bangkok, Thailand
Joined Jul 2002
220 Posts
Quote:
Originally Posted by Buffythesaint View Post
NP Mheeli. It flies 100% better. It's so smooth now, not jerky like when I used my iPhone. I can try a bigger dead zone. I haven't looked at the config file, but can you adjust each axis dead zone or is one adjustment for all?

Brian.
Thanks.

You can adjust individual axis to your liking.
Mheeli is offline Find More Posts by Mheeli
Reply With Quote
Old Nov 27, 2010, 01:52 PM
Registered User
Joined Feb 2005
2,694 Posts
Quote:
Originally Posted by FlyingMcCoy View Post
Hi Buffythesaint,

Can i talk you into selling your rc drone?
It would be great if i can get an TX version off the shelf.

Cheers
Sorry, but I'm keeping my Drone. It's flying so well that I don't want to start over. You can fly the drone without an i device. If you had a friend with a phone/pad, you could set it up that way and then fly with a regular rc tx. Once it's setup, your good to go.

Mheeli. Not sure when I'll get to changing my config file. Indoor flying only now, once a week. We have snow now and no way will I fly outdoors with all that WET stuff around. I'm going to install a 72mhz rx and try a test. If that goes well, I will add a 5v camera and 5v 10mw 2.4 video tx, powered from the bec for my rx/YJ. I'm estimating 30g's more. The rc setup will work better for FPV.

Do you have anything in your sketch that will make the Drone land if I lose rx signal(no analog signals to YJ)?

Brian.
Buffythesaint is online now Find More Posts by Buffythesaint
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Parrot AR.Drone range extension, need help from antenna gurus. g00bd0g FPV Talk 4 Jan 21, 2011 02:29 PM
Wanted Parrot ar drone ROCKY2 Aircraft - Electric - Helis (FS/W) 23 Nov 07, 2010 10:08 AM
Discussion Who’ s the Russian model in AR.DRONE vid? Naev Electric Heli Talk 8 Oct 12, 2010 03:32 PM
Discussion AR.Drone to carry camera gunnar-rc Aerial Photography 2 Sep 07, 2010 10:52 AM
Discussion Unboxing and First Impressions With the Parrot AR.Drone nikotttin Multirotor Talk 0 Aug 31, 2010 05:50 AM