This tool displays distances around specified robot's link. More...
#include <but_context_manager.h>
Public Member Functions | |
CButContextManager (const std::string &name, rviz::VisualizationManager *manager) | |
Constructor. | |
virtual void | createProperties () |
Creates display properties. | |
virtual void | fixedFrameChanged () |
Overriden method from Display. | |
virtual void | targetFrameChanged () |
Overriden method from Display. | |
virtual void | update (float wall_dt, float ros_dt) |
Updates display. | |
virtual | ~CButContextManager () |
Destructor. | |
Protected Member Functions | |
bool | checkContextServer () |
Checks if the Context Server is running. | |
void | contextChangedCallback (const srs_env_model::ContextChangedConstPtr &update) |
Callback function for context update. | |
void | getContext () |
Gets new context. | |
int | getContextAction () |
Gets context action. | |
int | getContextCollisionHazard () |
Gets context collision hazard. | |
int | getContextConnection () |
Gets context connection. | |
int | getContextStatus () |
Gets context status. | |
virtual void | onDisable () |
is Display disabled | |
virtual void | onEnable () |
Display is enabled. | |
void | setContext () |
Sets new context. | |
void | setContextAction (int action) |
Sets context action. | |
void | setContextCollisionHazard (int collision_hazard) |
Sets context collision hazard. | |
void | setContextConnection (int connection) |
Sets context connection. | |
void | setContextStatus (int status) |
Sets context status. | |
Protected Attributes | |
srs_env_model::Context | context_ |
bool | context_server_enabled_ |
ros::ServiceClient | get_context_client_ |
rviz::EnumPropertyWPtr | m_property_action_ |
rviz::EnumPropertyWPtr | m_property_collision_hazard_ |
rviz::EnumPropertyWPtr | m_property_connection_ |
rviz::EnumPropertyWPtr | m_property_status_ |
ogre_tools::TextOutput * | message_renderer_ |
ros::ServiceClient | set_context_client_ |
ros::Subscriber | sub_ |
This tool displays distances around specified robot's link.
Definition at line 73 of file but_context_manager.h.
srs_ui_but::CButContextManager::CButContextManager | ( | const std::string & | name, |
rviz::VisualizationManager * | manager | ||
) |
Constructor.
Definition at line 32 of file but_context_manager.cpp.
srs_ui_but::CButContextManager::~CButContextManager | ( | ) | [virtual] |
Destructor.
Definition at line 45 of file but_context_manager.cpp.
bool srs_ui_but::CButContextManager::checkContextServer | ( | ) | [protected] |
Checks if the Context Server is running.
Definition at line 98 of file but_context_manager.cpp.
void srs_ui_but::CButContextManager::contextChangedCallback | ( | const srs_env_model::ContextChangedConstPtr & | update | ) | [inline, protected] |
Callback function for context update.
update |
Definition at line 230 of file but_context_manager.h.
void srs_ui_but::CButContextManager::createProperties | ( | ) | [virtual] |
Creates display properties.
Definition at line 112 of file but_context_manager.cpp.
virtual void srs_ui_but::CButContextManager::fixedFrameChanged | ( | ) | [inline, virtual] |
Overriden method from Display.
Reimplemented from rviz::Display.
Definition at line 96 of file but_context_manager.h.
void srs_ui_but::CButContextManager::getContext | ( | ) | [inline, protected] |
Gets new context.
Definition at line 213 of file but_context_manager.h.
int srs_ui_but::CButContextManager::getContextAction | ( | ) | [inline, protected] |
int srs_ui_but::CButContextManager::getContextCollisionHazard | ( | ) | [inline, protected] |
Gets context collision hazard.
Definition at line 181 of file but_context_manager.h.
int srs_ui_but::CButContextManager::getContextConnection | ( | ) | [inline, protected] |
Gets context connection.
Definition at line 161 of file but_context_manager.h.
int srs_ui_but::CButContextManager::getContextStatus | ( | ) | [inline, protected] |
void srs_ui_but::CButContextManager::onDisable | ( | ) | [protected, virtual] |
is Display disabled
Reimplemented from rviz::Display.
Definition at line 57 of file but_context_manager.cpp.
void srs_ui_but::CButContextManager::onEnable | ( | ) | [protected, virtual] |
Display is enabled.
Reimplemented from rviz::Display.
Definition at line 49 of file but_context_manager.cpp.
void srs_ui_but::CButContextManager::setContext | ( | ) | [inline, protected] |
Sets new context.
Definition at line 200 of file but_context_manager.h.
void srs_ui_but::CButContextManager::setContextAction | ( | int | action | ) | [inline, protected] |
Sets context action.
status | is new context action |
Definition at line 150 of file but_context_manager.h.
void srs_ui_but::CButContextManager::setContextCollisionHazard | ( | int | collision_hazard | ) | [inline, protected] |
Sets context collision hazard.
status | is new context collision hazard |
Definition at line 190 of file but_context_manager.h.
void srs_ui_but::CButContextManager::setContextConnection | ( | int | connection | ) | [inline, protected] |
Sets context connection.
status | is new context connection |
Definition at line 170 of file but_context_manager.h.
void srs_ui_but::CButContextManager::setContextStatus | ( | int | status | ) | [inline, protected] |
Sets context status.
status | is new context status |
Definition at line 130 of file but_context_manager.h.
virtual void srs_ui_but::CButContextManager::targetFrameChanged | ( | ) | [inline, virtual] |
Overriden method from Display.
Definition at line 90 of file but_context_manager.h.
void srs_ui_but::CButContextManager::update | ( | float | wall_dt, |
float | ros_dt | ||
) | [virtual] |
Updates display.
Reimplemented from rviz::Display.
Definition at line 62 of file but_context_manager.cpp.
srs_env_model::Context srs_ui_but::CButContextManager::context_ [protected] |
Reimplemented from rviz::Display.
Definition at line 253 of file but_context_manager.h.
Definition at line 262 of file but_context_manager.h.
Definition at line 259 of file but_context_manager.h.
rviz::EnumPropertyWPtr srs_ui_but::CButContextManager::m_property_action_ [protected] |
Definition at line 250 of file but_context_manager.h.
rviz::EnumPropertyWPtr srs_ui_but::CButContextManager::m_property_collision_hazard_ [protected] |
Definition at line 250 of file but_context_manager.h.
rviz::EnumPropertyWPtr srs_ui_but::CButContextManager::m_property_connection_ [protected] |
Definition at line 250 of file but_context_manager.h.
rviz::EnumPropertyWPtr srs_ui_but::CButContextManager::m_property_status_ [protected] |
Definition at line 250 of file but_context_manager.h.
Definition at line 265 of file but_context_manager.h.
Definition at line 259 of file but_context_manager.h.
ros::Subscriber srs_ui_but::CButContextManager::sub_ [protected] |
Definition at line 256 of file but_context_manager.h.