Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

little problem creating pkgs

Hi, I'm Trying to do something similar like the shadow hand but more easy. (Cause I do'nt need all the things that the shadow's have). in these way the importan things that i need is the next ones for now obviously:

  • sr_description
  • sr_hardware_interface

  • sr_mechanism_model

i'm trying to do my owns : VT_hardware_interface, VT_mechanism_model,VT_description; and all are in one VirtualTouch pkg. i did pkg VT_description run make and was fine and in same way VT_hardware_interface. but when i gonna run the VT_mechanism_model that depends on one files of the VT_hardware i get the next :

> /home/moni/VirtualTouch/VT_mechanism_model/src/joint_0_transmission.cpp:9:49: error fatal: VT_hardware_interface/VT_actuator.hpp: No existe el archivo o el directorio
compilación terminada.
make[3]: *** [CMakeFiles/VT_mechanism_model.dir/src/joint_0_transmission.o] Error 1
make[3]: se sale del directorio «/home/moni/VirtualTouch/VT_mechanism_model/build»
make[2]: *** [CMakeFiles/VT_mechanism_model.dir/all] Error 2
make[2]: se sale del directorio «/home/moni/VirtualTouch/VT_mechanism_model/build»
make[1]: *** [all] Error 2
make[1]: se sale del directorio «/home/moni/VirtualTouch/VT_mechanism_model/build»
make: *** [all] Error 2

I export the pkg ( source /opt/ros/fuerte/setup.bash AND export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:pwd) on VT_hardware

and doesn't work. some idea what i'm doing wrong? thnks

little problem creating pkgs

Hi, I'm Trying to do something similar like the shadow hand but more easy. (Cause I do'nt need all the things that the shadow's have). in these way the importan things that i need is the next ones for now obviously:

  • sr_description
  • sr_hardware_interface

  • sr_mechanism_model

i'm trying to do my owns : VT_hardware_interface, VT_mechanism_model,VT_description; and all are in one VirtualTouch pkg. i did pkg VT_description run make and was fine and in same way VT_hardware_interface. but when i gonna run the VT_mechanism_model that depends on one files of the VT_hardware i get the next :

> /home/moni/VirtualTouch/VT_mechanism_model/src/joint_0_transmission.cpp:9:49: error fatal: VT_hardware_interface/VT_actuator.hpp: No existe el archivo o el directorio
compilación terminada.
make[3]: *** [CMakeFiles/VT_mechanism_model.dir/src/joint_0_transmission.o] Error 1
make[3]: se sale del directorio «/home/moni/VirtualTouch/VT_mechanism_model/build»
make[2]: *** [CMakeFiles/VT_mechanism_model.dir/all] Error 2
make[2]: se sale del directorio «/home/moni/VirtualTouch/VT_mechanism_model/build»
make[1]: *** [all] Error 2
make[1]: se sale del directorio «/home/moni/VirtualTouch/VT_mechanism_model/build»
make: *** [all] Error 2

I export the pkg ( source /opt/ros/fuerte/setup.bash AND export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:pwd) on VT_hardware

and doesn't work. some idea what i'm doing wrong? thnks

EDIT:

When Run :

> echo $ROS_PACKAGE_PATH

out

> /opt/ros/fuerte/share:/opt/ros/fuerte/stacks:/home/moni/VirtualTouch/VT_mechanism_model

And for rospack find VT_hardware_interface

[rospack] Error: stack/package VT_hardware_interface not found

In The same way i tried with:

export ROS_PACKAGE_PATH=/home/moni/VirtualTouch/VT_mechanism_model:/home/moni/VirtualTouch/VT_hardware_interface

but it's kind the same error.