You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Plan screen's Fence list has a "Radius" parameter which accepts floating point numbers but seems to truncate them to integers. The issue can be reproduced by doing this:
Open MP and start the Simulator (Rover or Copter)
Open the Plan screen and select FENCE from the drop-down on the top right
Click on the map in a few places to create FENCE_CIRCLE_EXCLUSION fences (BTW, I think these string could be made more readable by changing to "Circle Exclusion" but I think I've already raised another issue about this)
Change a radius to "3.5" and press "Write"
Push the "Read" button to read back the fences and note that "3.5" has been changed "3".
I suspect that MP is changing this field to an integer because it is normally used for the "p1" parameter of commands which is always and integer. From what I can see the MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION message accepts floating points but please tell me if I'm wrong.
The text was updated successfully, but these errors were encountered:
The Plan screen's Fence list has a "Radius" parameter which accepts floating point numbers but seems to truncate them to integers. The issue can be reproduced by doing this:
I suspect that MP is changing this field to an integer because it is normally used for the "p1" parameter of commands which is always and integer. From what I can see the MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION message accepts floating points but please tell me if I'm wrong.
The text was updated successfully, but these errors were encountered: