Closed wyqsnddd closed 2 years ago
Hi @wyqsnddd
Any chance your smi
alias is sudo make install
and not make && sudo make install
?
The first would break because your sudo
does not have ROS sourced in the environment.
Hi Pierre,
Indeed my alias is smi=sudo make install
. I switched to make && sudo make install
(or make
), however, it gives another issue:
yuquan@yuquan-3541:~/local/mc_panda/build$ make
[ 4%] Generating ../urdf/panda_default.urdf
[ 4%] Built target generate_panda_default_urdf
[ 9%] Generating ../urdf/panda_hand.urdf
Invalid parameter "ns"
when instantiating macro: hand (/home/yuquan/local/mc_rtc/catkin_ws/src/franka_ros/franka_description/robots/hand.xacro)
in file: /home/yuquan/local/mc_panda/build/xacro/panda_hand.urdf.xacro
data/CMakeFiles/generate_panda_hand_urdf.dir/build.make:76: recipe for target 'urdf/panda_hand.urdf' failed
make[2]: *** [urdf/panda_hand.urdf] Error 2
CMakeFiles/Makefile2:194: recipe for target 'data/CMakeFiles/generate_panda_hand_urdf.dir/all' failed
make[1]: *** [data/CMakeFiles/generate_panda_hand_urdf.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
Could you please give me another suggestion?
Hi @wyqsnddd
I pushed a commit that fixes this issue. It seems the parameter name was changed upstream so to be on the safe side I'm now including the hand.xacro file in this repo as well as the other files.
Hi Pierre, Now I can make
and install
, thanks a lot for the quick fix!
Hi Pierre and Niels,
After my recent
mc_rtc
update, I came across the following issue about thexacro
package. Have you encountered similar cases before?Whereas, in the same terminal, I can import
xacro
frompython
: