Skip to content

Added model parameter to the install script#102

Open
ivan140 wants to merge 2 commits into
clearpathrobotics:noetic-develfrom
ivan140:model_parameter_added
Open

Added model parameter to the install script#102
ivan140 wants to merge 2 commits into
clearpathrobotics:noetic-develfrom
ivan140:model_parameter_added

Conversation

@ivan140

@ivan140 ivan140 commented Jan 13, 2021

Copy link
Copy Markdown

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 ivan140 force-pushed the model_parameter_added branch from a4e7f3b to 0d90749 Compare June 30, 2021 14:49
@ivan140

ivan140 commented Jun 30, 2021

Copy link
Copy Markdown
Author

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

--map_name office

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant