Developer

Testing Ardupilot and Xplanes without a transmitter

 

The picture above is of the setup i use to test.

 

All the servo input signal wires are connected to the same row on the breadboard. and connected to ground

the Servo tester is pluged into the control channel to pick MANUAL, FBW and AUTO

The green cable is just to power the board, pulling from vcc on the FTDI and into VCC on the header next to the ftdi. also my ftdi is a 3.3v, but 5v will work just the same.

 

You must also modify the current SVN code - inside radio.pde

 

here is what i changed - change to a comment timer(1-3)diff

 

 //Filter Radio input
// timer1diff -= 46;
 ch1_temp = timer1diff * .5;


// timer2diff -= 38;
 ch2_temp = timer2diff * .5;

// timer3diff += 10;
 ch3_raw = timer3diff * .5;

 

What this code change does is make it so it does not change the time into the 32000's as - 46 from 0 on an unsigned int is large.

 

The rest is standard software setup. goto http://code.google.com/p/ardupilot/wiki/FlightSim to do your own.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer
    if you could turn off stick mixing in auto then it would work. but i dont think you can. also with autotrim enabled you realy do need a stable baseline.
  • Yello,

    if I want to test simulation AP without transmitter in AUTO mode only do I need to change this your's code and hardware?
    As I see it doesnt need. I think that code changes will be anought.
    Is your changes needs for MANUAL and FBW modes only?
This reply was deleted.

Activity

DIY Robocars via Twitter
Sep 9
DIY Robocars via Twitter
RT @chr1sa: We've got another virtual @DIYRobocars race tomorrow at 9:00am PT. Two dozen autonomous cars will compete, four at a time. Ther…
Sep 4
DIY Robocars via Twitter
Sep 1
DIY Robocars via Twitter
Aug 31
DIY Robocars via Twitter
Aug 31
sam liked Jimmy Oliver's profile
Aug 25
DIY Robocars via Twitter
RT @ExplorerRobocar: Sometimes, I am really a big kid!! Having fun with my virtual RC car on the @diyrobocars track 😜😉, by using the « AR R…
Aug 24
DIY Robocars via Twitter
RT @grepLeigh: @donkey_car @unity3d @TensorFlow ~1050 episodes into training, my agent learned to erratically drive in the left lane. 🤖😆 ht…
Aug 24
DIY Robocars via Twitter
RT @EclipseCyclone: Sweet! http://Robotec.ai high performance #ROS 2 @unity3d #CycloneDDS bridge for @AutowareFdn @SVLSimulator now…
Aug 24
DIY Robocars via Twitter
RT @a1k0n: My car had a lot of trouble getting around the track at the last @diyrobocars event -- only one actual finished lap during the r…
Aug 24
DIY Robocars via Twitter
RT @SmallpixelCar: This is the run time map https://t.co/VzykOkUt2G
Aug 24
DIY Robocars via Twitter
RT @SmallpixelCar: Made a lot progress on Warm Spring Raceways track. Almost finished one lap. https://t.co/nUVpufZQyP
Aug 24
DIY Robocars via Twitter
RT @AntonioRobotics: Super fun time seeing these autonomous cars race at @circuitlaunch for the @diyrobocars quarterly meet up! The demolit…
Aug 15
DIY Robocars via Twitter
RT @a1k0n: I thought my dumb localization code was still working at the new @circuitlaunch track, but it was just *barely* working. I shoul…
Aug 14
DIY Robocars via Twitter
RT @DAVGtech: Recording of entire in person @diyrobocars race today @circuitlaunch. Fast forward a couple hours to go straight to the racin…
Aug 14
DIY Robocars via Twitter
RT @SmallpixelCar: This is the run time map. Very noisy Lidar signal https://t.co/bAbeVUMi10
Aug 14
More…