I've been slowly building up and testing a more elaborate ground station, and I'm in the process of adding an antenna tracker.  The tracker I'm using has gearing up on the pan servo to extend the range, but does not on tilt.  Due to the gearing, the speed of panning and tilting are not the same, so I started looking for a way to more or less normalize them.

I'm using a Maestro servo controller, so the speed and accel parameters were the obvious way (to me) to start doing this.  I started looking for ways to change those parameters, and unless I'm missing something, the Maestro::Setup() routine appears to hard-code the pan and tilt speed and accel parameters (100 and 5, respectively).

Perhaps there's a simpler way to alter those parameters other than changing the hard-coded values, but I added pan and tilt speed/accel text fields to the antenna tracker screen, which are only enabled when the combo box selects Maestro.  I also took advantage of reading/writing the values set by the user to the config.xml file.  The values entered in those fields are sent via SendCompactMaestroCommand() in Maestro::Setup(), instead of the hard-coded values.

Are these changes of any interest (they aren't particularly large), or is this something I'm better off keeping a locally modified version for?  If there is interest, I've got the changes up on github...

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

Join diydrones

Email me when people reply –

Replies

  • I got Mission Planner to build in Visual Studio 2010 and I can run it from the debug folder. Is it possible to create a full .msi easily or should I just wait for the next version to be cut?
    • Yup, I did git a merge notice, hopefully that means it will be in the next release - but that's up to the MP folks.

      I haven't bothered with creating an install image, so I'd just wait unless you want to experiment for yourself.

  • It looks like your changes were incorporated. Thanks again! Now I just need to figure out how to build it.
  • I am just running in to this issue now.  I don't see anyway to change the speed and acceleration settings in MissionPlanner so I am guessing this change was never adopted?

    This is an issue when using tracker bodies such as the EagleTree one RMRC sells because the pan has a something like a 1:4 gear ratio so it really whips it around fast.

    • The RMRC tracker pan & tilt is exactly the reason I made the patch in the first place...

      I didn't get any indication of interest here, so I just used my own branch.  I can send you a patch if you'd like, after I verify that it still works okay.

      • Hi Mitch,

        I am surprised more people were not interested. I guess most people are using a 360 servo with an un-geared tracker body.  I would very much appreciate the patch if you can provide one, although I don't know how to apply it to MP. 

        Jeff

        • Ok, I'll try sending in a pull request to MP and see if the patch makes it in that way.  It's not exactly a large change.

          Might take a few days, no guarantee they'll take it though.

          • Thanks man, I really appreciate it.  Keeping my fingers crossed they do.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
12 hours ago
DIY Robocars via Twitter
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3: https://t.co/…
12 hours ago
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
12 hours ago
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch https://www.meetup.com/DIYRobocars/events/275268196/
yesterday
DIY Robocars via Twitter
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
Thursday
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Tuesday
DIY Drones via Twitter
Monday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
Jan 15
DIY Robocars via Twitter
Jan 15
DIY Drones via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Jan 14
DIY Robocars via Twitter
Jan 14
David Hori liked Isabella Domi's profile
Jan 12
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Jan 11
DIY Robocars via Twitter
RT @chr1sa: New car designs coming for our next @DIYRobocars @donkey_car virtual race on the 23rd. Choose any one you want at race time Le…
Jan 11
More…