Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
sphero.SpheroNode Class Reference

List of all members.

Public Member Functions

def __init__
def cmd_vel
def configure_collision_detect
def normalize_angle_positive
def parse_collision
def parse_data_strm
def parse_power_notify
def publish_diagnostics
def reconfigure
def set_angular_velocity
def set_back_led
def set_color
def set_heading
def set_stabilization
def spin
def start
def stop

Public Attributes

 angular_velocity_sub
 back_led_sub
 cmd_heading
 cmd_speed
 cmd_vel_sub
 cmd_vel_timeout
 collision
 collision_pub
 color_sub
 connect_color_blue
 connect_color_green
 connect_color_red
 diag_pub
 diag_update_rate
 heading_sub
 imu
 imu_pub
 is_connected
 last_cmd_vel_time
 last_diagnostics_time
 odom_pub
 power_state
 power_state_msg
 reconfigure_srv
 robot
 sampling_divisor
 stabilization_sub
 transform_broadcaster
 update_rate

Static Public Attributes

dictionary battery_state
list ODOM_POSE_COVARIANCE
list ODOM_TWIST_COVARIANCE

Private Member Functions

def _init_params
def _init_pubsub

Detailed Description

Definition at line 53 of file sphero.py.


Constructor & Destructor Documentation

def sphero.SpheroNode.__init__ (   self,
  default_update_rate = 50.0 
)

Definition at line 75 of file sphero.py.


Member Function Documentation

def sphero.SpheroNode._init_params (   self) [private]

Definition at line 109 of file sphero.py.

def sphero.SpheroNode._init_pubsub (   self) [private]

Definition at line 95 of file sphero.py.

def sphero.SpheroNode.cmd_vel (   self,
  msg 
)

Definition at line 231 of file sphero.py.

Definition at line 263 of file sphero.py.

def sphero.SpheroNode.normalize_angle_positive (   self,
  angle 
)

Definition at line 116 of file sphero.py.

def sphero.SpheroNode.parse_collision (   self,
  data 
)

Definition at line 176 of file sphero.py.

def sphero.SpheroNode.parse_data_strm (   self,
  data 
)

Definition at line 199 of file sphero.py.

def sphero.SpheroNode.parse_power_notify (   self,
  data 
)

Definition at line 194 of file sphero.py.

def sphero.SpheroNode.publish_diagnostics (   self,
  time 
)

Definition at line 162 of file sphero.py.

def sphero.SpheroNode.reconfigure (   self,
  config,
  level 
)

Definition at line 266 of file sphero.py.

def sphero.SpheroNode.set_angular_velocity (   self,
  msg 
)

Definition at line 258 of file sphero.py.

def sphero.SpheroNode.set_back_led (   self,
  msg 
)

Definition at line 242 of file sphero.py.

def sphero.SpheroNode.set_color (   self,
  msg 
)

Definition at line 238 of file sphero.py.

def sphero.SpheroNode.set_heading (   self,
  msg 
)

Definition at line 253 of file sphero.py.

def sphero.SpheroNode.set_stabilization (   self,
  msg 
)

Definition at line 246 of file sphero.py.

def sphero.SpheroNode.spin (   self)

Definition at line 140 of file sphero.py.

def sphero.SpheroNode.start (   self)

Definition at line 119 of file sphero.py.

def sphero.SpheroNode.stop (   self)

Definition at line 154 of file sphero.py.


Member Data Documentation

Definition at line 95 of file sphero.py.

Definition at line 95 of file sphero.py.

dictionary sphero.SpheroNode::battery_state [static]
Initial value:
{1:"Battery Charging",
                      2:"Battery OK",
                      3:"Battery Low",
                      4:"Battery Critical"}

Definition at line 54 of file sphero.py.

Definition at line 75 of file sphero.py.

Definition at line 75 of file sphero.py.

Definition at line 95 of file sphero.py.

Definition at line 109 of file sphero.py.

Definition at line 176 of file sphero.py.

Definition at line 95 of file sphero.py.

Definition at line 95 of file sphero.py.

Definition at line 109 of file sphero.py.

Definition at line 109 of file sphero.py.

Definition at line 109 of file sphero.py.

Definition at line 95 of file sphero.py.

Definition at line 109 of file sphero.py.

Definition at line 95 of file sphero.py.

Definition at line 75 of file sphero.py.

Definition at line 95 of file sphero.py.

Definition at line 75 of file sphero.py.

Definition at line 75 of file sphero.py.

Definition at line 75 of file sphero.py.

Initial value:
[1e-3, 0, 0, 0, 0, 0, 
                            0, 1e-3, 0, 0, 0, 0,
                            0, 0, 1e6, 0, 0, 0,
                            0, 0, 0, 1e6, 0, 0,
                            0, 0, 0, 0, 1e6, 0,
                            0, 0, 0, 0, 0, 1e3]

Definition at line 60 of file sphero.py.

Definition at line 95 of file sphero.py.

Initial value:
[1e-3, 0, 0, 0, 0, 0, 
                             0, 1e-3, 0, 0, 0, 0,
                             0, 0, 1e6, 0, 0, 0,
                             0, 0, 0, 1e6, 0, 0,
                             0, 0, 0, 0, 1e6, 0,
                             0, 0, 0, 0, 0, 1e3]

Definition at line 68 of file sphero.py.

Definition at line 75 of file sphero.py.

Definition at line 75 of file sphero.py.

Definition at line 95 of file sphero.py.

Definition at line 75 of file sphero.py.

Definition at line 75 of file sphero.py.

Definition at line 95 of file sphero.py.

Definition at line 95 of file sphero.py.

Definition at line 75 of file sphero.py.


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


sphero_node
Author(s): Melonee Wise
autogenerated on Mon Oct 6 2014 07:45:32