sensors

class jiminy_py.core.AbstractSensor

Bases: instance

Raises an exception This class cannot be instantiated from Python

property data

fget( (AbstractSensor)self) -> numpy.ndarray fset( (AbstractSensor)self) -> None

property fieldnames

fget( (AbstractSensor)self) -> StdVec_StdString

get_options((AbstractSensor)arg1) dict
property index

fget( (AbstractSensor)self) -> int

property is_attached

fget( (AbstractSensor)self) -> bool

property is_initialized

fget( (AbstractSensor)self) -> bool

property name

fget( (AbstractSensor)self) -> str

set_options((AbstractSensor)arg1, (dict)arg2) None
property type

fget( (AbstractSensor)self) -> str

class jiminy_py.core.ImuSensor((object)self, (str)name)

Bases: AbstractSensor

fieldnames = ['GyroX', 'GyroY', 'GyroZ', 'AccelX', 'AccelY', 'AccelZ']
property frame_index

fget( (ImuSensor)self) -> int

property frame_name

fget( (ImuSensor)self) -> str

initialize((ImuSensor)self, (str)frame_name) None
type = 'ImuSensor'
class jiminy_py.core.ContactSensor((object)self, (str)name)

Bases: AbstractSensor

fieldnames = ['FX', 'FY', 'FZ']
property frame_index

fget( (ContactSensor)self) -> int

property frame_name

fget( (ContactSensor)self) -> str

initialize((ContactSensor)self, (str)frame_name) None
type = 'ContactSensor'
class jiminy_py.core.ForceSensor((object)self, (str)name)

Bases: AbstractSensor

fieldnames = ['FX', 'FY', 'FZ', 'MX', 'MY', 'MZ']
property frame_index

fget( (ForceSensor)self) -> int

property frame_name

fget( (ForceSensor)self) -> str

initialize((ForceSensor)self, (str)frame_name) None
property joint_index

fget( (ForceSensor)self) -> int

type = 'ForceSensor'
class jiminy_py.core.EncoderSensor((object)self, (str)name)

Bases: AbstractSensor

fieldnames = ['Q', 'V']
initialize((EncoderSensor)self[, (object)motor_name=None[, (object)joint_name=None]]) None
property joint_index

fget( (EncoderSensor)self) -> int

property joint_name

fget( (EncoderSensor)self) -> str

property motor_index

fget( (EncoderSensor)self) -> int

property motor_name

fget( (EncoderSensor)self) -> str

type = 'EncoderSensor'
class jiminy_py.core.EffortSensor((object)self, (str)name)

Bases: AbstractSensor

fieldnames = ['U']
initialize((EffortSensor)self, (str)motor_name) None
property motor_index

fget( (EffortSensor)self) -> int

property motor_name

fget( (EffortSensor)self) -> str

type = 'EffortSensor'
class jiminy_py.core.SensorMeasurementTree((object)self, (dict)sensor_measurements)

Bases: instance

items((SensorMeasurementTree)self) list
keys((SensorMeasurementTree)self) list

keys( (SensorMeasurementTree)self, (str)sensor_type) -> list

values((SensorMeasurementTree)self) list