takeyamayuki / ros2build_cmd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ROS2 build cmd

Description

rosdep, colcon build, source setup.sh are necessary to build ROS2 packages. It is a bit troublesome to execute these commands every time you build a package. This script is to make it easier to build ROS2 packages.

prepare

nano ~/.bashrc

add the following line to the end of .bashrc.

alias rb =". /path/to/ros2_build.sh"
source ~/.bashrc

Usage

To build all packages

rb

To build a specific package

rb [package_name]
# e.g.
# rb darknet_ros

About


Languages

Language:Shell 100.0%