joshnewans / articubot_one

307 stars 267 forks source link

robot not moving on new gazebo #45

Open celuti opened 2 weeks ago

celuti commented 2 weeks ago

Hi, Some weeks ago, I was able to move the robot in new gazebo sim. Now, I am trying againg, without having modified the code and using the same joystick, and the robot doesn't move. I get this error when launching the simulation:

[ERROR] [twist_mux-5]: process has died [pid 3782, exit code -6, cmd '/opt/ros/jazzy/lib/twist_mux/twist_mux --ros-args --params-file /home/user/dev_ws/install/articubot_one/share/articubot_one/config/twist_mux.yaml --params-file /tmp/launch_params_z686_wk4 -r /cmd_vel_out:=/diff_cont/cmd_vel_unstamped'].

The rest of the simultion is working (lidar, etc.) but the robot doesn't move.

Regards

AlperKayar commented 2 weeks ago

I have the same issue. I am using Foxxy and Noble. Any ideas?

MJPees commented 1 week ago

I had the same issue. I added use_stamped: false to twist_mux.yaml. That fixed it for me. Using ros2 jazzy.

twist_mux: ros__parameters: use_stamped: false topics: navigation: topic : cmd_vel timeout : 0.5 priority: 10 tracker: topic : cmd_vel_tracker timeout : 0.5 priority: 20 joystick: topic : cmd_vel_joy timeout : 0.5 priority: 100

celuti commented 1 week ago

I had the same issue. I added use_stamped: false to twist_mux.yaml. That fixed it for me. Using ros2 jazzy.

twist_mux: ros__parameters: use_stamped: false topics: navigation: topic : cmd_vel timeout : 0.5 priority: 10 tracker: topic : cmd_vel_tracker timeout : 0.5 priority: 20 joystick: topic : cmd_vel_joy timeout : 0.5 priority: 100

I've tried it and it works to me also. Thanks!