Giter VIP home page Giter VIP logo

ros2_exercise's Introduction

ROS2_Exercise

ROS2 INSTALLATION

Installation information

  • Version: ROS 2 Eloquent Elusor

  • Takes ~10min

  • Install the build tool Colcon

    sudo apt install python3-colcon-common-extensions
    

Creating a ROS 2 package

  • Goal: Create a new package using either CMake or Python, and run its executable.

  • Tutorial level: Beginner

  • Time: 15 minutes

  • Create packages

    mkdir -p dev_ws/src && cd dev_ws/src
    ros2 pkg create --build-type ament_cmake --node-name dev_cpp_node dev_cpp_pkg
    ros2 pkg create --build-type ament_python --node-name dev_py_node dev_py_pkg
    cd .. && colcon build
    # colcon build --packages-select my_package
    . install/setup.bash
    ros2 run dev_cpp_pkg dev_cpp_node
    ros2 run dev_py_pkg dev_py_node
    

Rviz2 Pulgin Exercise

  • Empty templete [*]
git clone https://github.com/Kyungpyo-Kim/ROS2_Exercise.git
cd ROS2_Exercise/rviz_plugin_test/
colcon build
. install/setup.bash
ros2 run rviz2 rviz2
# Panels >> Add New Panel >> MyPlugin >> OK
  • Push button []

Reference

Installation

Creating package

Rviz2 pulgin

ros2_exercise's People

Contributors

kyungpyo-kim avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.