I'm trying to replicate the error in this post to help a coworker but I can't get my head around it.
Basically, when launching apm_sitl the following manner:
< include file="$(find mavros)/launch/apm_sitl.launch" >
<arg name="fcu_url" value="udp://127.0.0.1:14551@" />
<arg name="gcs_url" value="" />
<arg name="tgt_system" value="1" />
<arg name="tgt_component" value="1" />
My colleague gets the follwoing error:
[FATAL] [1530614431.591097132, 26.102500000]: FCU: DeviceError:udp:bind: Address already in use
================================================================================REQUIRED process [uav/mavros-1] has died!
process has finished cleanly
log file: /home/avgi/.ros/log/5bf6e9ee-7ead-11e8-8303-844bf591bb91/uav-mavros-1*.log
Which is weird because with the same versions of the same packages and gazebo and ROS, I don't get the error. Everything just launches normally.
Any ideas what might be happening?