Notice
Recent Posts
Recent Comments
Link
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Tags
more
Archives
Today
Total
관리 메뉴

ahnjmo

ROS2 (Foxy), Gazebo Setup 본문

IT/Ubuntu

ROS2 (Foxy), Gazebo Setup

ahnjmo 2021. 3. 25. 00:44

ROS2 (Foxy) 설치

docs.ros.org/en/foxy/Installation/Linux-Install-Debians.html

 

Installing ROS 2 via Debian Packages — ROS 2 Documentation: Foxy documentation

Debian packages for ROS 2 Foxy Fitzroy are available for Ubuntu Focal. Make sure you have a locale which supports UTF-8. If you are in a minimal environment (such as a docker container), the locale may be something minimal like POSIX. We test with the foll

docs.ros.org

 

Gazebo 설치

sudo apt install ros-foxy-gazebo-ros-pkgs

Gazebo 테스트

터미널1 에서 gazebo 실행

gazebo --verbose /opt/ros/foxy/share/gazebo_plugins/worlds/gazebo_ros_diff_drive_demo.world

 터미널2 에서 ros2 topic pub

ros2 topic pub /demo/cmd_demo geometry_msgs/Twist '{linear: {x: 1.0}}' -1

Gazebo 모형이 움직이면 성공.

'IT > Ubuntu' 카테고리의 다른 글

Terminator Layout 생성 및 Desktop 실행파일 만들기  (0) 2021.04.19
Docker 사용법  (0) 2021.01.28
VS code 세팅  (0) 2020.12.16
Ubuntu 20.04 에서 Pytorch, OpenAI Gym설치  (0) 2020.12.16
Ubuntu 20.04 초기 세팅  (0) 2020.12.16
Comments