https://velog.io/@deep-of-machine/ROS-ROS1-%EC%84%A4%EC%B9%98-Ubuntu20.04-ROS-Noetic
LiDAR: hdl LINK. CAMERA: HILTILINK
ros2 bag play -s rosbag_v2 uzh_tracking_area_run2.bag
https://github.com/stars/Taeyoung96/lists/ros2
sudo apt install ros-foxy-rosbag2*
ros2 bag play uzh_tracking_area_run2.bag -s rosbag_v2 --read-ahead-queue-size 1000 --topics /alphasense/cam0/image_raw /alphasense/cam1/image_raw
- Rosfoxy, Rosnoetic 설치
bashrc
에 아래 명령어 추가
alias rosnoetic='source /opt/ros/noetic/setup.bash'
alias rosfoxy='source /opt/ros/foxy/setup.bash && sour ce ~/gcamp_ros2_ws/install/local_setup.bash && source ~/slam-tutorial_ws/install/local_setup.bash'
alias cba='colcon build --symlink-install'
alias cbp='colcon build --symlink-install --packages-s elect'
alias killg='killall -9 gzserver && killall -9 gzclien t && killall -9 rosmaster'
source /usr/share/colcon_cd/function/colcon_cd.sh
export _colcon_cd_root=~/gcamp_ros2_ws
- Terminal 1:
rosnoetic
실행 후rosfoxy
실행 - Terminal 1: bag 파일 play
- Terminal 2:
rosfoxy
입력 후slam-tutorial
build
cbp slam-tutorial
slam-tutorial
실행
ros2 run slam-tutorial main_node
- Convert KITTI stereo to
.bag
format. - Implement
PnP
incall_back
function to obtain R, t, and publish R, t. - Visualize published R, t via rviz