# \[Autonomous BlueROV2\] MavLink/Ardusub help

**URL:** <https://discuss.bluerobotics.com/t/autonomous-bluerov2-mavlink-ardusub-help/1761>\
**Category:** Blue Robotics Software\
**Tags:** positioning, sitl, simulate\
**Created:** [November 19, 2017, 1:22pm UTC](https://discuss.bluerobotics.com/t/autonomous-bluerov2-mavlink-ardusub-help/1761 "2017-11-19T13:22:46Z")\
**Posts on this page:** 1\
**Showing post:** 36

<div class="post-metadata">

**Author:** ![acayulao](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@acayulao](https://discuss.bluerobotics.com/u/acayulao)\
**Post date:** [January 22, 2018, 4:41pm UTC](https://discuss.bluerobotics.com/t/autonomous-bluerov2-mavlink-ardusub-help/1761/36 "2018-01-22T16:41:43Z")

</div>

Hi,  
I was reading and I would like do something similar.  
I want start to run this [script](https://gist.githubusercontent.com/patrickelectric/17093de541b533c9afd7fb57e2c96a91/raw/13e43c36466fed9c08309f34fc78034243673329/simple_mavtester.py) directly in the RPi from the BlueROV2, without lose the telemetry and video in QGC.  
But when I do, the script remains frozen and only I see this result:

"  
pi@raspberrypi:~ $ python test\_auv.py  
Waiting for APM heartbeat  
"

The script to split the telemetry is for default:

"  
# this starts mavproxy so that the serial link to the companion computer (on /dev/ttyACM0)  
# is available to a companion computer and external GCSs via UDP. This broadcasts so that  
# multiple IP addresses can receive the telemetry.

# For PixHawk or other connected via USB on Raspberry Pi  
cd /home/pi  
mavproxy.py --master=/dev/serial/by-id/usb-3D\_Robotics\_PX4\_FMU\_v2.x\_0-if00,115200   
–source-system=200   
–cmd=“set heartbeat 0”   
–out udpin:localhost:9000   
–out udpbcast:192.168.2.255:14550  
"

I try change in my code of ‘test mavlink messages’ with:  
master = mavutil.mavlink\_connection(‘udp:localhost:14550’)  
or  
master = mavutil.mavlink\_connection(‘udp:192.168.2.1:14550’)  
or  
master = mavutil.mavlink\_connection(‘udp:192.168.2.2:14550’)  
or  
master = mavutil.mavlink\_connection(‘udp:localhost:9000’)

But, none works.  
Can you help me please?  
Thanks a lot!  
Greetings!

---

_[View the full topic](https://discuss.bluerobotics.com/t/autonomous-bluerov2-mavlink-ardusub-help/1761)._
