Hi, I am trying to run a basic script to move my rov forward. However it is not working.
The documentation mentions in the comments the following -
the default connection is available
# at ip 192.168.2.1 and the port 14550
# Note: The connection is done with 'udpin' and not 'udpout'.
# You can check in http:192.168.2.2:2770/mavproxy that the communication made for 14550
# uses a 'udpbcast' (client) and not 'udpin' (server).
# If you want to use QGroundControl in parallel with your python script,
# it's possible to add a new output port in http:192.168.2.2:2770/mavproxy as a new line.
# E.g: --out udpbcast:192.168.2.255:yourport
However i am unable to access http:192.168.2.2:2770/mavproxy. How else can i check which mavproxies are available. How do i run qgc and pymavlink at the same time.
from multiprocessing import Process
from pymavlink import mavutil
master = mavutil.mavlink_connection('udpin:192.168.2.1:14550')
master.mav.manual_control_send(master.target_system, 500, 0, 0, 0, 0)
p = Process(target=forward)
I just saw this under pirate mode should the values for these parameters be? Also after extensive research could the problem be that i have specified udpin:192.168.2.1:14550 when it should be 0.0.0.0:14550 in my code? I also don’t need to create an endpoint for the default 14550 baudrate right?
You should have a GCS Client Link endpoint to UDP port 14550 available automatically, which is what QGC generally connects to. Note that network connections require specifying a port - “baudrate” is for connecting to serial devices.
If you want to add an additional similar endpoint for connecting to with Pymavlink then the best option is creating an additional UDP Client, with a different port to the ones already in use, e.g.
Thank you much eliot im using the latest version of the blue os beta which i think is 1.01. The reason why i thought the 192.168.2.1 port in the code was wrong was because when i type HTTP://192.168.2.1/network it doesn’t open the blue os page and gives me an error but when i type companion.local it opens up the page.