Dependency of Waypoint Position and Loiter Position

Hi,
we want to send a boat in strong current to a defined position and to perform loiter unlimited at this position. We failed using mavlink command MAV_CMD_NAV_LOITER_UNLIM. (Error message = 3 Command or mission item is not supported, other commands would be accepted).

Therefore we we tried it as follows:

  1. Set Waypoint;
  2. SetMode Auto + Parameter LOITER_UNLIMITED.

Basically it works fine, but we assume that the waypoint coordinate we have set is not the same, as the coordinate of the center of the loiter radius.

If we approach the same position upriver, compared to downstream we see a significant difference of the position where the boat is loitering. We already tried different parameters for loiter and waypoint radius but we think it could be better if the loiter unlimited function would use the waypoint coordinates.

Any advice how to improve the accuracy is highly appreciated. Thank you in advance.

I am a little bit confused as to what you are saying. Are you just trying to send the boat to a certain location and have it loiter there forever? If so - that should be an easy auto mission. Can you send your .waypoints file that is sending back the error?

Yes what you describe “…Are you just trying to send the boat to a certain location and have it loiter there forever?..” is exactly what we want to do. It’s probably easier to explain with the drawing attached.
We expected that the center of the waypoint would be the center of the loiter radius but we noticed a significant difference. (We have loiter and waypoint radius set to 3m for a boat in strong current. The drawing shows different radius for better visibility only)