2 #include <openrave/openrave.h>
4 #include "openrave_userdata_utils.hpp"
8 namespace OR = OpenRAVE;
10 OpenRAVE::KinBody::LinkPtr TRAJOPT_API GetLinkMaybeAttached(OpenRAVE::RobotBasePtr robot,
const std::string& name);
11 OpenRAVE::RobotBase::ManipulatorPtr TRAJOPT_API GetManipulatorByName(OpenRAVE::RobotBase& robot,
const std::string& name);
12 OpenRAVE::RobotBasePtr TRAJOPT_API GetRobotByName(OpenRAVE::EnvironmentBase& env,
const std::string& name);
13 OpenRAVE::KinBodyPtr TRAJOPT_API GetBodyByName(OpenRAVE::EnvironmentBase& env,
const std::string& name);
14 OpenRAVE::RobotBasePtr TRAJOPT_API GetRobot(OpenRAVE::EnvironmentBase& env);
15 int GetRobotLinkIndex(
const OR::RobotBase& robot,
const OR::KinBody::Link& link);
16 bool DoesAffect(
const OR::RobotBase& robot,
const std::vector<int>& dof_inds,
int link_ind);
17 void PlotAxes(OR::EnvironmentBase& env,
const OR::Transform& T,
float size, std::vector<OR::GraphHandlePtr>& handles);