Classes | Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes
Teleop Class Reference

#include <uos_diffdrive_teleop.h>

Inheritance diagram for Teleop:
Inheritance graph
[legend]

List of all members.

Classes

struct  acceleration
struct  inputs
struct  velocity

Public Member Functions

 Teleop ()

Protected Attributes

inputs in
ros::NodeHandle n_

Private Member Functions

double adaptVelocity (double time_delta, double velocity, double factor, double acc_stop, double acc_neg, double acc_pos)
void updateInputs (const ros::TimerEvent &t_event)
void updateVelocity (const ros::TimerEvent &t_event)

Private Attributes

acceleration acc_x
acceleration acc_y
ros::Timer key_timer
double max_rot_vel
double max_vel
double update_inputs_rate
double update_velocity_rate
geometry_msgs::Twist vel_cmd
ros::Publisher vel_pub
ros::Timer vel_timer
velocity velo

Detailed Description

Definition at line 33 of file uos_diffdrive_teleop.h.


Constructor & Destructor Documentation

Definition at line 27 of file uos_diffdrive_teleop.cpp.


Member Function Documentation

double Teleop::adaptVelocity ( double  time_delta,
double  velocity,
double  factor,
double  acc_stop,
double  acc_neg,
double  acc_pos 
) [private]

Definition at line 115 of file uos_diffdrive_teleop.cpp.

void Teleop::updateInputs ( const ros::TimerEvent t_event) [private]

Definition at line 107 of file uos_diffdrive_teleop.cpp.

void Teleop::updateVelocity ( const ros::TimerEvent t_event) [private]

Definition at line 68 of file uos_diffdrive_teleop.cpp.


Member Data Documentation

Definition at line 57 of file uos_diffdrive_teleop.h.

Definition at line 56 of file uos_diffdrive_teleop.h.

inputs Teleop::in [protected]

Definition at line 85 of file uos_diffdrive_teleop.h.

Definition at line 38 of file uos_diffdrive_teleop.h.

double Teleop::max_rot_vel [private]

Definition at line 47 of file uos_diffdrive_teleop.h.

double Teleop::max_vel [private]

Definition at line 46 of file uos_diffdrive_teleop.h.

Definition at line 86 of file uos_diffdrive_teleop.h.

double Teleop::update_inputs_rate [private]

Definition at line 40 of file uos_diffdrive_teleop.h.

double Teleop::update_velocity_rate [private]

Definition at line 41 of file uos_diffdrive_teleop.h.

geometry_msgs::Twist Teleop::vel_cmd [private]

Definition at line 49 of file uos_diffdrive_teleop.h.

Definition at line 36 of file uos_diffdrive_teleop.h.

Definition at line 37 of file uos_diffdrive_teleop.h.

Definition at line 65 of file uos_diffdrive_teleop.h.


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


uos_diffdrive_teleop
Author(s): Jochen Sprickerhof, Sebastian Pütz
autogenerated on Wed May 24 2017 03:03:01