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
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 toexport MYROBOT_MODEL=pi