RoboticsLanguage icon indicating copy to clipboard operation
RoboticsLanguage copied to clipboard

Enable use of environment variables in parameters.yaml

Open grondman opened this issue 5 years ago • 2 comments

Putting this in parmeters.yaml:

globals:
  deploy: $HOME/some_ws/src

leads to the creation of a directory literally called "$HOME", whereas it should be extended to the user's home directory. Enabling the use of environment variables would be nice to have, as it allows for a more generic (default) configuration file for ROL that can be used for more users at the same time.

grondman avatar May 06 '19 10:05 grondman

Same holds for the use of ~

grondman avatar May 06 '19 11:05 grondman

I will use this: https://stackoverflow.com/questions/52412297/how-to-replace-environment-variable-value-in-yaml-file-to-be-parsed-using-python

gadlopes avatar May 06 '19 11:05 gadlopes