Fun, Learning, Friendship and Mutual Respect START  HERE


Unregistered
Go Back   HeliFreak > R/C Electronics Support > Flight Stabilization


Flight Stabilization Flight Stabilization


Reply
 
LinkBack Thread Tools Display Modes
Old 01-06-2014, 02:59 PM   #1 (permalink)
Registered Users
 
Posts: 596
 

Join Date: Feb 2012
Default Is it possible to have the arducopter board control wheels?

I'm new to arduino, arducopter and multirotors, but have pretty long experience in building RC helicopters and 3D flying. I'm sorry if I write something wrong, please correct me if I do so.

I would like to build a tricopter that also is able to drive around on the ground. I would like to use two front wheels (futaba servos with wheels) on the landing gear and a uncontrolled rear following wheel. Is this possible to do using the arduino board in APM 2.6 or pixhawk, or would I need a separate arduino board.
__________________
-—-—
GAUI X5, Align 450PRO, Blade NCPX
togy is offline        Reply With Quote Quick reply to this message
Sponsored Links
Advertisement
 
Old 01-07-2014, 07:53 AM   #2 (permalink)
Registered Users
 
Posts: 3,070
 

Join Date: Nov 2010
Default

Well, it's certainly not covered in the existing code, but being open source, you can do whatever you want.

There is ArduRover code in existence already, and it would probably be easier to use two boards, one running Copter code, and the other Rover.
__________________
-Rob

Former Managing Director of Maxxum Robotics Inc.
R_Lefebvre is offline        Reply With Quote Quick reply to this message
Old 01-07-2014, 01:36 PM   #3 (permalink)
Registered Users
 
Posts: 596
Thread Starter Thread Starter
 

Join Date: Feb 2012
Default Is it possible to have the arducopter board control wheels?

Quote:
Originally Posted by R_Lefebvre View Post
Well, it's certainly not covered in the existing code, but being open source, you can do whatever you want.

There is ArduRover code in existence already, and it would probably be easier to use two boards, one running Copter code, and the other Rover.
Ok. Then I'll go for two boards. Could on of the boards be programmed to switch on the other?
__________________
-—-—
GAUI X5, Align 450PRO, Blade NCPX
togy is offline        Reply With Quote Quick reply to this message
Old 01-07-2014, 05:06 PM   #4 (permalink)
Registered Users
 
Posts: 3,070
 

Join Date: Nov 2010
Default

Sure, anything is possible. But that's not a standard thing in the code.
__________________
-Rob

Former Managing Director of Maxxum Robotics Inc.
R_Lefebvre is offline        Reply With Quote Quick reply to this message
Old 01-08-2014, 04:17 PM   #5 (permalink)
Registered Users
 
Posts: 596
Thread Starter Thread Starter
 

Join Date: Feb 2012
Default Is it possible to have the arducopter board control wheels?

Cool! A friend of mine have a lot of arduino programming experience so I may get help from him. Is the pixhawk software be open source?
__________________
-—-—
GAUI X5, Align 450PRO, Blade NCPX
togy is offline        Reply With Quote Quick reply to this message
Old 01-09-2014, 10:58 AM   #6 (permalink)
Registered Users
 
Posts: 3,070
 

Join Date: Nov 2010
Default

Yes, it's still open source. It's actually a unified code-base between the two systems. But compiling and uploading to Pixhawk is not done through the Arduino IDE and is a little more complicated.
__________________
-Rob

Former Managing Director of Maxxum Robotics Inc.
R_Lefebvre is offline        Reply With Quote Quick reply to this message
Old 01-12-2014, 03:38 AM   #7 (permalink)
Registered Users
 
Posts: 596
Thread Starter Thread Starter
 

Join Date: Feb 2012
Default Is it possible to have the arducopter board control wheels?

Quote:
Originally Posted by R_Lefebvre View Post
Yes, it's still open source. It's actually a unified code-base between the two systems. But compiling and uploading to Pixhawk is not done through the Arduino IDE and is a little more complicated.
Ok nice then ill go for pix hawk. I been considering the Y6 combo, but can't see any reviews. Is it a fairly new platform or how come? I can't see the pix hawk controller in stock either, is it in production?
__________________
-—-—
GAUI X5, Align 450PRO, Blade NCPX
togy is offline        Reply With Quote Quick reply to this message
Old 01-13-2014, 08:37 AM   #8 (permalink)
Registered Users
 
Posts: 3,070
 

Join Date: Nov 2010
Default

The Pixhawk is still in the initial release stage. It was supposed to be shipping in November or December, but has suffered a few delays. They have shipped some for pre-orders, but then got held up again for another week or so.
__________________
-Rob

Former Managing Director of Maxxum Robotics Inc.
R_Lefebvre is offline        Reply With Quote Quick reply to this message
Old 01-13-2014, 01:46 PM   #9 (permalink)
Registered Users
 
Posts: 596
Thread Starter Thread Starter
 

Join Date: Feb 2012
Default Is it possible to have the arducopter board control wheels?

Ok. I just emailed them asking them to put together the prize for what need. Let's hope they can deliver.
__________________
-—-—
GAUI X5, Align 450PRO, Blade NCPX
togy is offline        Reply With Quote Quick reply to this message
Old 01-14-2014, 07:56 PM   #10 (permalink)
Registered Users
 
Posts: 3,975
 
My HF Map location
Join Date: Dec 2009
Default

You don't need to bother, why go through all this trouble? Set aside a channel (lets call it AuxWheels) directly from the Rx to be connected to wheel servos. Create a mix with rudder signal (that goes to APM or Pixhawk or whatever contrloller you fancy) on the input and AuxWheels on the output, the mix percentage will be your wheel sensitivity. You're done.
__________________
Jerry
Trex 700N Pro fbl, 600N Pro x 2, 450SE v1, 250 v2 fbl, Compass 6HV fbl, Blade 450x, 400, 300x, 130x, mCPx, 120SR, mQx, mSR, Rotor Concepts HPQ1, Walkera CB180Q, CB100, Novus FP, CP, Esky Hunter, Big Lama.
jperkosk is offline        Reply With Quote Quick reply to this message
Old 01-15-2014, 08:36 AM   #11 (permalink)
Registered Users
 
Posts: 3,070
 

Join Date: Nov 2010
Default

There's some out of the box thinking. That should work with no/minimal code modification. If all you want is manual control of the wheels.

If you had a really good radio with flexible software (Taranis?) you could flip a switch, and have it change the right stick from controlling Ch1/2 to 7/8. Then use 7/8 direct output to the car functions.
__________________
-Rob

Former Managing Director of Maxxum Robotics Inc.
R_Lefebvre is offline        Reply With Quote Quick reply to this message
Old 01-29-2014, 03:03 PM   #12 (permalink)
Registered Users
 
Posts: 596
Thread Starter Thread Starter
 

Join Date: Feb 2012
Default Is it possible to have the arducopter board control wheels?

Thank you guys for the tips. The thing is that i want the Y6 to taxi on the ground to a polulu IR beacon. What stops me from making my order is that I can't figure our if I can give PPM inputs from a extra arduino nano to the pixhawk while still having normal ppm inputs from my receiver.
I think I'm pretty sure it would work with the old APM arduino based card but I of course want the latest and greatest hardware. As you hear I'm new to programming so sorry for sounding stupid.
__________________
-—-—
GAUI X5, Align 450PRO, Blade NCPX
togy is offline        Reply With Quote Quick reply to this message
Old 01-30-2014, 09:04 AM   #13 (permalink)
Registered Users
 
Posts: 3,070
 

Join Date: Nov 2010
Default

It would not be easy to make the Pixhawk take a second PPM stream. But, that's fine, because PPM doesn't really make any sense in this day and age, I wish we could get rid of it. But all the hobby radio control systems are stuck in the stone ages....

It would be easy(ish) to set up an I2C communication between the Nano and the Pixhawk, and that would be far superior in every way. Even serial UART would be better than PPM.

But you're still talking about quite a bit of software hacking. The beauty of these open systems is that ANYTHING is possible. But it's going to take work.
__________________
-Rob

Former Managing Director of Maxxum Robotics Inc.
R_Lefebvre is offline        Reply With Quote Quick reply to this message
Old 01-30-2014, 03:15 PM   #14 (permalink)
Registered Users
 
Posts: 596
Thread Starter Thread Starter
 

Join Date: Feb 2012
Default Is it possible to have the arducopter board control wheels?

Quote:
Originally Posted by R_Lefebvre View Post
It would not be easy to make the Pixhawk take a second PPM stream. But, that's fine, because PPM doesn't really make any sense in this day and age, I wish we could get rid of it. But all the hobby radio control systems are stuck in the stone ages....

It would be easy(ish) to set up an I2C communication between the Nano and the Pixhawk, and that would be far superior in every way. Even serial UART would be better than PPM.

But you're still talking about quite a bit of software hacking. The beauty of these open systems is that ANYTHING is possible. But it's going to take work.
Or maybe its easier to skip the arduino nano middle step and connect the IR transiver directly to the pixhawk and make some additions to the code.
I do have resources to help me out but this is to much fun - I would like to try my self to learn and to be more familiar with how these things actually work. Where should I start to read? Below is a more detailed description of how I want it to work:
1: Y6 makes a landing close to a "hangar"(IR beacon).
2: start "return to hangar" program from mission planner.
3: "return to hangar" consist of :
3.1 limit throttle to below hover power ~15%
3.2 rotate Y6 on ground (standing on wheels 2 fixed on front landing gears 1 free rotating on tail tail gear) towards IR beacon on "hangar". I think I will use the polulu pair of IR transivers
3.3 Forward flight (taxi on ground) towards beacon
4: a small bar on the ground next to the IR beacon prevents the craft from hitting the beacon.
5: stop "return to hangar" automatically after 15 seconds or by using some sort of switch when colliding with the bar next to the beacon.

I'm not sure where to start. I'm waiting for the Y6 v2 to be released so I can place a order but I want to do some preparation in advance.
__________________
-—-—
GAUI X5, Align 450PRO, Blade NCPX

Last edited by togy; 01-30-2014 at 04:37 PM..
togy is offline        Reply With Quote Quick reply to this message
Old 01-31-2014, 09:15 AM   #15 (permalink)
Registered Users
 
Posts: 3,070
 

Join Date: Nov 2010
Default

I'm not sure where to tell you to start. But the code is located here:

https://github.com/diydrones/ardupilot
__________________
-Rob

Former Managing Director of Maxxum Robotics Inc.
R_Lefebvre is offline        Reply With Quote Quick reply to this message
Old 01-31-2014, 01:32 PM   #16 (permalink)
Registered Users
 
Posts: 596
Thread Starter Thread Starter
 

Join Date: Feb 2012
Default Is it possible to have the arducopter board control wheels?

Ok I'll sit down with a arduino experienced programmer tomorrow to get going. If you have any suggestions or practical tips regarding to the list of steps in my previous post I'd be very thankful:-)
__________________
-—-—
GAUI X5, Align 450PRO, Blade NCPX
togy is offline        Reply With Quote Quick reply to this message
Reply




Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the HeliFreak forums, you must first register.
Please enter your desired user name, your REAL and WORKING email address and other required details in the form below.
User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself. Use a real email address or you will not be granted access to the site. Thank you.
Email Address:
Location
Where do you live? ie: Country, State, City or General Geographic Location please.
Name and Lastname
Enter name and last name here. (This information is not shown to the general public. Optional)
Helicopter #1
Enter Helicopter #1 type and equipment.
Helicopter #2
Enter Helicopter #2 type and equipment.
Helicopter #3
Enter Helicopter #3 type and equipment.
Helicopter #4
Enter Helicopter #4 type and equipment.

Log-in


Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Copyright © Website Acquisitions Inc. All rights reserved.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.

SEO by vBSEO 3.6.1