#include <basic_move_controller.hpp>
Public Member Functions | |
void | backward (double distance) |
BasicMoveController (ros::NodeHandle &n) | |
BasicMoveController (ros::NodeHandle &n, const std::string &twist_topic, const std::string &odometry_topic) | |
void | forward (double distance) |
void | init () |
void | moveAt (double v, double w, double t) |
void | slowBackward () |
void | slowForward () |
void | spinClockwise () |
void | spinCounterClockwise () |
void | stop () |
void | turn (double angle) |
void | turn2 (double angle) |
void | turnClockwise () |
void | turnCounterClockwise () |
virtual | ~BasicMoveController () |
Protected Member Functions | |
void | processOdometry (const nav_msgs::Odometry::ConstPtr &msg) |
Private Attributes | |
std::string | cmd_vel_topic_ |
ros::NodeHandle | nh_ |
nav_msgs::Odometry | odometry_ |
std::string | odometry_topic_ |
ros::Publisher | pub_cmd_vel_ |
ros::Subscriber | sub_odom_ |
Definition at line 21 of file basic_move_controller.hpp.
Definition at line 10 of file basic_move_controller.cpp.
yocs_navigator::BasicMoveController::BasicMoveController | ( | ros::NodeHandle & | n, |
const std::string & | twist_topic, | ||
const std::string & | odometry_topic | ||
) |
Definition at line 16 of file basic_move_controller.cpp.
Definition at line 22 of file basic_move_controller.cpp.
void yocs_navigator::BasicMoveController::backward | ( | double | distance | ) |
Definition at line 80 of file basic_move_controller.cpp.
void yocs_navigator::BasicMoveController::forward | ( | double | distance | ) |
Definition at line 71 of file basic_move_controller.cpp.
Definition at line 26 of file basic_move_controller.cpp.
void yocs_navigator::BasicMoveController::moveAt | ( | double | v, |
double | w, | ||
double | t = 0.0 |
||
) |
Definition at line 62 of file basic_move_controller.cpp.
void yocs_navigator::BasicMoveController::processOdometry | ( | const nav_msgs::Odometry::ConstPtr & | msg | ) | [protected] |
Definition at line 32 of file basic_move_controller.cpp.
Definition at line 42 of file basic_move_controller.cpp.
Definition at line 37 of file basic_move_controller.cpp.
Definition at line 113 of file basic_move_controller.cpp.
Definition at line 125 of file basic_move_controller.cpp.
Definition at line 57 of file basic_move_controller.cpp.
void yocs_navigator::BasicMoveController::turn | ( | double | angle | ) |
Definition at line 89 of file basic_move_controller.cpp.
void yocs_navigator::BasicMoveController::turn2 | ( | double | angle | ) |
Definition at line 100 of file basic_move_controller.cpp.
Definition at line 47 of file basic_move_controller.cpp.
Definition at line 52 of file basic_move_controller.cpp.
std::string yocs_navigator::BasicMoveController::cmd_vel_topic_ [private] |
Definition at line 54 of file basic_move_controller.hpp.
Definition at line 49 of file basic_move_controller.hpp.
nav_msgs::Odometry yocs_navigator::BasicMoveController::odometry_ [private] |
Definition at line 53 of file basic_move_controller.hpp.
std::string yocs_navigator::BasicMoveController::odometry_topic_ [private] |
Definition at line 55 of file basic_move_controller.hpp.
Definition at line 50 of file basic_move_controller.hpp.
Definition at line 51 of file basic_move_controller.hpp.