Closed gaudelbijay closed 11 hours ago
My robot.yaml
file is:
version: 0
system:
hosts:
- hostname: cpr-j100-0000
ip: 192.168.131.1
ros2:
namespace: j100_0000
platform:
attachments:
- name: front_fender
type: j100.fender
- name: rear_fender
type: j100.fender
rpy: [0.0, 0.0, 3.1415]
links:
cylinder:
- name: cylinder
parent: default_mount
xyz: [0.0, 0.0, 0.05]
rpy: [0.0, 0.0, 0.0]
radius: 0.05
length: 0.1
mounts:
bracket:
- parent: front_0_mount
xyz: [0.0, 0.0, 0.0]
rpy: [0.0, 0.0, 0.0]
model: horizontal
- parent: rear_0_mount
xyz: [0.0, 0.0, 0.0]
rpy: [0.0, 0.0, 0.0]
model: horizontal
sensors:
lidar2d:
- model: hokuyo_ust
urdf_enabled: true
launch_enabled: true
parent: bracket_0_mount
xyz: [0.0, 0.0, 0.0]
rpy: [0.0, 0.0, 0.0]
ros_parameters:
urg_node:
laser_frame_id: lidar2d_0_laser
ip_address: 192.168.131.20
ip_port: 10940
angle_min: -3.141592653589793
angle_max: 3.141592653589793
- model: hokuyo_ust
urdf_enabled: true
launch_enabled: true
parent: bracket_1_mount
xyz: [0.0, 0.0, 0.0]
rpy: [0.0, 0.0, 3.1415]
ros_parameters:
urg_node:
laser_frame_id: lidar2d_1_laser
ip_address: 192.168.131.21
ip_port: 10940
angle_min: -3.141592653589793
angle_max: 3.141592653589793
lidar3d:
- model: velodyne_lidar
urdf_enabled: true
launch_enabled: true
parent: default_mount
xyz: [0.0, 0.0, 0.1]
rpy: [0.0, 0.0, 0.0]
ros_parameters:
velodyne_driver_node:
frame_id: lidar3d_0_laser
device_ip: 192.168.131.25
port: 2368
model: VLP16
velodyne_transform_node:
model: VLP16
fixed_frame: lidar3d_0_laser
target_frame: lidar3d_0_laser
Fixed it.
I am able to run the simulation with the Jackal robot, and when I did ros2 topic list, I got the following topics:
However, when I try to echo any topic, the output is empty. For example,
ros2 topic echo /j100_0000/cmd_vel
outputs nothing. The info ofros2 topic info /j100_0000/cmd_vel -v
is:How can I fix this problem?