I am new on OPENRAVE, I'm using openrave-0.8 on ubuntu 12.04 LTS.
I want to comunicate the Robot Operating System (ROS) with OpenRave, for that I have created a server-client structure where I use some openrave functions to load my environment and realize the desired trayectories.
I use c++ to write my programs, I have also included all the headers I need but still I am getting the following compilation's errors:
undefined reference to `OpenRAVE::RaveInitialize(bool, int)'
undefined reference to `OpenRAVE::RaveCreateEnvironment()'
undefined reference to `OpenRAVE::RaveCreateTrajectory(boost::shared_ptr<OpenRAVE::EnvironmentBase>, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
undefined reference to `vtable for OpenRAVE::ConfigurationSpecification'
Here is the code where I get these errors (some lines are from ROS don't worry about that):
ros::ServiceServer service = n.advertiseService("calculo", calculo);
ROS_INFO("Esperando coordenadas para mover robot.");
Actually, this isn't the best way to do it, but I just want to see if I can run OpenRave from a ROS server and show differents dof values from the current position to the desired position.
do you know how can I solve this problem or have any sugestion?