Not 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 servocity.com.
- 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.
Replies
We need to talk Randy into coming out with more Beta versions so we can find out what works and what does not. When he releases a beta version he needs to post his exact setup so we will have a starting set of parameters that’s known to work together. I have asked about gains and other things but never get any useful answers.
I am not a programmer but I do have time to do some beta testing. I have the Servo City mechanics (7:1) with a custom pinion gear to get me 360 on yaw. That works well with the Jakub0.7.2 custom firmware. With that firmware the two telemetry modem option is not supported. I solved that problem by using RFD900+ multi-point setup. It works well but would be a bit of a challenge for someone starting out from scratch.
.
It's certainly been a while since the last beta. Things are stabilizing these days and I actually do hope to do a beta release in the next two weeks which will just include logging of the baro data which should help us determine why some people's trackers always point down.
For beta testing it would be good if you could add a new parameter that allows selection of baro or GPS altitude and maybe a blend of the two. That way we could get a wider range of data to see what works and what does not.
What’s the key difference in the Jakub0.7.2 custom firmware that allows it to work where others don’t? I am not a code guy – maybe someone who has studied the code could enlighten me on that point.
.
I think the major difference between Jakub's version and master is that Jakub's uses the GPS altitude. I'm not sure though, I haven't actually seen the code.
It has been a while but as far as I remember there is no GPS altitude in this release. Most differences can be found in mode selection and servo operation. Generally there is nothing special in that firmware. I am unable to jump back to development of this code for now due to lack of tracker and lack of room for that (I recently moved to new appartment). As I always say - I will eventually get to it :)
excellent news and glad you'll find some time to help us out figuring antenna tracker, because we still have a long way to go !
The pitch bug is certainly high on the priority list but if we could just have this firmware working correctly for the basic features that are supposed to be included in this current version, I'd already be in heaven (to start with : parameters that do what they're supposed to do, like reversing a servo movement. I'm not even wishing a correct display of parameters on mission planner, we could do without or with another GCS).
To help with what I can which is not much I'm compiling some observations following my experiments with the firmware, that I'll post when ready (might take a few weeks)
Here a short video I made illustrating my current partial successful use of using the firmware,
I have a tracker that is working well but it has standard servos. I would like to put a continuous rotation on the yaw and keep my standard servo for pitch. Are there parameter settings that will allow this combo?
Also what’s the latest on firmware development? I have been using the custom firmware because the pitch never moves with the latest firmware.
.
Hello,
Trying deseperatly to make the antenna tracker firmware work, I succeeded so far to make use of SITL to simulate a vehicle to be able to test the real antenna tracker based on the simulated positions of the vehicle.
I use a AUAV-X2 boartd on the antenna tracker (same as Pixhawk) and an external compass. GPS position has been fixed for testing.
I found two blocking issues/bugs in the antenna tracker firmware (in addition to the already known blocking issue the pitch does not track at all):
I will have a look at the 360openTracker open source solution as an alternative.
Hugues,
I agree with your assessment and I'm glad that you were able to get SITL to simulate a vehicle and test the APM AT.
Hopefully, we just have to be patient and wait a bit longer. Priorities change so it is up to the community to find others that are interested in the project and have the skills to modify the code. Perhaps we will get lucky and Randy or Jacob will return. One other thing you might consider is to open a ticket with your findings using the Github Issue Tracker.
Hi Greg,
Will link this to the Github issue tracker. Thx for the suggestion.
I will compile a summary of my experiments. I can get the tracker to track but only in the positions limits of the servo (no reversal) (maybe it works better with continuous rotation servos ?) and had to discover by trial and errors what works and what does not, including a non documented way of how you physically have to position the external compass versus the moving plate, for the tracker to read a good heading (and I can tell you it is counter intuitive).
So half joy, but already glad I can track in a limited 180 degrees.
-
22
-
23
-
24
-
25
-
26
of 104 Next