RLException: Invalid <arg> tag: environment variable ‘GYM_GAZEBO_WORLD_CIRCUIT2‘ is not set.

RLException: Invalid <arg> tag: environment variable 'GYM_GAZEBO_WORLD_CIRCUIT2' is not set. 

Arg xml is <arg default="$(env GYM_GAZEBO_WORLD_CIRCUIT2)" name="world_file"/>
The traceback for the exception was written to the log file
 

環境變量沒有正確配置。

解決辦法:

export GYM_GAZEBO_WORLD_CIRCUIT2=/home/hwang/gym-gazebo/gym_gazebo/envs/assets/worlds/circuit2.world

然後source ~/.zshrc或者~/.bashrc


版权声明:本文为Lovemyse1f原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。