figuring out the Antenna Tracker

3691139590?profile=originalNot many people know but we have an piece of open source software for controlling an Antenna Tracker.  It's been built by Tridge (Arduplane lead developer) for use in the outback challenge.

Sadly we have no documentation and, as far as I know, nobody except Tridge has used it.  Still given Tridge's track record on building great software I suspect it works well and if it doesn't, I'm sure we can fix it.  So to not let this piece of code go to waste, I'd like some help from people who are interested to give it a try and help me figure out how it works.

Here's the little that I know:

  • It runs on any of our supported board (APM1, APM2, PX4, Pixhawk, Flymaple and perhaps VRBrain)
  • For APM1/APM2 users building the code is as easy as opening our hacked ArduinoIDE and selecting File > SketchBook > Tools > AntennaTracker and then building in the normal way.  For PX4/Pixhawk, our autobuilder doesn't automatically build a binary but I can provide one if people are interested.
  • It can control a Pan and Tilt gimbal like this or this found on
  • It may or may not require a GPS
  • It must somehow receive vehicle position updates from the ground station which has the telemetry radio that is connected to the vehicle. Maybe through a USB cable.  Tridge probably uses the python ground station, MAVProxy, to passthrough the vehicle position data to the AT but perhaps we can get MichaelO to build out a similar feature in Mission Planner.
  • I imagine this antenna tracker could also be used to keep a camera focused on the vehicle which might be good for easing the burden on creating videos of our vehicles.

So if you want to give it a try please do and stick any findings, questions or issues below. Alternatively Issues can go into the issues list.

I'll start sticking things into the wiki as they become clear.

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

Join diydrones

Email me when people reply –


  • MR60

    Another issue I am blocked at in figuring out antenna tracker;

    I have the antenna tracker configured in proxy mode (copter linked via 3DR radio to <-> a pixhawk on the antenna tracker with a second radio connected to <-> mission planner).

    The antenna tracker firmware is the last 0.7x version.

    Both the copter and antenna tracker show up correctly on mission planner's map. All manual, scanning and test servo modes function correctly.

    The only issue I'm experiencing is with the Auto mode that tracks only in yaw, not in pitch.

    I tried to reset, to turn on copter and tracker in different chronological order, still same issue.

    The attached picture shows the status page, where "alt error" is at "infinite" value, which seems weird.

    I wonder if the baro altitude information from the copter is received by antenna tracker ? Is this a known bug ?

    • It may be possible that you don't really have the latest firmware as previous versions did have a pitch control issue. Try using the "Test" butttons on the Extended Tuning screen to manually position your pitch to verify operation. One other possiblity is that the copter is too close to the AT. You need a good 50 feet (15m) separation.

      • MR60

        Manual servo test are fine with the Pitch, it is only in Auto mode that it does not work.

        I have also configured the parameter that gives the minimum distance to begin tracking and have set it to one meter for my bench tests.

        Worse, Sometimes it works, sometimes it does not. It is like the Auto mode does not trigger in certain circumstances that are undefined and unexplainable.

        I worried that this firmware is still too green and needs to mature for a reliable functionning tracker.

    • I'm closely monitoring satellite antenna tracker project on They are on v3 now and have really nice designed hardware part, It is open source project and most components are 3D printable.


      Electronic part is simple and efficient. In V3 they started using geared DC motors instead of stepper motors which made whole thing more electrically efficient. I think we are having some common ground here. V2 is mounted inside of plastic box without the need for aluminium beams.

      Electronic for V3 is still work in progress, but basically whole thing is controlled with Arduino that can be installed on controller board. I guess that same Arduino with addition of GPS/compass module and 9dof imu can run mavlink, drive motors and serve as nice ground station antenna tracker for APM/PX powered vehicles. 


      On the other hand they are not using IMU/Compas sensors in their project as unreliable. Possibly they have to check few things at our forum about sensors calibration. It would be definitely nice to see Lead developers on both projects  communicate on the subject.

      Open Source global network of satellite groundstations
  • I have been working on the antenna tracking firmware version 0.7.3 for my senior design project. I can get a HITL working with a simulated plane and the antenna following it properly. But I can not get the antenna current heading to align with the direction to the next waypoint. The antenna's heading on mission planner is roughly 30 degrees off the actual antenna direction. I have tried adjusting the compass' yaw to account for this with no luck. Anyone else had this problem?

    • MR60

      I had a 180 degree offset between current heading and next waypoint; I solved it by adjusting (trial and error) the "reverse" parameter of RC1 and RC2. This cnages the direction of rotation of the picth and yaw servos. You have to find the right combination (4 possibilities)...

  • Hello,

    I've been looking for an answer to this question everywhere and was hoping someone would be able to help me. I had seen that the GPS module from 3dr apparently has a 1-2s lag time associated with it. This affects the GPS based tracking function built into mission planner.

    What I'm hoping to find out is:
    1. From anyone's experience is this lag time unavoidable (Sorry I know this isn't related to the AT firmware)
    2. Does this same lag find it's way into the alternative approach that is the AntennaTracker system? Or does it only rely on compass and elevation data to determine location without a GPS based lag?

    Any help from anyone with experience with either of the two systems would be greatly appreciated!:)

  • I just wanted to follow up:  We got the tracker to work just fine this summer with our PixHawk systems.  Many thanks to everyone in the forum for their advice!

    • Would you share your setup, changes you made to parameters, and sequence/order you connect things with the group. I'm still struggling. Thanks
  • MR60


    I do not succeed to make antenna tracker work. I repost here a question raised on APM forum as it seems to be the place for discussing AT matters.

    This is what I tried:

    I follow the wiki instructions to setup an antenna tracker, using a pixhawk (driving the antenna tracker servos). Firmware is installed and configured. This is a "proxy mode" setup with AT in the middle. My objective is to use AT for long distance telemetry link to the GCS.

    I used the connection scheme of the wiki with a 3DR radio link between the vehicle and the antenna tracker's pixhawk. And then I connect mission planner via usb cable to this pixhawk.

    I get in mission planner the icon of the antenna tracker on the map, I get all of the config menus of the antenna tracker.
    But I do not see anywhere the vehicle as if the antenna tracker was not connected to any vehicle.
    I tried CTRL+X to switch vehicles on the MP display but no joy : no copter in the drop down list, only antenna tracker.

    What did I miss ?

    Secondary question : what do these two parameters in the antenna tracker config params mean  : SYSID_TARGET, SYSID_THISMAV? Should I set them to specific values ? Why is SYSID_THISMAV to a value of 2 by default ? 


This reply was deleted.


DIY Robocars via Twitter
RT @a1k0n: @DanielChiaJH @diyrobocars @circuitlaunch Here's my car's view of that race. About 8.4 second lap times for laps 2 and 3... both…
DIY Robocars via Twitter
RT @DanielChiaJH: Great racing against @a1k0n today at @diyrobocars! Pretty cool to both break sun-9s at the track today I think I got very…
DIY Robocars via Twitter
Broadcasting the @circuitlaunch race live now at Races begin around 2:00pm PT
DIY Robocars via Twitter
RT @a1k0n: ran a huge number of hyperparameter tuning experiments yesterday; now I can train a new policy, far with better quality, in 15 m…
DIY Robocars via Twitter
RT @a1k0n: Did I get rid of hand-tuned parameters? Yes. Am I still hand-tuning more parameters? Also yes. I have a few knobs to address the…
Sep 26
DIY Robocars via Twitter
RT @a1k0n: I'm not going to spoil it, but (after charging the battery) this works way better than it has any right to. The car is now faste…
Sep 26
DIY Robocars via Twitter
RT @a1k0n: Decided to just see what happens if I run the sim-trained neural net on the car, with some safety rails around max throttle slew…
Sep 26
DIY Robocars via Twitter
Sep 24
DIY Robocars via Twitter
RT @SmallpixelCar: @a1k0n @diyrobocars I learned from this. This is my speed profile. Looks like I am too conservative on the right side of…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars Dot color is speed; brighter is faster. Yeah, it has less room to explore in the tighter part, and t…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: I'm gonna try to do proper offline reinforcement learning for @diyrobocars and throw away all my manual parameter tuning for the…
Sep 23
DIY Robocars via Twitter
RT @circuitlaunch: DIY Robocars & Brazilian BBQ - Sat 10/1. Our track combines hairpin curves with an intersection for max danger. Take tha…
Sep 22
DIY Robocars via Twitter
RT @SmallpixelCar: Had an great test today on @RAMS_RC_Club track. However the car starts to drift at 40mph. Some experts recommended to ch…
Sep 11
DIY Robocars via Twitter
RT @gclue_akira: 世界最速 チームtamiyaのaiカー
Sep 10
DIY Robocars via Twitter
RT @DanielChiaJH: Always a good time working on my @diyrobocars car at @circuitlaunch. Still got some work to do if I’m to beat @a1k0n howe…
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: My new speed profile for @RAMS_RC_Club track
Sep 10