Hi, I have been searching for info on some WP parameters, without success (wiki not updated and no mouse-over helptext).

Can anybody please explain how to use the following parameters:

  1. WP_MUST_INDEX
  2. XTRK_GAIN_SC
  3. Also I wonder about the "Hit Rad" column in Mission Planner. What is it for?

3690913566?profile=original

Thanks / Tomas

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    WP_MUST_INDEX is used internally to recover from Air-restart. It's the Current Waypoint basically. It's reset when entering a mission. Planes can reboot in the air and may need to continue their mission from the exact same point.

    XTRK_GAIN_SC is the crosstrack gain. By default it's one, but increasing it will cause a copter to turn harder towards the ideal line between two waypoints. Too high and you'll get lots of overshoot and a sin wav pattern in google maps between WPs.

    Hit rad - this is the param WP_RADIUS. It's the distance in CM you can be away from a WP to call it reached. You can however pass a WP and it will skip to the next. That's why it's small (100cm) by default.

  • Developer
    • WP_MUST_INDEX = this is an internal param for mission scripting
    • XTRK_GAIN_SC = xtrack gain
    • hit rad = im not sure on that one, jast must have implemented something like that.
This reply was deleted.

Activity

DIY Robocars via Twitter
Jan 28
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
Jan 23
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/…
Jan 23
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
Jan 23
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/
Jan 22
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
Jan 21
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Robocars via Twitter
Jan 18
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
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…