After running below
$ rosrun teleop_twist_keyboard teleop_twist_keyboard.py
I am getting Waiting for subscriber to connect to /cmd_vel
I was trying to setup the husarnet. I followed the tutorials. After that I started getting this message. Previously it was working fine.
my ~/.bashrc file:
export ROSBOT_VER=ROSBOT_2.0_PRO
export ROS_DISTRO=noetic
#export ROS_MASTER_URI=http://ROBOT_IP:11311
#export ROS_IP=LAPTOP_IP
#export ROS_IPV6=on
. /opt/ros/noetic/setup.bash
#. ~/husarion_ws/devel/setup.sh
#export SERIAL_PORT=/dev/ttyS4
#source /opt/ros/foxy/setup.bash
#source ~/ros2_ws/install/setup.bash
#RMW_IMPLEMENTATION=rmw_fastrtps_cpp
source /opt/ros/noetic/setup.bash
source ~/ros1_ws/devel/setup.sh
my .env file:
husarion@my-robot:~$ cat ~/.env
SERIAL_PORT=/dev/ttyS4
ROS_IP=127.0.0.1
ROS_MASTER_URI=http://127.0.0.1:11311
LIDAR_SERIAL=/dev/ttyUSB0
RPLIDAR_BAUDRATE=256000
husarion@my-robot:~$ rostopic list
/battery
/buttons
/camera/reset_device
/clicked_point
/cmd_ser
/cmd_vel
/diagnostics
/imu
/initialpose
/joint_states
/move_base_simple/goal
/odom
/odom/wheel
/pose
/range/fl
/range/fr
/range/rl
/range/rr
/rosout
/rosout_agg
/scan
/set_pose
/tf
/tf_static
/velocity
husarion@my-robot:~$ rostopic info /cmd_vel
Type: geometry_msgs/Twist
Publishers: None
Subscribers:
- /rosbot_ekf (http://127.0.0.1:34043/)
- /serial_bridge (http://127.0.0.1:44555/)
Please let me know if more information is needed. I am unable to figure out the issue.
Note: I ran husarnet daemon stop and still the issue is coming.