humanoid-path-planner / hpp_tutorial

Tutorial for humanoid path planner platform
BSD 2-Clause "Simplified" License
8 stars 12 forks source link

the error: ``hppcorbaserver: command not found``. #23

Closed EricWang1hitsz closed 5 years ago

EricWang1hitsz commented 5 years ago

DONE:

  1. Following the tutorial, I have set the bash as the default shell script language; 2.Add the source local/devel/hpp config.shto the .bashrc file.

ERROR: I open the terminal and type hppcorbaserver, but it appears the error: hppcorbaserver: command not found.

I wonder why this error happens?

jmirabel commented 5 years ago

Did you add export DEVEL_DIR=... to your bashrc ?

EricWang1hitsz commented 5 years ago

Not yet, you mean that addexport DEVEL_DIR=/local/devel/hpp/install/bin?

jmirabel commented 5 years ago

export DEVEL_DIR=/local/devel/hpp

EricWang1hitsz commented 5 years ago

I tried, but it didn't work.

jmirabel commented 5 years ago
export DEVEL_DIR=/local/devel/hpp
source local/devel/hpp/config.sh

should work. Check you environment variables.

EricWang1hitsz commented 5 years ago

I did it ! hit@:~$ echo $PATH /install/sbin:/install/bin:/opt/ros/kinetic/bin:/home/hit/bin:/home/hit/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

hit@:~$ echo $DEVEL_DIR /local/devel/hpp

jmirabel commented 5 years ago

The variable is DEVEL_HPP_DIR, and not DEVEL_DIR. I mixed up with old instructions.

EricWang1hitsz commented 5 years ago

It works! thanks very much!