3 #ifndef ROBOWFLEX_DART_ROBOT_
4 #define ROBOWFLEX_DART_ROBOT_
6 #include <moveit/robot_state/conversions.h>
7 #include <moveit/robot_state/robot_state.h>
9 #include <dart/dynamics/Skeleton.hpp>
10 #include <dart/collision/CollisionFilter.hpp>
11 #include <dart/simulation/World.hpp>
101 void setStateFromMoveItMsg(
const moveit_msgs::RobotState &msg);
106 void setMoveItMsgFromState(moveit_msgs::RobotState &msg)
const;
111 void setStateFromMoveItState(
const robot_state::RobotState &state);
116 void setMoveItStateFromState(robot_state::RobotState &state)
const;
128 void setStateFromMoveItJMG(
const std::string &jmg,
const Eigen::Ref<const Eigen::VectorXd> &vec);
140 void setMoveItJMGFromState(
const std::string &jmg, Eigen::Ref<Eigen::VectorXd> vec)
const;
150 void setGroups(
const GroupsMap &newGroups);
205 void getGroupState(
const std::string &group, Eigen::Ref<Eigen::VectorXd> q)
const;
211 void setGroupState(
const std::string &group,
const Eigen::Ref<const Eigen::VectorXd> &q);
275 Eigen::Ref<Eigen::VectorXd> q)
const;
283 const Eigen::Ref<const Eigen::VectorXd> &q);
#define ROBOWFLEX_CLASS_FORWARD(C)
Macro that forward declares a class and defines two shared ptrs types:
A shared pointer wrapper for robowflex::Robot.
A shared pointer wrapper for robowflex::Scene.
A sampleable goal region for OMPL for a set of TSRs. Samples goals in a separate thread using a clone...
std::map< std::string, std::vector< std::size_t > > group_indices_
Indices of group joints.
std::map< std::string, std::map< std::string, Eigen::VectorXd > > group_states_
std::map< std::string, std::vector< std::string > > groups_
Map of group names to joint names.
Wrapper class for a dart::dynamics::Skeleton.
Functions for loading and animating robots in Blender.
bool loadURDF(Robot &robot, const std::string &urdf)
Loads a URDF at urdf into a robot.
RobotPtr loadMoveItRobot(const std::string &name, const std::string &urdf, const std::string &srdf)
Load a robot from a URDF and SRDF (i.e., a MoveIt enabled robot).
Main namespace. Contains all library classes and functions.
Functions for loading and animating scenes in Blender.