I was wondering if there was a simple built in way of streaming the GPS data of the plane out of Mission Planner into Plugin software to drive a RS-232 Antenna Tracker system?
The info that is needed is Latitude, Longitude, and Altitude. I have a friend that is willing to write a basic Plugin to communicate the info to the serial-Servo driver.
If this info streamable from Mission Planner that would make it easier.
Any insight into this would be helpful...
Michael, Thanks for your quick reply. Now I explain what I need.
Current pan servo's movement, e.g. clockwise direction:
--0～360 degree（or less, I don't know the exact end point of the software), clockwise. Fine
--360+1 degree, counter-clockwise move, and back to 1 degree. Tracking lost during the back movement.
What I wanna:
--0～360 degree（or less, I don't know the exact end point of the software), clockwise rotation
--360+1 degree, clockwise, move to 1 degree positon directly, without back that 359. continous rotation
--360+179 degree, clockwise, continous rotation
--360- 180 degree, counter-clockwise, back rotation
leave all the other axis as "none" and set 5 and 6 to the axis fo the joystick. to check it open "raw sensor view" so you can see if its working. it might be a setting for the output on apm thats not working
I got it working but the countinuous rotation servos have no center since the pot is removed so they will not ork for this operation. :( but I had a 180 and a 90 deg servo that I have in it till i find a better alternative.
Thanks for all your help and support.
is there a way to stop the servos from returning to center when you let go of the stick in the software that is? a setting in the param, or something like that?
you can adjust the channels trim value to find the center.
the servos do have a center, you just need to find what pwm that is and set that as your trim value for that axis
I think Michael is right - there has to be a center point because the servo must still have position feedback (earlier you mentioned the pots were removed). If there's no position feedback, then how would the s/w be able to tell the servo where to point or how far to move? Even if it was initialized with a known servo position or direction, it seems to me the servo would quickly get out of sync with where the controller was telling it to point. Plus, I'm sure the s/w isn't set up for an 'open-loop' servo like that. If your servos truly have the pots removed, then you would have to add pots somewhere else on the antenna mount and connect them to the servo amplifiers where the original pots were connected. Or am I totally missing what you're saying?
Michael, i think i'm missing something about the antenna tracker... How does it know the GPS position of the antenna in order to follow the plane turning around it ? Is there a setting to define the postion of antenna ?
it uses your home position. so make sure thats is where the antenna tracker is located.
if you let the ap init, then just drag the homer position in the flight planner screen, it will dynamicly move.
Thanks Michael... This antenna tracker is brilliant!... amazing feature.