Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turtlebot 4 simulation ignores publishing to cmd_vel. #441

Closed
dartik24 opened this issue Jul 15, 2024 · 1 comment
Closed

Turtlebot 4 simulation ignores publishing to cmd_vel. #441

dartik24 opened this issue Jul 15, 2024 · 1 comment
Assignees
Labels
troubleshooting System not working as expected, may be user error.

Comments

@dartik24
Copy link

Robot Model

Turtlebot4 Standard

ROS distro

Humble

Networking Configuration

I do not know

OS

Windows / MAC

Built from source or installed?

Installed

Package version

N/A

Type of issue

Navigation (SLAM, Nav2 etc.)

Expected behaviour

When running teleop keyboard or utilizing on screen gazebo simulation controls the expected behavior is for the robot to move accordingly.

Actual behaviour

20240709_125442
The above error pops up whenever publishing to cmd_vel is attempted an the robot briefly stutters after being undocked but does not move.

Error messages

[motion_control-35] [WARN] [1720543988.314924202] [motion_control]: Ignoring Velocities command while an autonomous behavior is running!

To Reproduce

Launch the simulation via ros2 launch turtlebot4_ignition_bringup turtlebot4_ignition.launch.py slam:=true nav2:=true rviz:=true
command then press the play button and set the robot into undocked mode. Following this try to move the robot using the build in control panel.

Other notes

No response

@dartik24 dartik24 added the troubleshooting System not working as expected, may be user error. label Jul 15, 2024
@smatarCPR
Copy link

Hello @dartik24
Thank you for reaching out on the Turtlebot 4 Githu. I am very sorry to hear that you are having issues with one of our toolkits. From the details provided it appears that the simulated Turtlebot is choosing to ignore teleop commands, due to the autonomy running (you have launched the simulator with slam and nav2 enabled). If you attempt to launch the simulator, with only RVIZ running, are you able to control the Turtlebot using the control panel?

Let me know how this recommendation works for you. Looking forward to hearing from you soon.
Best Regards,
Saif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
troubleshooting System not working as expected, may be user error.
Projects
None yet
Development

No branches or pull requests

3 participants