Skip to content

/cmd_vel no subscribers #481

@dmorris0

Description

@dmorris0

Robot Model

Turtlebot4 Lite

ROS distro

Humble

Networking Configuration

Discovery Server

OS

Ubuntu 22.04

Built from source or installed?

Installed

Package version

ubuntu@ubuntu:~$ dpkg -s ros-$ROS_DISTRO-turtlebot4-PACKAGE_WITH_ISSUE
dpkg-query: package 'ros-humble-turtlebot4-package_with_issue' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.

Type of issue

Other

Expected behaviour

When I publish to /cmd_vel, or use teleop, I expect the bot to move.

Actual behaviour

My turtlebot does not respond to Teleop or /cmd_vel. When I view info on the /cmd_vel topic I see that it has a publisher but no subscriber -- I expect it to have a subscriber and no publisher as I'm not publishing anything. On the Turtlebot I get:

~$ ros2 topic info /cmd_vel
Type: geometry_msgs/msg/Twist
Publisher count: 1
Subscription count: 0

From my PC, I get 2 publishers:

~$ ros2 topic info /cmd_vel
Type: geometry_msgs/msg/Twist
Publisher count: 2
Subscription count: 0

I can see contents of other topics, like /tf fine.

Error messages

No response

To Reproduce

I installed the latest firmware on the Create and did a factory reset.

I reinstalled the latest RPi image like here: https://turtlebot.github.io/turtlebot4-user-manual/setup/basic.html#install-latest-raspberry-pi-image

I followed all the instructions on setting up the Discovery Server here: https://turtlebot.github.io/turtlebot4-user-manual/setup/discovery_server.html

Other notes

No response

Metadata

Metadata

Labels

troubleshootingSystem not working as expected, may be user error.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions