Public Member Functions | Public Attributes | List of all members
seed_smartactuator_sdk.seed3_command.SeedCommand Class Reference

Public Member Functions

def __init__ (self)
 
def actuate_continuous_absolute_position (self, id_num, time, pos)
 
def close_com (self)
 
def get_position (self, id_num)
 
def int2hex (self, value, byte=1)
 
def int2str (self, value, byte=1)
 
def on_servo (self, id_num, data)
 
def open_com (self)
 
def open_port (self, port='/dev/ttyACM0', baud=115200)
 
def read_serial_command (self)
 
def run_script (self, id_num, s_num)
 
def stop_motor (self, id_num)
 
def wait_for_script_end (self, _number)
 
def write_buffer (self, send_data)
 
def write_serial_command (self, id_num, d3, d4, d5, d6, d7, d8)
 

Public Attributes

 ser
 

Detailed Description

Definition at line 7 of file seed3_command.py.

Constructor & Destructor Documentation

def seed_smartactuator_sdk.seed3_command.SeedCommand.__init__ (   self)

Definition at line 8 of file seed3_command.py.

Member Function Documentation

def seed_smartactuator_sdk.seed3_command.SeedCommand.actuate_continuous_absolute_position (   self,
  id_num,
  time,
  pos 
)

Definition at line 120 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.close_com (   self)

Definition at line 20 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.get_position (   self,
  id_num 
)

Definition at line 79 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.int2hex (   self,
  value,
  byte = 1 
)

Definition at line 30 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.int2str (   self,
  value,
  byte = 1 
)

Definition at line 25 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.on_servo (   self,
  id_num,
  data 
)

Definition at line 101 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.open_com (   self)

Definition at line 15 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.open_port (   self,
  port = '/dev/ttyACM0',
  baud = 115200 
)

Definition at line 11 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.read_serial_command (   self)

Definition at line 61 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.run_script (   self,
  id_num,
  s_num 
)

Definition at line 107 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.stop_motor (   self,
  id_num 
)

Definition at line 104 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.wait_for_script_end (   self,
  _number 
)

Definition at line 111 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.write_buffer (   self,
  send_data 
)

Definition at line 35 of file seed3_command.py.

def seed_smartactuator_sdk.seed3_command.SeedCommand.write_serial_command (   self,
  id_num,
  d3,
  d4,
  d5,
  d6,
  d7,
  d8 
)

Definition at line 41 of file seed3_command.py.

Member Data Documentation

seed_smartactuator_sdk.seed3_command.SeedCommand.ser

Definition at line 12 of file seed3_command.py.


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


seed_smartactuator_sdk
Author(s):
autogenerated on Mon Nov 2 2020 03:39:20