Closed allenthreee closed 8 months ago
@lmark1 can you take a look?
Hey @allenthreee,
You can try now. I updated Dockerfiles and build script.
Hey @allenthreee,
You can try now. I updated Dockerfiles and build script.
Thank you for your swift reply. The docker image works now. However, the UAV flies out of control after the gazebo simulation starts. The terminal output and gazebo are shown below, can you take a look :)
Hey @allenthreee,
It seems that the starutup folder is using an older parameter set for ardupilot.
I will get it sorted by the end of today. Thank you for your patience.
Hey @allenthreee,
It seems that the starutup folder is using an older parameter set for ardupilot.
I will get it sorted by the end of today. Thank you for your patience.
Hi, @lmark1 , Thank you for your help, may I ask have you upload the new params :)
@allenthreee
Please run the following command to update the base images:
docker pull lmark1/uav_ros_simulation:focal-bin-0.0.1
or if you're not using GPU
docker pull lmark1/uav_ros_simulation:focal-nogpu-bin-0.0.1
Then, run ./docker_build.sh
again, remove the existing icuas_competition container, and run ./docker_run.sh
.
I tried it out and it should be running as intended, i.e. UAV takes off some time after ./start.sh
is started.
@allenthreee
Please run the following command to update the base images:
docker pull lmark1/uav_ros_simulation:focal-bin-0.0.1
or if you're not using GPU
docker pull lmark1/uav_ros_simulation:focal-nogpu-bin-0.0.1
Then, run
./docker_build.sh
again, remove the existing icuas_competition container, and run./docker_run.sh
. I tried it out and it should be running as intended, i.e. UAV takes off some time after./start.sh
is started.
Hi @lmark1 ,
Thank you for your help, it works perfectly now.
Merry Christmas!
Hi @lmark1 ,
Thank you for your help, it works perfectly now.
Merry Christmas!
Good to hear! Merry Christmas! 😁
The error message is as follows:
/root/sim_ws/src/uav_ros_simulation/ros_packages/ardupilot_gazebo/scripts/run_copter.sh: "cat ${PARAM_PATH} >> ${IDENTITY_PATH}" command failed with exit code 1 [sim_vehicle_startup-1] process has died [pid 26799, exit code 1, cmd bash -c sleep 1.0; $0 $@ /root/sim_ws/src/uav_ros_simulation/ros_packages/ardupilot_gazebo/scripts/run_copter.sh kopterworx 1 /root/uav_ws/install/share/icuas24_competition/parameters/arducopter_nogps.params false false 50 gazebo-iris ArduCopter false --no-rebuild name:=sim_vehicle_startup log:=/root/.ros/log/2ca6768a-9f10-11ee-b33f-a4c3f0785be 5/sim_vehicle_startup-1.log]. log file: /root/.ros/log/2ca6768a-9f10-11ee-b33f-a4c3f0785be5/sim_vehicle_startup-1*.log all processes on machine have died, roslaunch will exit