# BluROV2 awesome!

**URL:** https://discuss.bluerobotics.com/t/blurov2-awesome/424
**Category:** BlueROV2
**Created:** [August 14, 2016, 4:01pm UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424 "2016-08-14T16:01:56Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![andyman\_sf](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@andyman\_sf](https://discuss.bluerobotics.com/u/andyman_sf)
#### Post date: [August 14, 2016, 4:01pm UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/1 "2016-08-14T16:01:56Z")

</div>

Well I got my bluerov2 and assembled. I have to say theres some amazing engineering going on here. But I do have 1 thing I should bring up. The props are held in by 2 metric socket screw. They are not that tight from the factory. Make sure you remove all the screws , threadlock them, and tighten them up. Otherwise I have no problems.

I do have one question. What is the T - hose for? Looks like its for venting or filling?

---

<div class="post-metadata">

### Author: ![model14](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@model14](https://discuss.bluerobotics.com/u/model14)
#### Post date: [August 14, 2016, 11:58pm UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/2 "2016-08-14T23:58:36Z")

</div>

Andy,

Keep us posted on the electronics and control setup. There are so many posts on here indicating significant difficulty in getting the control systems to operate correctly. I have been hesitant to leave my homebrew project USR2 for a BlueROV because of this. Documentation seems to change on a daily basis.

Richard

---

<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: [August 15, 2016, 1:23am UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/3 "2016-08-15T01:23:40Z")

</div>

@andy,

You need to be careful using thread locker where plastic parts are involved as thread locker can dissolve plastic.

Regards,

TCIII AVd

---

<div class="post-metadata">

### Author: ![andyman\_sf](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@andyman\_sf](https://discuss.bluerobotics.com/u/andyman_sf)
#### Post date: [August 15, 2016, 4:43am UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/4 "2016-08-15T04:43:20Z")

</div>

Ok I figured out what the hose is for. Its just for a vacuum check to ensure the enclosure isn’t leaking. Thanks for having the forethought to include that. Beats removing the electronics and dropping it to depths for real world checking (which is a complete waste of time too).

&nbsp;

Regarding the electronics, I’m still waiting for my battery so no testing for me until I get that. But as for the software, it looks pretty straightforward. Loading the raspberry pi image, then loading the ArduSub firmware to the pixhawk. Install QGroundControl and then do some magic and you should be set.

Looks like the directions mainly point to a lot of feature riched sites and it can get confusing. Especially with the state of changes. I’ll see if I can write a quick tutorial to get it going (of course this is coming from someone who has never touched an ROV before but have a EE background and can write code).

Just one question for the bluerobotics guys, for the ardusub firmware, I see PX4-bluerov but is there going to be PX4-bluerov2 firmware ? Or is it the PX4-vectored / PX4-vectored6dof ?

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![andyman\_sf](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@andyman\_sf](https://discuss.bluerobotics.com/u/andyman_sf)
#### Post date: [August 15, 2016, 5:28am UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/5 "2016-08-15T05:28:36Z")

</div>

Just an update.

Looks like everything you need is really on

[http://ardusub.com/introduction/#overview](http://ardusub.com/introduction/#overview)

But for the firmware for the pixhawk, you’ll need ArduSub-v2-vectored.px4 (could be already loaded if you ordered the advance kit) Don’t load the 6-DOF , that is for an 8 thruster config.

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![stretch](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@stretch](https://discuss.bluerobotics.com/u/stretch)
#### Post date: [August 15, 2016, 11:27pm UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/6 "2016-08-15T23:27:26Z")

</div>

@Richard - I think some of the issues people ran into with the software was because both qGround Control and ArduSub were still a “work in progress”. It worked, but required several work arounds to configure it properly and the documentation was rather sparse. I know, I had the very first beta kit. 😉 Fortunately, Rusty et al have made huge progress on the software and it is considerably easier to configure than before and it includes features you’d only find on some very high end ROVs. I recommend you give it a try, it’ll be worth the effort. 🙂

---

<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: [August 16, 2016, 2:39am UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/7 "2016-08-16T02:39:06Z")

</div>

Hi Andy,

Thanks for the post! Sounds like you’re figuring everything out. We’re working on the documentation every day trying to make it clearer and easier. If there’s anything that’s missing or unclear, please let me know and we’ll get it resolved right away.

There’s a lot of stuff going on and it’s pretty complicated overall, so it’s difficult to write clear instructions and include everything without making it super long.

-Rusty

---

<div class="post-metadata">

### Author: ![andyman\_sf](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@andyman\_sf](https://discuss.bluerobotics.com/u/andyman_sf)
#### Post date: [August 16, 2016, 4:23am UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/8 "2016-08-16T04:23:20Z")

</div>

Ok I got it working last night pretty quickly. I spent most of my time debugging network issues but I’m not going to get into that. Here is some rough directions to quickly get it up and going if you have the Advanced BluRov2 with pixhawk, raspberry pi, lights, and a mac.

I tried changing the IP address to something other then 192.168.2.2 (was going to put it on my local land) but it looks like the software is hard coded to send its output via UDP broadcast to 192.168.2.255 and video is also sent to 192.168.2.1 . So unless I modify some of the code (which I may end up doing) your best to just leave it at 192.168.2.2 for now until you get it up and running.

&nbsp;

High level overview:  
PX4 controls the ROV -\> Raspberry Pi Proxies PX4 via USB/serial and converts  
to Ethernet -\> FathomX just converts ethernet to 1 pair of wires -\> Host  
computer with QgroundControl that is the client side software for control and  
viewing.

Downloads:  
for the Pixhawk autopilot  
[http://firmware.ardusub.com/Sub/latest/PX4-bluerov/](http://firmware.ardusub.com/Sub/latest/PX4-bluerov/)  
use the ArduSub-v2-vectored.px4 file  
for the raspberry pi  
[http://img.ardusub.com/ardusub-raspbian.img.gz](http://img.ardusub.com/ardusub-raspbian.img.gz)  
for the PC  
[https://s3-us-west-2.amazonaws.com/qgroundcontrol/builds/master/QGroundControl.dmg](https://s3-us-west-2.amazonaws.com/qgroundcontrol/builds/master/QGroundControl.dmg)

1. raspberry pi 192.168.2.2/24 eth0 -\> FathomX –\> teather wire -\> FathomX -\> Ethernet 192.168.2.1/24 on host  
apply power directly from battery to both fathemx. You may use a spare pair of wire on the teather cable.

2. Ensure there is link light on the fathomX and raspberry pi. If having  
trouble with links, I recommend you hook up HDMI cable to raspberry pi along  
with keyboard and start troubleshooting.

3. Once the network is working, you can ssh [pi@192.168.2.2](mailto:pi@192.168.2.2)  
or ping 192.168.2.2 from host

4. software comes preloaded but you should update… This next step assumes your sharing internet connection from your Mac between the public network interface and the private one with 192.168.2.1.

ssh [pi@192.168.2.2](mailto:pi@192.168.2.2)  
not sure what git repo is shipped with the rov but mine had a few missing files like flash\_px4.py. to fix:  
mv companion companion.orig  
git clone [GitHub - bluerobotics/companion: Companion computer startup scripts and examples](https://github.com/bluerobotics/companion.git)  
git --work-tree=/home/pi/companion --git-dir=/home/pi/companion/.git pull origin master  
sudo apt-get update  
sudo apt-get upgrade  
sudo rpi-update  
sudo apt-get install python-dev python-pip  
sudo pip install dronekit dronekit-sitl # also installs pymavlink  
sudo pip install mavproxy  
sudo apt-get install gstreamer1.0

1. update the px4 firmware with vectored bluerobotics firmware file  
[http://firmware.ardusub.com/](http://firmware.ardusub.com/)  
you must use qgroundcontrol.app to upload firmware. flash\_px4.py isn’t really that reliable.  
ensure your rov is unplugged and connect a usb cable to your computer  
directly to the pixhawk4

2. launch qgroundcontrol  
Sensors -\> Accelerometer -\> Autopilot orientation -\> Roll90  
Parameters -\> ARMING\_CHECK Disabled  
BRD\_SAFETYENABLE Disabled  
Power -\> Analog Voltage and Current  
Battery Capacity -\> 10000mah  
Power sensor: Power module 90A  
Flight modes -\> flight mode 1 -\> Manual  
flight mode 2 -\> Stabilize  
flight mode 3 -\> Depthhold  
camera -\> gimbal tilt -\> output channel 10  
Input channel RC8  
Servo Reverse check  
gimbal angle limits min -45 max 45  
servo pwm min 800 max 2200  
gimbal settings -\> type - \> servo  
default mode -\> RC targeting

Parameters -\>  
RC7\_FUNCTION RCIN9 \<— if you have lights setup  
ATC\_ACCEL\_Y\_MAX Disabled  
PILOT\_VELZ\_MAX 50 cm/s  
PILOT\_ACCEL\_Z 50 cm/s/s  
ATC\_RAT\_YAW\_FILT 30

---

<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: [August 16, 2016, 9:38am UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/9 "2016-08-16T09:38:12Z")

</div>

Hi Andy,

Thanks for the write-up! This is helpful and I’ll incorporate some of this into the main instructions. I have a few comments also:

1. I see you moved the “companion” folder and made a new one. That’s fine if you want to back up, but you can also just enter companion folder and run “git pull” to get the most recent version.

2. All of the other setup instructions, like installing mavproxy and dronekit is already done on the SD card that comes with the Advanced Electronics Kit. You shouldn’t have to do that.

3. flash\_px4.py, in my experience, is very reliable, but sometimes you have to wait for it to get access to the Pixhawk. Sometimes it takes 30-45 seconds before it starts programming. I just wrote this script a few weeks ago so there may be ways to improve that still.

4. Also, just a quick note, the mavproxy is set up to send to 192.168.2.255, which means it will broadcast to all addresses that start with 192.168.2. The video gets really slow when it is broadcast so it is only sent directly to the host computer at 192.168.2.1.

Let me know if you think of any other helpful tips that you’ve found!

-Rusty

---

<div class="post-metadata">

### Author: ![andyman\_sf](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@andyman\_sf](https://discuss.bluerobotics.com/u/andyman_sf)
#### Post date: [August 16, 2016, 10:17am UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/10 "2016-08-16T10:17:18Z")

</div>

Rusty, fyi I did a git pull and it didn’t pull down the files I was expecting. I think the repo that its pointing to is different ( I didn’t actually try to debug this.) As shipped there is no flash\_px4.py and git pull didn’t help.

flash\_px4.py for me was extremely unreliable. I was able to flash it through qgc with 1 try. With flash\_px4.py I tried for 15 min doing all kinds of things. I’d be happy to setup vpn and gotomeeting or something and let you have at it but qgc is the sure way to get it to work.

Regarding the network. I’m ok with 192.168.2.255 broadcast and unicast for video. I think you did the right thing. Not everyone is a network engineer so keep it simple.

However if you had 1 script where I can feed it host IP, bluerov2 IP, netmask, and gateway, I would be eternally grateful. The reason is I could simply plug the ROV into my network at home and be able to access it via the local network. And without changing my IP I could also just pick everything up and take it to my boat. The ROV would also be online so no need to share internet connections and nat thru a host computer. No big deal if you don’t do this, I can probably hack up a script to do just that. The only part I don’t like is I would have to maintain this script if there was any code changes on your side.

&nbsp;

Anyway looking forward to getting this thing in the water. Not sure what to expect in San Francisco but I’ll test this right outside the golden gate bridge when the weather conditions are better. So far I’m extremely happy with this and for anybody else worried about getting the electronics going, don’t. Its easy.

&nbsp;

&nbsp;

&nbsp;

&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: [August 16, 2016, 10:35am UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/11 "2016-08-16T10:35:03Z")

</div>

Andy,

Thanks for the response. I’m not sure why git pull didn’t work. It should be referenced to the right repo. The flash\_px4.py file was added recently so it won’t show up until after the git pull.

I’m also curious why flash\_px4.py wasn’t working well for you. I’ve uploaded with it ~50 times but mostly on one setup. I’m not sure if there could be any differences between setups that cause that.

In the future we’ll probably have a graphical tool in a web browser that can be used to adjust IP and streaming settings to make this easier. It’s also possible to set up the wifi network so that it connects to wifi when you have it at home. That might help.

Thanks!

-Rusty

---

<div class="post-metadata">

### Author: ![noreply](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/noreply/32/1406_2.png) [@noreply](https://discuss.bluerobotics.com/u/noreply)
#### Post date: [August 18, 2016, 9:00am UTC](https://discuss.bluerobotics.com/t/blurov2-awesome/424/12 "2016-08-18T09:00:12Z")

</div>

Thanks for sharing your build experience Andy! I just received my kit. It was packaged well and the engineering work does look amazing as you described. Getting started on my building now.
