Thomas Hays
  • Male
  • Stillwater, OK
  • United States
Share Twitter

Thomas Hays's Groups

Thomas Hays's Discussions

Compiling ardupilot 2.63 in arduino for HIL use.

Started this discussion. Last reply by Josh Potter Nov 22, 2012. 14 Replies

I've been using the APM planner HIL hex files with great success over the past few days.  I've become familiar with the system, changing gains, making my own xplanes, even doing some python scripting…Continue

 

Thomas Hays's Page

Latest Activity

Josh Potter replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"Jim you are my hero,I've been struggling with the same problem as Thomas. By golly I'm going to update the wiki."
Nov 22, 2012
Thomas Hays replied to Yoni Saltzman's discussion How can I modify the "STABILIZE" flight mode using arduino code?
"You'll have to download and compile your own firmware for the autopilot.  This link explains how to do it with the arduino programmer: http://code.google.com/p/ardupilot-mega/wiki/Programming and a previous forum post I was involved with…"
Sep 26, 2012
Thomas Hays replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"Works for me as well.  I had always been able to compile without errors... but my RC setup just wouldn't work in APM planner.  Now I'm able to compile the code and have things work normally.  It was either something with…"
Sep 24, 2012
Lincoln replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"I tried a 3rd computer using the latest 2.65 code and it worked perfectly, no errors.  So I imagine I have leftover stuff perhaps in the environment variables or something that is killing it on the other computers.   So my final steps were…"
Sep 24, 2012
Jim DeMarchi replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"Ok, figured it out!!! Needed to edit APM_Config.h and set the variable: #define CONFIG_APM_HARDWARE APM_HARDWARE_APM2 "
Sep 23, 2012
Jim DeMarchi replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"Same problem here:Hardware: APM 2.5, external uBlox GPSBoard selection: Arduino Mega 2560 or Mega ADKEverything works when I upload Mission Planner's default/latest Arducopter 2.7.3 using Mission Planner.However, not so lucky when compiling.…"
Sep 23, 2012
Lincoln replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"Also, I didn't mean to hijack the thread - -  I have the same problem as you.  When I upload the newly compiled code using arduino's environment the plane doesn't react to RC transmitter or anything.  Had to use the…"
Sep 22, 2012
Lincoln replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"A valid APM_Config.h didn't make any difference.  FYI"
Sep 22, 2012
Lincoln replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"No- mine was a completely new install.  Am on Windows 7, 64bit. 1) Fresh, new install of Arduino 1.01 2) Fresh copy of ArduPlane-2.63.zip - unzipped into my D:\ArduPlane-2.63 3) Ran Arduino as administrator. 4) Changed preferences in…"
Sep 22, 2012
Thomas Hays replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"Do i have to enable anything to see these warnings?  When I compile it shows no errors in the Arduino IDE"
Sep 22, 2012
Lincoln replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"Man, I wish I saw that 1.0.1 was fine long ago. Just downloaded arduino 1.0.1, downloaded the 2.63 zip source.  Copied "libraries" from the source to arduino.  it did compile and make a hex file.  Had a slew of out of range…"
Sep 22, 2012
Thomas Hays replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"thanks Martin, glad to know I'm not alone in this issue.  I tried compiling 2.5 yesterday for my APM 2.0 but the APM planner would not connect to the ardupilot when using 2.5.  I will investigate using 2.5 further tonight when i have…"
Sep 22, 2012
Martin Poller replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"Hi Thomas, I have managed to compile Arduplane 2.5 HIL version and fit it on to my APM1 1280 using arduino IDE, I didn't use the relaxpatch version, I think I used version 1.0.1, but earlier versions work as well. Was able to carry out some…"
Sep 22, 2012
Thomas Hays replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"http://diydrones.ning.com/profiles/blogs/arduino-1-0-1-out-now-compiles-arducopter-arduplane-natively reference that post.  I'm using Arduino 1.0.1 as mentioned above.  And it's not a compilation problem (at least is not…"
Sep 22, 2012
Lincoln replied to Thomas Hays's discussion Compiling ardupilot 2.63 in arduino for HIL use.
"I'm just now trying to do this as well.  Mine doesn't work yet either, however, some previous postings said that Arduino 1.0 is not supported; to use version 23 or 22 with patch. Now I've tried those and can't get it to…"
Sep 22, 2012
Thomas Hays posted a discussion

Compiling ardupilot 2.63 in arduino for HIL use.

I've been using the APM planner HIL hex files with great success over the past few days.  I've become familiar with the system, changing gains, making my own xplanes, even doing some python scripting to switch gain "modes"  BUTnow that my goals require that I modify the firmware I am unable to get a locally compiled version of arduplane working with APM planner.proper board selected in arduino V 1.0.1libraries located as described in the tutorial, and path updated in arduinoarduino compiles and…See More
Sep 22, 2012

Profile Information

About Me:
PhD Student in Aerospace Engineering at Oklahoma State University
Tell us a bit about your UAV interest
Bachelors (2007) Oklahoma State - Aerospace and Mechanical Engineering

Masters (2009) Oklahoma State - Aerospace and Mechanical Engineering

PhD (~2014) Oklahoma State - Aerospace Engineering with specialty in UAS.

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service