clearpathrobotics / robot_upstart

ROS package of helper functions related to bringing up roslaunch on system startup.
BSD 3-Clause "New" or "Revised" License
192 stars 94 forks source link

Added model parameter to the install script #102

Open ivan140 opened 3 years ago

ivan140 commented 3 years ago

Description

When starting different robots with the same bringup.launch file a model parameter can be used to specify the robot in question. For the turtlebot3 an environment variable TURTLEBOT3_MODEL is used with the values burger/waffle/waffle_pi.

This pull request adds the environment variable %PACKAGE_NAME%_MODEL to the install script and also to the start bash script.

Example

rosrun robot_upstart install --model pi myrobot_bringup/launch/base.launch results inside the start bash script to export MYROBOT_MODEL=pi

ivan140 commented 3 years ago

I now added also a map parameter, so that now the map for the robot can be specified as following

--map_name office