Class PoseTool

Inheritance Relationships

Base Type

  • public rviz_common::Tool

Derived Types

Class Documentation

class PoseTool : public rviz_common::Tool

Subclassed by rviz_default_plugins::tools::GoalTool, rviz_default_plugins::tools::InitialPoseTool

Public Functions

PoseTool()
~PoseTool() override
void onInitialize() override
void activate() override
void deactivate() override
int processMouseEvent(rviz_common::ViewportMouseEvent &event) override

Protected Types

enum State

Values:

enumerator Position
enumerator Orientation

Protected Functions

virtual void onPoseSet(double x, double y, double theta) = 0
geometry_msgs::msg::Quaternion orientationAroundZAxis(double angle)
void logPose(std::string designation, geometry_msgs::msg::Point position, geometry_msgs::msg::Quaternion orientation, double angle, std::string frame)

Protected Attributes

std::shared_ptr<rviz_rendering::Arrow> arrow_
State state_
double angle_
Ogre::Vector3 arrow_position_
std::shared_ptr<rviz_rendering::ViewportProjectionFinder> projection_finder_