You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
) do not induce the expectation that 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.
The text was updated successfully, but these errors were encountered:
if I remember correctly, the use of YARP_ROBOT_NAME was strictly related to the simulation environment and/or when I was testing these packages on my machine where this variable was not set. Maybe this could be written well in the documentation and revised how to handle this variable when using simulated models
I see! Just FYI, also simulated robots have their own YARP_ROBOT_NAME, see for example https://github.com/robotology/icub-models?tab=readme-ov-file#model-details . Could it make sense to use those? If instead we need a variable that is icub or ergocub, I suggest to use a different env variable to avoid confusion.
Reading the
README
, it seems to me that in the repo theYARP_ROBOT_NAME
can be set to eithericub
orergocub
to select ificub
orergocub
is used (seexcub-moveit2/robot_moveit/launch/spawn_model.py
Lines 14 to 16 in 6127639
YARP_ROBOT_NAME
is set to a name likeiCubGenova09
orergoCubSN002
, 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
YARP_ROBOT_NAME
is exactly set toicub
orergocub
, so they are compatible with the usual values ofYARP_ROBOT_NAME
set in robots setup.The text was updated successfully, but these errors were encountered: