Mission Planner - DO_SET_ROI modification request


For all those developers out there for Mission Planner, i would like to make a request regarding the setting of DO_SET_ROI.

The default action of setting multiple WayPoints in Mission planner is for a multirotor to face the next Way-point.
I know that you can set a "DO_SET_ROI" line to get the camera to point at a specific spot when moving.
However, that ROI is then thrown out for the next command unless you set another "DO_SET_ROI".

Some people have figured out that they can use a text editor to modify a waypoint file after it's been saved and cut-and-paste the ROI above all lines of, say a circle, in order to get the camera to point to the center of a circle when it is flying around it.

I would propose to add an ROI column to each new Waypont line in the Waypoint editor of Mission Planner.
The default setting could be nothing and then modified later on.

The user then could set-up multiple ROI's at the beginning of planning a mission and then reference each of those in the new column. (ie. ROI1, ROI2, ROI3...)

It would be nice to be able to select numerous Waypoints and change the ROI on all of them at the same time.

the C# code in Mission planner could then be written to properly format the ROI info from the new column so that it appears to the APM as if it was set like one line of "DO_SET_ROI" followed by a WAYPOINT line.

This would make setting up an Aerial Photography mission plan so much easier.

Terry

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

Join diydrones

Email me when people reply –

Replies

  • This seemed to be working fine before the last update and even one time after but now I can't seem to get it to work. So what is the exact method to do this.

    Say I have 2 waypoints 200ft away from each other and an ROI set in the middle of them off to the side. What is the correct way to get the APM to face the ROI? I tried it several times yesterday and it didn't seem to ever look at the ROI, just looked at the next waypoint.

  • For our photo missions we have set the default to "never change heading" rather than the "point at next waypoint".

    Does the ROI still reset after a waypoiint if you have the default set to never change heading?

  • Developer

    DO_SET_ROI functionality has been updated

    You'll see the functionality in the next version of the flight code.  Basically the ROI persists from waypoint to waypioint.

    http://copter.ardupilot.com/wiki/mission-command-list/#Do-Set-ROI

    • Craig,

      Thank you.

      Do you know when AC3.2 is due to be released?

      Terry

      • Developer

        Our plan is for a beta at the end of April, Testing in May and release in June just before the sparkfun AVC

This reply was deleted.

Activity