turtlesim::Turtle Class Reference
#include <turtle.h>
List of all members.
Classes |
struct | TeleportRequest |
Public Member Functions |
void | paint (wxDC &dc) |
| Turtle (const ros::NodeHandle &nh, const wxImage &turtle_image, const Vector2 &pos, float orient) |
void | update (double dt, wxMemoryDC &path_dc, const wxImage &path_image, wxColour background_color, float canvas_width, float canvas_height) |
Private Types |
typedef std::vector
< TeleportRequest > | V_TeleportRequest |
Private Member Functions |
bool | setPenCallback (turtlesim::SetPen::Request &, turtlesim::SetPen::Response &) |
bool | teleportAbsoluteCallback (turtlesim::TeleportAbsolute::Request &, turtlesim::TeleportAbsolute::Response &) |
bool | teleportRelativeCallback (turtlesim::TeleportRelative::Request &, turtlesim::TeleportRelative::Response &) |
void | velocityCallback (const VelocityConstPtr &vel) |
Private Attributes |
float | ang_vel_ |
ros::Publisher | color_pub_ |
ros::WallTime | last_command_time_ |
float | lin_vel_ |
float | meter_ |
ros::NodeHandle | nh_ |
float | orient_ |
wxPen | pen_ |
bool | pen_on_ |
Vector2 | pos_ |
ros::Publisher | pose_pub_ |
ros::ServiceServer | set_pen_srv_ |
ros::ServiceServer | teleport_absolute_srv_ |
ros::ServiceServer | teleport_relative_srv_ |
V_TeleportRequest | teleport_requests_ |
wxBitmap | turtle_ |
wxImage | turtle_image_ |
ros::Subscriber | velocity_sub_ |
Detailed Description
Definition at line 76 of file turtle.h.
Member Typedef Documentation
Constructor & Destructor Documentation
turtlesim::Turtle::Turtle |
( |
const ros::NodeHandle & |
nh, |
|
|
const wxImage & |
turtle_image, |
|
|
const Vector2 & |
pos, |
|
|
float |
orient | |
|
) |
| | |
Member Function Documentation
void turtlesim::Turtle::paint |
( |
wxDC & |
dc |
) |
|
void turtlesim::Turtle::update |
( |
double |
dt, |
|
|
wxMemoryDC & |
path_dc, |
|
|
const wxImage & |
path_image, |
|
|
wxColour |
background_color, |
|
|
float |
canvas_width, |
|
|
float |
canvas_height | |
|
) |
| | |
void turtlesim::Turtle::velocityCallback |
( |
const VelocityConstPtr & |
vel |
) |
[private] |
Member Data Documentation
The documentation for this class was generated from the following files: