Skip to content

Display the ROS environment on the terminal like pyenv.

Notifications You must be signed in to change notification settings

NITKK-ROS-Team/setup_ros_env

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup ROS env

Display the ROS environment on the terminal like pyenv.

example

Setup

$ cd ~
$ git clone https://github.com/Ar-Ray-code/setup_ros_env.git
$ bash setup_ros_env/setup.bash
>> Enter ros1-distro (e.g. noetic) : noetic
>> noetic
>> Enter ros1_workspace (abs path) : ~/ros1_ws
>> ~/ros1_ws
>> Enter ros2-distro (e.g. foxy) : foxy
>> foxy
>> Enter ros2_workspace(abs path) : ~/ros2_ws
>> ~/ros2_ws

Automatic Setup

wget https://raw.githubusercontent.com/Ar-Ray-code/setup_ros_env/master/auto_setup.bash && bash auto_setup.bash && rm auto_setup.bash
>> Enter ros1-distro (e.g. noetic) : noetic
>> noetic
>> Enter ros1_workspace (abs path) : ~/ros1_ws
>> ~/ros1_ws
>> Enter ros2-distro (e.g. foxy) : foxy
>> foxy
>> Enter ros2_workspace(abs path) : ~/ros2_ws
>> ~/ros2_ws

setting

In "Enter ros2(or 1)_workspace (abs path):", enter the ROS workspace that contains the absolute path. If you Enter empty, the setting will be skipped.

ROS Environment setup

ROS1

example@example:~$ ros1_init
(noetic):~$

ROS2

example@example:~$ ros2_init
(foxy):~$

About

Display the ROS environment on the terminal like pyenv.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%