I have an orangepi zero that I want to connect to a ROS instance running on my desktop to play around with manual control on PX4.
I have followed some instructions here but they appear not to work for me. The orangepi always says that there is no roscore
running.
I searched and searched and I came across this page that seems to provide correct instructions.
I did it like in the below-mentioned procedure and the orange pi seems to recognize the ROS instance running on my desktop.
Master
export ROS_MASTER_URI=http://192.168.0.157:11311
export ROS_IP=192.168.0.157
roscore
Orange pi
export ROS_MASTER_URI=http://192.168.0.157:11311
export ROS_IP=192.168.0.207
rostopic list
and now I get
/rosout
/rosout_agg
You can also put the first two lines in ~/.bashrc
but then you have to have a static IP address for both the machines.