sensors

class jiminy_py.core.AbstractSensor

Bases: Boost.Python.instance

Raises an exception This class cannot be instantiated from Python

property data
property fieldnames
get_options((AbstractSensor)arg1) dict
property idx
property is_initialized
property name
set_options((AbstractSensor)arg1, (dict)arg2) None :

Set the configuration options of the sensor.

Parameters

sensorOptions – Dictionary with the parameters of the sensor

property type
class jiminy_py.core.ImuSensor((object)self, (str)frame_name) None

Bases: jiminy_py.core.AbstractSensor

fieldnames = ['Quatx', 'Quaty', 'Quatz', 'Quatw', 'Gyrox', 'Gyroy', 'Gyroz', 'Accelx', 'Accely', 'Accelz']
property frame_idx
property frame_name
has_prefix = False
initialize((ImuSensor)arg1, (str)arg2) hresult_t
type = 'ImuSensor'
class jiminy_py.core.ContactSensor((object)self, (str)frame_name) None

Bases: jiminy_py.core.AbstractSensor

fieldnames = ['FX', 'FY', 'FZ']
property frame_idx
property frame_name
has_prefix = False
initialize((ContactSensor)arg1, (str)arg2) hresult_t
type = 'ContactSensor'
class jiminy_py.core.ForceSensor((object)self, (str)frame_name) None

Bases: jiminy_py.core.AbstractSensor

fieldnames = ['FX', 'FY', 'FZ', 'MX', 'MY', 'MZ']
property frame_idx
property frame_name
has_prefix = False
initialize((ForceSensor)arg1, (str)arg2) hresult_t
property joint_idx
type = 'ForceSensor'
class jiminy_py.core.EncoderSensor((object)self, (str)joint_name) None

Bases: jiminy_py.core.AbstractSensor

fieldnames = ['Q', 'V']
has_prefix = True
initialize((EncoderSensor)arg1, (str)arg2) hresult_t
property joint_idx
property joint_name
property joint_type
type = 'EncoderSensor'
class jiminy_py.core.EffortSensor((object)self, (str)joint_name) None

Bases: jiminy_py.core.AbstractSensor

fieldnames = ['U']
has_prefix = True
initialize((EffortSensor)arg1, (str)arg2) hresult_t
property motor_idx
property motor_name
type = 'EffortSensor'