Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
walker.Walker Class Reference

List of all members.

Public Member Functions

def __init__
def get_dist_to_ready
def init_walk
def is_walking
def rescale
def set_velocity
def start
def stop
def update_velocity

Public Attributes

 current_velocity
 darwin
 func
 ready_pos
 running
 velocity
 walking

Private Member Functions

def _cb_cmd_vel
def _do_walk

Private Attributes

 _sub_cmd_vel
 _th_walk

Detailed Description

Class for making PhantomX walk

Definition at line 199 of file walker.py.


Constructor & Destructor Documentation

def walker.Walker.__init__ (   self,
  darwin 
)

Definition at line 201 of file walker.py.


Member Function Documentation

def walker.Walker._cb_cmd_vel (   self,
  msg 
) [private]
Catches cmd_vel and update walker speed

Definition at line 217 of file walker.py.

def walker.Walker._do_walk (   self) [private]
Main walking loop

Smoothly update velocity vectors and apply corresponding angles.

Definition at line 252 of file walker.py.

Definition at line 311 of file walker.py.

def walker.Walker.init_walk (   self)
If not there yet, go to initial walk position

Definition at line 226 of file walker.py.

def walker.Walker.is_walking (   self)

Definition at line 288 of file walker.py.

def walker.Walker.rescale (   self,
  angles,
  coef 
)

Definition at line 295 of file walker.py.

def walker.Walker.set_velocity (   self,
  x,
  y,
  t 
)

Definition at line 249 of file walker.py.

def walker.Walker.start (   self)

Definition at line 232 of file walker.py.

def walker.Walker.stop (   self)

Definition at line 240 of file walker.py.

def walker.Walker.update_velocity (   self,
  target,
  n 
)

Definition at line 305 of file walker.py.


Member Data Documentation

Definition at line 201 of file walker.py.

Definition at line 201 of file walker.py.

Definition at line 255 of file walker.py.

Definition at line 201 of file walker.py.

Definition at line 201 of file walker.py.

Definition at line 201 of file walker.py.

Definition at line 201 of file walker.py.

Definition at line 201 of file walker.py.

Definition at line 201 of file walker.py.


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


phantomx_gazebo
Author(s): Philippe Capdepuy
autogenerated on Thu Aug 27 2015 14:22:51