안녕하세요. Navigation 관련 테스트 중 에러 발생으로 문의드립니다.
g1_mapping.sh 아래의 내용 실행 시
#!/bin/bash
source ~/unitree_ros2/cyclonedds_ws/install/setup.bash
source ~/unitree_ros2/setup.sh
source ~/unitree_g1_v2/install/setup.bash
###################################################
(
ros2 run pointcloud_to_laserscan odom.py
) &
sleep 1
###################################################
(
ros2 run pointcloud_to_laserscan broad_tf.py
) &
sleep 1
###################################################
(
source ${HOME}/unitree_g1_v2/install/setup.bash
ros2 launch pointcloud_to_laserscan sample_pointcloud_to_laserscan_launch.py
) &
sleep 2
###################################################
(
source ${HOME}/unitree_g1_v2/install/setup.bash
ros2 launch cartographer_mapping cartographer.launch.py
) &
wait
[rviz2-4] [INFO] [1775719200.828918396] [rviz2]: Message Filter dropping message: frame ‘cloud’ at time 1775719199.245 for reason ‘discarding message because the queue is full’
g1_mapping.sh 아래의 내용 실행 시
–-
#!/bin/bash
source ~/unitree_ros2/cyclonedds_ws/install/setup.bash
source ~/unitree_ros2/setup.sh
source ~/unitree_g1_v2/install/setup.bash
(
ros2 run pointcloud_to_laserscan odom.py
) &
sleep 1
(
ros2 run pointcloud_to_laserscan broad_tf.py
) &
sleep 1
(
ros2 launch pointcloud_to_laserscan sample_pointcloud_to_laserscan_launch.py
) &
sleep 2
(
ros2 launch nav2_bringup localization_launch.py
) &
sleep 2
(
ros2 launch nav2_bringup navigation_launch.py
) &
sleep 2
(
ros2 launch nav2_bringup rviz_launch.py
)
wait
[planner_server-3] [INFO] [1775718445.019713408] [global_costmap.global_costmap]: Timed out waiting for transform from base_link2 to map to become available, tf error: Invalid frame ID “map” passed to canTransform argument target_frame - frame does not exist
라는 에러로 인해 라이다 센서가 작동이 안되는 데 해결 방법이 있을까요??