# Recomended Complete ROV Control package?

**URL:** <https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164>\
**Category:** Blue Robotics Products\
**Created:** [December 26, 2015, 8:34am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164 "2015-12-26T08:34:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![maleche1](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@maleche1](https://discuss.bluerobotics.com/u/maleche1)\
**Post date:** [December 26, 2015, 8:34am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/1 "2015-12-26T08:34:52Z")

</div>

My ROV will arrive this Monday! (yay!)

Can anyone provide a build of materials for the ROV Control?

ANY suggestion will be appreciated. I want to get this up and running fast!

I just purchased a Raspberry Pi B+ with camera.

Should I get the PixHawk, or APM or ???

Thanks in advance!

Doyle

---

<div class="post-metadata">

**Author:** ![tciii](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tciii/32/673_2.png) [@tciii](https://discuss.bluerobotics.com/u/tciii)\
**Post date:** [December 27, 2015, 5:48am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/2 "2015-12-27T05:48:54Z")

</div>

@Doyle,

Presently I believe that the software package is designed to work with the APM2.6.

Regards,

TCIII

---

<div class="post-metadata">

**Author:** ![rjehangir](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/rjehangir/32/671_2.png) [@rjehangir](https://discuss.bluerobotics.com/u/rjehangir)\
**Post date:** [December 28, 2015, 4:55am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/3 "2015-12-28T04:55:13Z")

</div>

Hi Doyle,

I think it’s time to put together a roadmap for the BlueROV software and electronics moving forward. Our basic plan is to write the majority of the code on the APM so that it can act as a standalone ROV controller or in tandem with the Raspberry Pi for more advanced features.

I’ll add a link here to a separate post about the roadmap once we put that together.

Best regards,

Rusty

---

<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:** [December 30, 2015, 5:00pm UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/4 "2015-12-30T17:00:57Z")

</div>

I have modified the ArduCopter-3.2.1 code for the APM2.x to implement stabilization instead of just passing through controls as in the bluerobotics fork. I just uploaded to a board today, and the results are promising… it appears to work. So far I have the ACRO and STABILIZE modes modified. Next up will be depth hold, and I also want to do a mode to maintain a constant height above bottom.

I still need to test it in the water to tune the control loops and to find the proper motor mix.

I think that using ROS on raspberry pi and offloading control to the APM is a very decent solution. I plan on using the RC\_OVERRIDE message through mavlink to inject the rc signals. Without the pi, it will be more complicated to get the rc signals from topside into the APM.

The unfortunate thing about the APM2.x is that it is no longer supported or sold, you can only get clones. I got an “APM2.8” on EBay, but it came without a compass on the board, which is not necessary, but will help with control and navigation. They have moved on to PixHawk 32bit platform. I have also modified the PixHawk code. I’ll get a Pix and see how that goes.

The APM code is huge and there are a ton of checks and balances that may need to be addressed. I think I have modified the major points, but I am going to sift through everything to avoid unexpected behavior.

> **[GitHub - jaxxzer/ardupilot-rov: Ardupilot for underwater ROVs](https://github.com/jaxxzer/ardupilot-rov)**
>
> Ardupilot for underwater ROVs. Contribute to jaxxzer/ardupilot-rov development by creating an account on GitHub.

The apm code is in ArduCopter-3.2.1 branch, I will be modifying heavily in the coming weeks and modifying the ros package to choose flight modes.

&nbsp;

---

<div class="post-metadata">

**Author:** ![tciii](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tciii/32/673_2.png) [@tciii](https://discuss.bluerobotics.com/u/tciii)\
**Post date:** [December 31, 2015, 2:37am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/5 "2015-12-31T02:37:30Z")

</div>

@Jacob,

How many Thrusters does you modified code control?

Does it provide for lateral movement as well as yaw?

How do you propose to implement depth control?

Regards,

TCIII AVD

---

<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:** [December 31, 2015, 6:33am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/6 "2015-12-31T06:33:39Z")

</div>

The code is configured for the bluerov, with 6 outputs.

I have 6 input channels

3 to control attitude,: roll,pitch, yaw

3 to move laterally in the body frame: move forward/backward, up/down, strafe.

the inputs are mixed with stabilization control and sent to the motors.

Depth control will be a modification of the current alt\_hold mode, I first need to integrate support for MS5803 pressure sensors.

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![rjehangir](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/rjehangir/32/671_2.png) [@rjehangir](https://discuss.bluerobotics.com/u/rjehangir)\
**Post date:** [December 31, 2015, 8:54am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/7 "2015-12-31T08:54:09Z")

</div>

Jacob,

This is fantastic! This is very similar to what we are planning to do with the APM. Very nice!

Best,

Rusty

---

<div class="post-metadata">

**Author:** ![tciii](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tciii/32/673_2.png) [@tciii](https://discuss.bluerobotics.com/u/tciii)\
**Post date:** [December 31, 2015, 10:55am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/8 "2015-12-31T10:55:37Z")

</div>

@Jacob,

Most modern ROVs use 4 vectored horizontal Thrusters to move forward, backwards, in yaw and laterally and two vertical Thrusters for depth control.

Regards,

TCIII AVD

---

<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:** [December 31, 2015, 11:01am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/9 "2015-12-31T11:01:38Z")

</div>

Figured out how to pass through the mavlink connection through raspberry pi to ground control station running topside. the ground control station can be used to view artificial horizion, and all telemetry data in a ui. This also provides a ui to alter many, many parameters of the autopilot. This gui can be used concurrently with the rqt ui provided in bluerov-ros-pkg.

Tested working with apmplanner2 and qgroundcontrol on ubuntu 14.04 workstation.

---

<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:** [December 31, 2015, 11:06am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/10 "2015-12-31T11:06:27Z")

</div>

@TCIII

Can you please provide a link to the configuration you are describing.

The apm code allows you to assign each motor a factor in roll, pitch, and yaw, and also mixes in the thrust, climb, and strafing control on top. I am developing this for a specific application, but I think that it is easily adaptable to any motor configuration. The apm2.x supports 8 different pwm outputs. You can send the same command to two motors with a y splitter servo cable. For more pwm outputs we will need the pixhawk.

---

<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:** [December 31, 2015, 1:31pm UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/11 "2015-12-31T13:31:38Z")

</div>

I have successfully made modifications to the bluerov ros package, but I am not sure on how to keep that synchronized between git and the ros workspace, working on that.

I was testing before with a rc receiver connected directly to apm, now it’s working with xbox input through ros. Arms, stabilizes, disarms.

---

<div class="post-metadata">

**Author:** ![tciii](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tciii/32/673_2.png) [@tciii](https://discuss.bluerobotics.com/u/tciii)\
**Post date:** [December 31, 2015, 2:52pm UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/12 "2015-12-31T14:52:28Z")

</div>

@Jacob,

Attached is a top view of a standard vectored thrust ROV configuration.

Regards,

TCIII AVD

 ![](https://us1.discourse-cdn.com/flex019/uploads/bluerobotics/original/1X/81546b3d75ec27cfbe8a39e5c3afe8e3b5c162df.jpg)

---

<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:** [December 31, 2015, 3:21pm UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/13 "2015-12-31T15:21:40Z")

</div>

How do you pitch? I think that frame could be adapted, do the motors move or are they fixed at those angles?

---

<div class="post-metadata">

**Author:** ![tciii](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tciii/32/673_2.png) [@tciii](https://discuss.bluerobotics.com/u/tciii)\
**Post date:** [January 1, 2016, 1:39am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/14 "2016-01-01T01:39:00Z")

</div>

@Jacob,

The Thrusters are fixed at 45 degrees to the ROV Chassis longitudinal axis, but can be adjusted to a shallower angle if necessary.

Pitch can be somewhat accomplished by using the horizontal Thrusters in combination with the vertical Thrusters.

Regards,

TCIII AVD

---

<div class="post-metadata">

**Author:** ![rjehangir](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/rjehangir/32/671_2.png) [@rjehangir](https://discuss.bluerobotics.com/u/rjehangir)\
**Post date:** [January 1, 2016, 5:21am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/15 "2016-01-01T05:21:33Z")

</div>

Jacob and Tom,

Yeah - we’d like to support the vectored configuration in the future since it is the most common arrangement for work-class ROVs. With the vectored arrangement, you actually don’t have pitch control. It’s 5 degree of freedom. These ROVs have to be built in such a way that they are statically stable in pitch, usually by keeping the center of buoyancy well above the center of mass. A camera tilt mechanism is usually used for pitch control of the camera.

Jacob, are you running your modified ArduPilot code on an APM or PixHawk. I believe you started with the codebase after the point where the APM2.6 is no longer supported, correct?

Best,

Rusty

---

<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:** [January 1, 2016, 7:50am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/16 "2016-01-01T07:50:18Z")

</div>

I am running modified ArduCopter-3.2.1 on APM2.6. I have also made modifications to newer code that no longer supports APM, but I do not have a PX4 to test.

The vectored thruster configuration, and in fact, any configuration is adaptable. You just identify each thruster’s contribution to motion in each of 6 DOF.

My goal is to drop it in the pool tomorrow to test stabilization.

---

<div class="post-metadata">

**Author:** ![jonnyhas4](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@jonnyhas4](https://discuss.bluerobotics.com/u/jonnyhas4)\
**Post date:** [January 2, 2016, 12:00am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/17 "2016-01-02T00:00:57Z")

</div>

Hi guys, having just started back up in my rov build after stopping and moving on to multi-copters I have been flying using apm2.6 I would really like to use this or similar for control my layout is another common (2 thrusters for fwd/rev yaw 1 for lateral / strafe movement 1 for up/down), I also have noticed a good package for depth n heading sensor in open rov bolt on sensor, can this communicate with apm i2c then via Malink to osd? I am proceeding with control using my turnigy 9x then pwm to ppm converter for now.

&nbsp;

regards John

---

<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:** [January 2, 2016, 12:53am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/18 "2016-01-02T00:53:18Z")

</div>

The ms5803 sensor can be used for pressure sensing, and the pressure can be displayed in the gcs, I am working on it. Are you putting your rc receiver inside the rov?

---

<div class="post-metadata">

**Author:** ![tciii](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tciii/32/673_2.png) [@tciii](https://discuss.bluerobotics.com/u/tciii)\
**Post date:** [January 2, 2016, 2:07am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/19 "2016-01-02T02:07:32Z")

</div>

@John,

You might want to reconsider using the APM2.6 because 3DR will no longer be manufacturing the APM2.6 and I consider them to be the only really reliable source of the APM2.6.

I would not trust my ROV at 100 ft in depth to a HK or other clone knockoff APM due to their poor quality control and possible use of counterfeit ICs.

Clearly there is movement towards the Linux environment for ROV control using the likes of the [BBBMINI](http://diydrones.com/group/bbbmini) or the RPi with the [PXfmini](http://diydrones.com/profiles/blogs/pxfmini-an-open-autopilot-shield-for-the-raspberry-pi-zero) cape.

Regards,

TCIII AVD

---

<div class="post-metadata">

**Author:** ![jonnyhas4](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@jonnyhas4](https://discuss.bluerobotics.com/u/jonnyhas4)\
**Post date:** [January 2, 2016, 3:36am UTC](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164/20 "2016-01-02T03:36:03Z")

</div>

@jacob, the rc recever will be in the top control unit feeding into a ppm converter then down twp to another ppm - pwm converter to the speed controllers, I know this is not ideal solution but will start with this, good thing is all the mixing is done on the transmitter and is very easy to setup 😀.

&nbsp;

@TCIII, my HK apm has been working really good for over a year now, lot more to lose in the air than in the water, I am still open minded as to what to use for control, I originally had bought njs552’s Nick’s control system in kit form but struggled to get it to work with my limited soldering skills ( should have bought pre-made one but got frustrated and sidelined with work )

&nbsp;

cheers john

[Next page](https://discuss.bluerobotics.com/t/recomended-complete-rov-control-package/164.md?page=2)
