Closed Serarguy closed 8 months ago
Did you figure out this issue? I am having a similar problem.
@machineIntelligence I fixed it but I did not find the exact fix or the reason why I encountered this issue.
What I did was a reinstall of ros2, also a fresh VM, but the issue was still there. I did killall gzserver gzclient
until I got the no server and client running, also added those to bash (cant find the exact link I followed to do this), restart the VM and it worked, didn't get the error since.
Because you have solved it, i'll try to help explaining it, This is because there are still a gzsever running on background, this line shows it
Unable to start server[bind: Address already in use]. There is probably another Gazebo process running.
If you find it again, you could use killall or pkill, or if you want to check it, you could use
ps aux | grep gz
i encounter the same issue with my launch file but i could not able to resolve with restart or killall/pkill.
but my robot is spawn in gazebo and somehow its working as i want. solved this issue. observe the launch file, including gazebo_ros executable files more than one time, it start the gzserver.
Hello, I'm new to ROS2 and I encounter an issue while following this tutorial , after I launch my package I get this:
This is the launch file:
It worked just fine until I "implemented" ros control. I tried creating a new VM with a fresh install of ROS2 and still get the same result. I also tried
killall gzserver
and still the same result. I'm a beginner so please keep that in mind while asking questions. Thanks!