ADVRHumanoids / XBotControl

XBotControl framework: XBotCore + OpenSoT + CartesI/O
33 stars 3 forks source link

set_xbot_config issue #12

Closed nkashiri closed 5 years ago

nkashiri commented 5 years ago

On setting the config file, I get: $ set_xbot_config $XBOT_ROOT/configs/CentauroConfig/centauro_basic.yaml /opt/xbot/build/install/bin/set_xbot_config: line 24: /home/navvab/.xbot/active_config.yaml: No such file or directory /opt/xbot/build/install/share/xbot/configs/CentauroConfig/centauro_basic.yaml

The problem is the folder ".xbot" does not exist in my home directory.

@liesrock

liesrock commented 5 years ago

Hi @nkashiri, thanks a lot! Are you sure you are sourcing bash file of the binaries?

nkashiri commented 5 years ago

I think so, I added . /opt/xbot/build/install/share/xbot/setup.bash to .bashrc and then sourced it by source ~/.bashrc and I think it's fine, because I get the address by ecchoing the $XBOT.. Should I do something else?

liesrock commented 5 years ago

You are doing everything good: the issue is related with the setup.bash, it is fixed in:

https://github.com/ADVRHumanoids/XBotControl/releases/tag/v1.1.1

liesrock commented 5 years ago

Tested.