Public Member Functions | Public Attributes | Static Public Attributes | List of all members
sr_latching_example.LatchingExample Class Reference
Inheritance diagram for sr_latching_example.LatchingExample:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def create_hand_publishers (self, keys_prefixed)
 
def publish_pose (self, pose)
 
def run (self)
 

Public Attributes

 hand_publishers
 
 keys
 
 keys_prefixed
 
 prefix
 
 sleep_time
 

Static Public Attributes

string controller_type = "_position_controller"
 

Detailed Description

Definition at line 32 of file sr_latching_example.py.

Constructor & Destructor Documentation

def sr_latching_example.LatchingExample.__init__ (   self)

Definition at line 36 of file sr_latching_example.py.

Member Function Documentation

def sr_latching_example.LatchingExample.create_hand_publishers (   self,
  keys_prefixed 
)
Creates a dictionary of publishers to send the targets to the controllers
on /sh_??_??j?_mixed_position_velocity_controller/command
or /sh_??_??j?_position_controller/command

Definition at line 119 of file sr_latching_example.py.

def sr_latching_example.LatchingExample.publish_pose (   self,
  pose 
)
Publish a given pose.

Definition at line 112 of file sr_latching_example.py.

def sr_latching_example.LatchingExample.run (   self)
Runs the hand through different predefined position in a given order.

Definition at line 55 of file sr_latching_example.py.

Member Data Documentation

string sr_latching_example.LatchingExample.controller_type = "_position_controller"
static

Definition at line 34 of file sr_latching_example.py.

sr_latching_example.LatchingExample.hand_publishers

Definition at line 51 of file sr_latching_example.py.

sr_latching_example.LatchingExample.keys

Definition at line 41 of file sr_latching_example.py.

sr_latching_example.LatchingExample.keys_prefixed

Definition at line 48 of file sr_latching_example.py.

sr_latching_example.LatchingExample.prefix

Definition at line 39 of file sr_latching_example.py.

sr_latching_example.LatchingExample.sleep_time

Definition at line 53 of file sr_latching_example.py.


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


sr_example
Author(s): Ugo Cupcic
autogenerated on Wed Oct 14 2020 04:05:12