osrf / mbzirc

Simulator for the MBZIRC Maritime Grand Challenge
Apache License 2.0
72 stars 47 forks source link

Regarding the usage of Robotic Arm in Docker Setup #198

Open samunaai opened 2 years ago

samunaai commented 2 years ago

As specified on the [README.md] of the main page, we should ideally be able to run the same code from either a source installation, or from a docker setup, and obtain the same result. We observed a simple problem when trying to spawn a Robotic arm-equipped USV:

ros2 launch mbzirc_ign spawn.launch.py name:=usv world:=coast model:=usv x:=-1462 y:=-16.5 z:=0.3 R:=0 P:=0 Y:=0 arm:=mbzirc_oberon7_arm gripper:=mbzirc_oberon7_gripper

We checked the docker side of things, using 2 completely different machines, and observed the same behaviour Could you kindly check from your end to see if this issue of spawning a robotic arm with above mentioned command is reproduced? Warm regards,

ros2 launch mbzirc_ign spawn.launch.py name:=usv world:=coast model:=usv x:=-1462 y:=-16.5 z:=0.3 R:=0 P:=0 Y:=0

iche033 commented 2 years ago

hi, I tested the latest docker image from dockerhub but I'm not able to reproduce the issue. Maybe try removing the docker images you have locally and pull from dockerhub again? In my testing, I removed any old docker images from the osrf/mbzirc repo (docker rmi -f <image>) before pulling the latest version from dockerhub. I ran the command you have for spawning the USV and the arm and I was able to see the USV and the arm.