# Question about AP\_GPS\_MAVLINK and Auto missions

**URL:** <https://discuss.bluerobotics.com/t/question-about-ap-gps-mavlink-and-auto-missions/878>\
**Category:** DIY ROVs\
**Created:** [March 28, 2017, 4:05pm UTC](https://discuss.bluerobotics.com/t/question-about-ap-gps-mavlink-and-auto-missions/878 "2017-03-28T16:05:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cvkdean](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/cvkdean/32/829_2.png) [@cvkdean](https://discuss.bluerobotics.com/u/cvkdean)\
**Post date:** [March 28, 2017, 4:05pm UTC](https://discuss.bluerobotics.com/t/question-about-ap-gps-mavlink-and-auto-missions/878/1 "2017-03-28T16:05:30Z")

</div>

Good day to you all.

We are currently making our own ROV using a four thruster setup with a Pixhawk and Raspberry Pi loaded with the ArduSub firmware. There is some progress achieved since the ROV is currently manually operational, complete with video feed via an RPi camera. The ROV works with the Manual and Stabilize flight modes, and we’re about to test the DepthHold flight mode once the depth sensor arrives.

Now, we are attempting to make the ROV have autonomous capabilities, and we came across this article about the [merging of the ArduSub code into the main ArduPilot repository](http://bluerobotics.com/big-step-forward-ardusub/) back in February, and there is a bit of discussion with the addition of the AP\_GPS\_MAVLINK class, which enabled short autonomous missions via QGC. However, the link to the class, [AP\_GPS\_MAVLINK](https://github.com/bluerobotics/ardusub/blob/master/libraries/AP_GPS/AP_GPS_MAVLINK.h), seems to be empty. We would like to know more about the options to have the capability to do autonomous missions with the ROV, even simple motions like diving, going from point A to B, etc. Does the ArduSub platform currently support autonomous missions for users, or is still in development?

Thank you!

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [March 28, 2017, 4:17pm UTC](https://discuss.bluerobotics.com/t/question-about-ap-gps-mavlink-and-auto-missions/878/2 "2017-03-28T16:17:59Z")

</div>

Auto mission functionality has been implemented, but is still under development, not all MAV\_CMDs will be accepted. You will need an external underwater positioning system (a GPS antenna won’t work) to use any of the auto functionality of ArduSub.

-Jacob

---

<div class="post-metadata">

**Author:** ![cvkdean](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/cvkdean/32/829_2.png) [@cvkdean](https://discuss.bluerobotics.com/u/cvkdean)\
**Post date:** [March 28, 2017, 6:03pm UTC](https://discuss.bluerobotics.com/t/question-about-ap-gps-mavlink-and-auto-missions/878/3 "2017-03-28T18:03:18Z")

</div>

Thank you for the reply. What positioning system do you recommend to integrate into the system? We are currently looking into short baseline acoustic positioning. Also, where can I find a list of the MAV\_CMDs that are functional with the autonomous functionality?

---

<div class="post-metadata">

**Author:** ![jwalser](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/jwalser/32/2234_2.png) [@jwalser](https://discuss.bluerobotics.com/u/jwalser)\
**Post date:** [March 28, 2017, 9:08pm UTC](https://discuss.bluerobotics.com/t/question-about-ap-gps-mavlink-and-auto-missions/878/4 "2017-03-28T21:08:31Z")

</div>

I would recommend that you keep a close eye on our store in the coming weeks :). Otherwise, you will need to make sure that whatever system you buy will be capable of integration with the BlueROV2, this basically means that it needs to use a documented protocol and a modern communication interface.

As to a list of MAV\_CMDs that are supported or unsupported, there is not a reference available for this functionality in ArduSub yet, as it is still under development, and changes day to day. This will be documented with the release of ArduSub-3.5 (hopefully before the end of April). I can let you know the current status of development if you are interested in any functionality in particular.

-Jacob

* * *

Edit: I mentioned the BlueROV2, but meant that you need a system that will be compatible with _ArduSub_.

---

<div class="post-metadata">

**Author:** ![cvkdean](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/cvkdean/32/829_2.png) [@cvkdean](https://discuss.bluerobotics.com/u/cvkdean)\
**Post date:** [March 29, 2017, 1:38am UTC](https://discuss.bluerobotics.com/t/question-about-ap-gps-mavlink-and-auto-missions/878/5 "2017-03-29T01:38:20Z")

</div>

I see. I guess we’ll wait for the updates in the store :).

Yes, we appreciate knowing some of the functionalities’ current status of development. Particularly, we are interested with forward/backward motions and turning motions or yaw.

---

<div class="post-metadata">

**Author:** ![piercet](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/piercet/32/856_2.png) [@piercet](https://discuss.bluerobotics.com/u/piercet)\
**Post date:** [March 29, 2017, 10:53pm UTC](https://discuss.bluerobotics.com/t/question-about-ap-gps-mavlink-and-auto-missions/878/6 "2017-03-29T22:53:06Z")

</div>

How much space will this positioning thingy take in which housing? Also how much should we plan to budget for it?
