Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
|
Public Member Functions | |
def | __init__ (self, pub, element_attr, list_attr='') |
def | getElementFromAttributeArray (self, attr_array, data) |
def | normalize (self, array) |
def | convertQuatToVector3 (self, quat) |
def | handle_list (self, msg) |
def | handle_individual (self, msg) |
Public Attributes | |
element_attr_array | |
list_attr_array | |
pub | |
Definition at line 45 of file extract_rpy_from_quat.py.
def extract_rpy_from_quat.Converter.__init__ | ( | self, | |
pub, | |||
element_attr, | |||
list_attr = '' |
|||
) |
Definition at line 46 of file extract_rpy_from_quat.py.
def extract_rpy_from_quat.Converter.convertQuatToVector3 | ( | self, | |
quat | |||
) |
Definition at line 71 of file extract_rpy_from_quat.py.
References extract_rpy_from_quat.Converter.normalize().
Referenced by extract_rpy_from_quat.Converter.handle_individual(), and extract_rpy_from_quat.Converter.handle_list().
def extract_rpy_from_quat.Converter.getElementFromAttributeArray | ( | self, | |
attr_array, | |||
data | |||
) |
Definition at line 51 of file extract_rpy_from_quat.py.
Referenced by extract_rpy_from_quat.Converter.handle_individual(), and extract_rpy_from_quat.Converter.handle_list().
def extract_rpy_from_quat.Converter.handle_individual | ( | self, | |
msg | |||
) |
Definition at line 94 of file extract_rpy_from_quat.py.
References extract_rpy_from_quat.Converter.convertQuatToVector3(), extract_rpy_from_quat.Converter.element_attr_array, extract_rpy_from_quat.Converter.getElementFromAttributeArray(), and extract_rpy_from_quat.Converter.pub.
def extract_rpy_from_quat.Converter.handle_list | ( | self, | |
msg | |||
) |
Definition at line 81 of file extract_rpy_from_quat.py.
References extract_rpy_from_quat.Converter.convertQuatToVector3(), extract_rpy_from_quat.Converter.element_attr_array, extract_rpy_from_quat.Converter.getElementFromAttributeArray(), extract_rpy_from_quat.Converter.list_attr_array, and extract_rpy_from_quat.Converter.pub.
def extract_rpy_from_quat.Converter.normalize | ( | self, | |
array | |||
) |
Normalize a 4 element array/list/numpy.array for use as a quaternion :param quat_array: 4 element list/array :returns: normalized array :rtype: numpy array
Definition at line 61 of file extract_rpy_from_quat.py.
Referenced by extract_rpy_from_quat.Converter.convertQuatToVector3().
extract_rpy_from_quat.Converter.element_attr_array |
Definition at line 47 of file extract_rpy_from_quat.py.
Referenced by extract_rpy_from_quat.Converter.handle_individual(), and extract_rpy_from_quat.Converter.handle_list().
extract_rpy_from_quat.Converter.list_attr_array |
Definition at line 48 of file extract_rpy_from_quat.py.
Referenced by extract_rpy_from_quat.Converter.handle_list().
extract_rpy_from_quat.Converter.pub |
Definition at line 49 of file extract_rpy_from_quat.py.
Referenced by extract_rpy_from_quat.Converter.handle_individual(), and extract_rpy_from_quat.Converter.handle_list().