#include <turtlebot3_drive.h>
Public Member Functions | |
bool | controlLoop () |
bool | init () |
Turtlebot3Drive () | |
~Turtlebot3Drive () | |
Private Member Functions | |
void | jointStateMsgCallBack (const sensor_msgs::JointState::ConstPtr &msg) |
void | laserScanMsgCallBack (const sensor_msgs::LaserScan::ConstPtr &msg) |
void | updatecommandVelocity (double linear, double angular) |
Private Attributes | |
ros::Publisher | cmd_vel_pub_ |
double | direction_vector_ [3] = {0.0, 0.0, 0.0} |
double | front_distance_limit_ |
bool | is_debug_ |
ros::Subscriber | joint_state_sub_ |
ros::Subscriber | laser_scan_sub_ |
ros::NodeHandle | nh_ |
ros::NodeHandle | nh_priv_ |
double | priv_right_joint_encoder_ |
double | right_joint_encoder_ |
double | rotate_angle_ |
double | side_distance_limit_ |
double | turning_radius_ |
Definition at line 50 of file turtlebot3_drive.h.
Turtlebot3Drive::Turtlebot3Drive | ( | ) |
Definition at line 21 of file turtlebot3_drive.cpp.
Turtlebot3Drive::~Turtlebot3Drive | ( | ) |
Definition at line 29 of file turtlebot3_drive.cpp.
bool Turtlebot3Drive::controlLoop | ( | ) |
Definition at line 113 of file turtlebot3_drive.cpp.
bool Turtlebot3Drive::init | ( | ) |
Definition at line 38 of file turtlebot3_drive.cpp.
|
private |
Definition at line 78 of file turtlebot3_drive.cpp.
|
private |
Definition at line 83 of file turtlebot3_drive.cpp.
|
private |
Definition at line 100 of file turtlebot3_drive.cpp.
|
private |
Definition at line 69 of file turtlebot3_drive.h.
|
private |
Definition at line 80 of file turtlebot3_drive.h.
|
private |
Definition at line 77 of file turtlebot3_drive.h.
|
private |
Definition at line 64 of file turtlebot3_drive.h.
|
private |
Definition at line 73 of file turtlebot3_drive.h.
|
private |
Definition at line 72 of file turtlebot3_drive.h.
|
private |
Definition at line 60 of file turtlebot3_drive.h.
|
private |
Definition at line 61 of file turtlebot3_drive.h.
|
private |
Definition at line 83 of file turtlebot3_drive.h.
|
private |
Definition at line 82 of file turtlebot3_drive.h.
|
private |
Definition at line 76 of file turtlebot3_drive.h.
|
private |
Definition at line 78 of file turtlebot3_drive.h.
|
private |
Definition at line 75 of file turtlebot3_drive.h.