Open cnpcshangbo opened 3 years ago
Try to run the two services separately. sitl works well; mavros has fatal errors: "FCU: DeviceError:url:Unknown URL type" Question: Why MAVROS shows a bash interface?
bo@bo-desktop ~/code/docker-mavros-jetson (master) $ docker-compose run mavros
Creating docker-mavros-jetson_mavros_run ... done
root@bef9494f77cf:/opt/ros/melodic/share/mavros#
[FATAL] [1616165067.384940174]: FCU: DeviceError:url:Unknown URL type
================================================================================
REQUIRED process [mavros-2] has died!
process has finished cleanly
log file: /root/.ros/log/90f4df72-88c1-11eb-b35a-0242ac150004/mavros-2*.log
Initiating shutdown!
================================================================================
To check docker-compose yml and dockerfile. https://github.com/docker/compose/issues/4189#issuecomment-274915631 Trying $${URL}
bo@bo-desktop ~/code/docker-mavros-jetson (master) $ docker-compose run mavros
Creating docker-mavros-jetson_mavros_run ... done
root@83fc5b08fa4f:/opt/ros/melodic/share/mavros#
[FATAL] [1616166269.338395443]: FCU: DeviceError:serial:open: No such file or directory
================================================================================
REQUIRED process [mavros-2] has died!
process has finished cleanly
log file: /root/.ros/log/5dcc2dbe-88c4-11eb-be6e-0242ac150004/mavros-2*.log
Initiating shutdown!
================================================================================