helix-robotics-ag / ros-helix

1 stars 0 forks source link

Remove duplicate of uid. #2

Closed maxpolzin closed 5 months ago

maxpolzin commented 5 months ago

--whitelist-environment=\"ROS_DOMAIN_ID\" to take the ROS_DOMAIN_ID from the root shell into the ros users shell so ROS nodes started by the ros user will start them in the right domain.

echo uid and rosdomainid for better understanding

Removes duplicat of --uid definition in ros_entrypoint.sh

sebtiburzio commented 5 months ago

UID can be explicitly set to a custom environment variable MY_UID, in case the shell does not export UID automatically (which would result in trying to assign ID 0 to the 'ros' user in ros_entrypoint.sh)