Go to the documentation of this file. 1 #ifndef ED_ROBOT_PLUGIN_H_
2 #define ED_ROBOT_PLUGIN_H_
9 #include <ros/subscriber.h>
10 #include <ros/callback_queue.h>
11 #include <sensor_msgs/JointState.h>
13 #include <kdl/tree.hpp>
16 #include <urdf/model.h>
52 boost::shared_ptr<const JointRelation>
last_rel;
97 void jointCallback(
const sensor_msgs::JointState::ConstPtr& msg);
void configure(tue::Configuration config)
boost::shared_ptr< const JointRelation > last_rel
void jointCallback(const sensor_msgs::JointState::ConstPtr &msg)
void insert(const ed::Time &t, float joint_pos)
void setCacheSize(unsigned int n)
ed::TimeCache< float > joint_pos_cache_
void setMaxSize(unsigned int n)
void constructRobot(const ed::UUID &parent_id, const KDL::SegmentMap::const_iterator &it_segment, ed::UpdateRequest &req)
unsigned int joint_cache_size_
std::map< std::string, RelationInfo > joint_name_to_rel_info_
void process(const ed::WorldModel &world, ed::UpdateRequest &req)
ed::UpdateRequest * update_req_
std::map< std::string, ros::Subscriber > joint_subscribers_
unsigned int size() const
ros::CallbackQueue cb_queue_
JointRelation(const KDL::Segment &segment)
bool calculateTransform(const ed::Time &t, geo::Pose3D &tf) const
void insert(const Time &t, const T &value)
unsigned int size() const
tue::config::ReaderWriter config