-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Reading the README
, it seems to me that in the repo the YARP_ROBOT_NAME
can be set to either icub
or ergocub
to select if icub
or ergocub
is used (see
xcub-moveit2/robot_moveit/launch/spawn_model.py
Lines 14 to 16 in 6127639
robot_name = os.environ["YARP_ROBOT_NAME"] | |
xacro_file = os.path.join(get_package_share_directory(robot_name+'_moveit_config'), 'config', robot_name+'.urdf.xacro') |
YARP_ROBOT_NAME
is set to a name like iCubGenova09
or ergoCubSN002
, to load the corresponding configuration files (for example installed via https://github.com/robotology/robots-configuration) via the YARP's ResourceFinder infrastructure (see https://www.yarp.it/latest/yarp_resource_finder_tutorials.html).
Note that some other usages (such as
xcub-moveit2/robot_moveit/launch/circle_demo.launch.py
Lines 8 to 12 in 6127639
if "icub" in os.environ["YARP_ROBOT_NAME"].casefold(): | |
yarp_robot_name = "icub" | |
elif "ergocub" in os.environ["YARP_ROBOT_NAME"].casefold(): | |
yarp_robot_name = "ergocub" | |
return yarp_robot_name |
YARP_ROBOT_NAME
is exactly set to icub
or ergocub
, so they are compatible with the usual values of YARP_ROBOT_NAME
set in robots setup.Metadata
Metadata
Assignees
Labels
No labels