Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
tuw_multi_robot_rviz::MultiRobotInfoVisual Class Reference

#include <MultiRobotInfoVisual.h>

Public Member Functions

void disableRobot (const std::string &rName)
 
void doRender ()
 
void enableRobot (const std::string &rName)
 
std::vector< rviz::Object * > make_robot (Ogre::Vector3 &position, Ogre::Quaternion &orientation)
 
 MultiRobotInfoVisual (Ogre::SceneManager *_scene_manager, Ogre::SceneNode *_parent_node)
 
void resetDuration (const ros::Duration &ts)
 
void resetKeepMeasurementsCount (const unsigned int c)
 
void setColorPose (Ogre::ColourValue color)
 
void setFrameOrientation (const Ogre::Quaternion &orientation)
 
void setFramePosition (const Ogre::Vector3 &_position)
 
void setMessage (const tuw_multi_robot_msgs::RobotInfoConstPtr _msg)
 
void setScalePose (float scale)
 
virtual ~MultiRobotInfoVisual ()
 

Private Types

using internal_map_type = std::pair< std::string, boost::circular_buffer< geometry_msgs::PoseWithCovariance >>
 
using map_iterator = std::map< std::string, boost::circular_buffer< geometry_msgs::PoseWithCovariance >>::iterator
 
using map_type = std::map< std::string, boost::circular_buffer< geometry_msgs::PoseWithCovariance >>
 
using recycle_map_type = std::map< std::string, ros::Time >
 

Private Member Functions

std::vector< std::string > recycle ()
 

Private Attributes

Ogre::ColourValue color_pose_
 
Ogre::ColourValue color_variance_
 
int default_size_ = {5}
 
std::set< std::string > disabled_robots_
 
Ogre::SceneNode * frame_node_
 
ros::Time last_render_time_
 
recycle_map_type recycle_map_
 
ros::Duration recycle_thresh_ = ros::Duration(5,0)
 
ros::Duration render_dur_thresh_ = ros::Duration(0.1)
 
map_type robot2pose_map_
 
std::map< std::string, std::vector< rviz::Object * > > robot_renderings_map_
 
float scale_pose_
 
Ogre::SceneManager * scene_manager_
 

Detailed Description

Definition at line 25 of file MultiRobotInfoVisual.h.

Member Typedef Documentation

using tuw_multi_robot_rviz::MultiRobotInfoVisual::internal_map_type = std::pair<std::string,boost::circular_buffer<geometry_msgs::PoseWithCovariance>>
private

Definition at line 59 of file MultiRobotInfoVisual.h.

using tuw_multi_robot_rviz::MultiRobotInfoVisual::map_iterator = std::map<std::string,boost::circular_buffer<geometry_msgs::PoseWithCovariance>>::iterator
private

Definition at line 61 of file MultiRobotInfoVisual.h.

using tuw_multi_robot_rviz::MultiRobotInfoVisual::map_type = std::map<std::string,boost::circular_buffer<geometry_msgs::PoseWithCovariance>>
private

Definition at line 60 of file MultiRobotInfoVisual.h.

Definition at line 62 of file MultiRobotInfoVisual.h.

Constructor & Destructor Documentation

tuw_multi_robot_rviz::MultiRobotInfoVisual::MultiRobotInfoVisual ( Ogre::SceneManager *  _scene_manager,
Ogre::SceneNode *  _parent_node 
)

Definition at line 4 of file MultiRobotInfoVisual.cpp.

tuw_multi_robot_rviz::MultiRobotInfoVisual::~MultiRobotInfoVisual ( )
virtual

Definition at line 9 of file MultiRobotInfoVisual.cpp.

Member Function Documentation

void tuw_multi_robot_rviz::MultiRobotInfoVisual::disableRobot ( const std::string &  rName)

Definition at line 74 of file MultiRobotInfoVisual.cpp.

void tuw_multi_robot_rviz::MultiRobotInfoVisual::doRender ( )

Definition at line 131 of file MultiRobotInfoVisual.cpp.

void tuw_multi_robot_rviz::MultiRobotInfoVisual::enableRobot ( const std::string &  rName)

Definition at line 65 of file MultiRobotInfoVisual.cpp.

std::vector< rviz::Object * > tuw_multi_robot_rviz::MultiRobotInfoVisual::make_robot ( Ogre::Vector3 position,
Ogre::Quaternion &  orientation 
)

Definition at line 85 of file MultiRobotInfoVisual.cpp.

std::vector< std::string > tuw_multi_robot_rviz::MultiRobotInfoVisual::recycle ( )
private

Definition at line 28 of file MultiRobotInfoVisual.cpp.

void tuw_multi_robot_rviz::MultiRobotInfoVisual::resetDuration ( const ros::Duration ts)

Definition at line 14 of file MultiRobotInfoVisual.cpp.

void tuw_multi_robot_rviz::MultiRobotInfoVisual::resetKeepMeasurementsCount ( const unsigned int  c)

Definition at line 19 of file MultiRobotInfoVisual.cpp.

void tuw_multi_robot_rviz::MultiRobotInfoVisual::setColorPose ( Ogre::ColourValue  color)

Definition at line 246 of file MultiRobotInfoVisual.cpp.

void tuw_multi_robot_rviz::MultiRobotInfoVisual::setFrameOrientation ( const Ogre::Quaternion &  orientation)

Definition at line 230 of file MultiRobotInfoVisual.cpp.

void tuw_multi_robot_rviz::MultiRobotInfoVisual::setFramePosition ( const Ogre::Vector3 _position)

Definition at line 225 of file MultiRobotInfoVisual.cpp.

void tuw_multi_robot_rviz::MultiRobotInfoVisual::setMessage ( const tuw_multi_robot_msgs::RobotInfoConstPtr  _msg)

Definition at line 180 of file MultiRobotInfoVisual.cpp.

void tuw_multi_robot_rviz::MultiRobotInfoVisual::setScalePose ( float  scale)

Definition at line 235 of file MultiRobotInfoVisual.cpp.

Member Data Documentation

Ogre::ColourValue tuw_multi_robot_rviz::MultiRobotInfoVisual::color_pose_
private

Definition at line 89 of file MultiRobotInfoVisual.h.

Ogre::ColourValue tuw_multi_robot_rviz::MultiRobotInfoVisual::color_variance_
private

Definition at line 92 of file MultiRobotInfoVisual.h.

int tuw_multi_robot_rviz::MultiRobotInfoVisual::default_size_ = {5}
private

Definition at line 73 of file MultiRobotInfoVisual.h.

std::set<std::string> tuw_multi_robot_rviz::MultiRobotInfoVisual::disabled_robots_
private

Definition at line 68 of file MultiRobotInfoVisual.h.

Ogre::SceneNode* tuw_multi_robot_rviz::MultiRobotInfoVisual::frame_node_
private

Definition at line 79 of file MultiRobotInfoVisual.h.

ros::Time tuw_multi_robot_rviz::MultiRobotInfoVisual::last_render_time_
private

Definition at line 76 of file MultiRobotInfoVisual.h.

recycle_map_type tuw_multi_robot_rviz::MultiRobotInfoVisual::recycle_map_
private

Definition at line 71 of file MultiRobotInfoVisual.h.

ros::Duration tuw_multi_robot_rviz::MultiRobotInfoVisual::recycle_thresh_ = ros::Duration(5,0)
private

Definition at line 74 of file MultiRobotInfoVisual.h.

ros::Duration tuw_multi_robot_rviz::MultiRobotInfoVisual::render_dur_thresh_ = ros::Duration(0.1)
private

Definition at line 75 of file MultiRobotInfoVisual.h.

map_type tuw_multi_robot_rviz::MultiRobotInfoVisual::robot2pose_map_
private

Definition at line 70 of file MultiRobotInfoVisual.h.

std::map<std::string, std::vector<rviz::Object*> > tuw_multi_robot_rviz::MultiRobotInfoVisual::robot_renderings_map_
private

Definition at line 67 of file MultiRobotInfoVisual.h.

float tuw_multi_robot_rviz::MultiRobotInfoVisual::scale_pose_
private

Definition at line 86 of file MultiRobotInfoVisual.h.

Ogre::SceneManager* tuw_multi_robot_rviz::MultiRobotInfoVisual::scene_manager_
private

Definition at line 83 of file MultiRobotInfoVisual.h.


The documentation for this class was generated from the following files:


tuw_multi_robot_rviz
Author(s): Benjamin Binder
autogenerated on Mon Jun 10 2019 15:42:40