Public Member Functions | Protected Member Functions | Private Attributes
yocs_navigator::BasicMoveController Class Reference

#include <basic_move_controller.hpp>

List of all members.

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_

Detailed Description

Definition at line 21 of file basic_move_controller.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

Definition at line 80 of file basic_move_controller.cpp.

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.

Definition at line 89 of file basic_move_controller.cpp.

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.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following files:


yocs_navigator
Author(s): Jihoon Lee, Jorge Simon Santos
autogenerated on Thu Jun 6 2019 21:47:35