![]() |
optoOIS
|
Parent class => FeedbackSystem
.
More...
Public Member Functions | |
| __init__ (self, board=None) | |
| init (self) | |
| is_init_done (self) | |
| reset_init_done (self) | |
| get_map_channels (self, channel, name) | |
| set_reg (self, channel, name, value) | |
| get_reg (self, channel, name) | |
| get_value (self, channel) | |
| get_value_id (self, channel) | |
| get_hf (self, channel) | |
| get_hf_id (self, channel) | |
| get_t_comp_type (self) | |
| set_t_comp_type (self, type=0) | |
| get_temp (self, channel) | |
| get_temperature (self, channel=0) | |
| get_temp_raw (self, channel) | |
| get_temp_offset (self, channel) | |
| get_temp_gain (self, channel) | |
| get_readout (self) | |
| start_readout (self) | |
| stop_readout (self) | |
| get_i2c_address (self) | |
| get_temp_value (self, channel) | |
| get_hf_a_values (self) | |
| get_hf_b_values (self) | |
| get_hf_c_values (self) | |
| set_current_compensation_matrix (self, vector) | |
| get_current_compensation_matrix (self, count=18) | |
Static Public Member Functions | |
| help () | |
Public Attributes | |
| int | sys_id = 0x2B |
| dict | hf_run |
| dict | hf_cb_a |
| dict | hf_cb_b |
| dict | hf_cb_c |
| dict | hf_a |
| dict | hf_b |
| dict | hf_c |
| dict | filter_type |
| dict | burst_size |
| dict | t_comp_type |
| dict | hf_init |
| dict | hf_init_done |
| dict | i2c_address |
| dict | hf_temp_a |
| dict | hf_cb_ay |
| dict | hf_cb_by |
| dict | hf_cb_cy |
| dict | hf_cb_az |
| dict | hf_cb_bz |
| dict | hf_cb_cz |
| dict | vec_comp_matrix = {'id': self.sys_id << 8 | 0x00, 'type': float} |
| name = self.__class__.__name__ | |
| dict | map_channels_hf = {0: 'hf_cb_a', 1: 'hf_cb_b', 2: 'hf_cb_c'} |
| dict | map_channels = {0: '_a', 1: '_b', 2: '_c'} |
| dict | map_channels_temp = {0: 'temp_a', 1: 'temp_b', 2: 'temp_c'} |
| dict | map_channels_temp_raw = {0: 'temp_raw_a', 1: 'temp_raw_b', 2: 'temp_raw_c'} |
| dict | map_channels_temp_offset = {0: 'temp_offset_a', 1: 'temp_offset_b', 2: 'temp_offset_c'} |
| dict | map_channels_temp_gain = {0: 'temp_gain_a', 1: 'temp_gain_b', 2: 'temp_gain_c'} |
| int | n_sensors = 3 |
Static Protected Attributes | |
| bool | _is_a_system = True |
Parent class => FeedbackSystem
.
Device Functionality - Hall Feedback System ID: 0x2B * The hall feedback system provides information about the actual position of actuator. * It also includes the parameter registers for setup of the hall sensors. * Caution - sensors readout callbacks has to be disabled while operating actuator's eeprom! * * ### Register Map: * * | Address | Name | Default Value | Description | Type | Access | * |---------|-------------|---------------|------------------------------------------------|--------|------------| * | 0x2B00 | HFrunCB | false (or 0) | Enable/Disable sensors readout callbacks | boolean| read write | * | 0x2B01 | HFvalCB_A | N/A | Magnetic field normalised value channel A | float | read only | * | 0x2B02 | HFvalCB_B | N/A | Magnetic field normalised value channel B | float | read only | * | 0x2B03 | HFvalCB_C | N/A | Magnetic field normalised value channel C | float | read only | * | 0x2B04 | HFval_A | N/A | Magnetic field raw value channel A | uint16 | read only | * | 0x2B05 | HFval_B | N/A | Magnetic field raw value channel B | uint16 | read only | * | 0x2B06 | HFval_C | N/A | Magnetic field raw value channel C | uint16 | read only | * | 0x2B07 | FILTER_TYPE | 0 | Digital filter type [0=NONE, 1=FIR, 2=IIR] | uint8 | read write | * | 0x2B08 | BURST_SIZE | 0 | Filter burst size 2^val [0=1sample,..3=8sampl.]| uint8 | read write | * | 0x2B09 | T_COMP_TYPE | 0 | Sensor int.temp.comp.type [0=NONE,1=NEO,2=CER] | uint8 | read write | * | 0x2B0A | HFinit | N/A | Sensor initialization | boolean| write | * | 0x2B0B | HFinit_done | false (or 0) | Sensor initialization done information | boolean| read write | * | 0x2B0C | I2C_address | N/A | Sensor I2C address detected on initialization | uint8 | read only | * | 0x2B0D | HFtemp_A | N/A | Sensor #0 temperature | float | read only | * |---------|-------------|---------------|------------------------------------------------|--------|------------| */
| optoOIS.registers.mre3ois_registers.HallFeedback.__init__ | ( | self, | |
| board = None ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_current_compensation_matrix | ( | self, | |
| count = 18 ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_hf | ( | self, | |
| channel ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_hf_a_values | ( | self | ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_hf_b_values | ( | self | ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_hf_c_values | ( | self | ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_hf_id | ( | self, | |
| channel ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_i2c_address | ( | self | ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_map_channels | ( | self, | |
| channel, | |||
| name ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_readout | ( | self | ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_reg | ( | self, | |
| channel, | |||
| name ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_t_comp_type | ( | self | ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_temp | ( | self, | |
| channel ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_temp_gain | ( | self, | |
| channel ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_temp_offset | ( | self, | |
| channel ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_temp_raw | ( | self, | |
| channel ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_temp_value | ( | self, | |
| channel ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_temperature | ( | self, | |
| channel = 0 ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_value | ( | self, | |
| channel ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.get_value_id | ( | self, | |
| channel ) |
|
static |
| optoOIS.registers.mre3ois_registers.HallFeedback.init | ( | self | ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.is_init_done | ( | self | ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.reset_init_done | ( | self | ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.set_current_compensation_matrix | ( | self, | |
| vector ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.set_reg | ( | self, | |
| channel, | |||
| name, | |||
| value ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.set_t_comp_type | ( | self, | |
| type = 0 ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.start_readout | ( | self | ) |
| optoOIS.registers.mre3ois_registers.HallFeedback.stop_readout | ( | self | ) |
|
staticprotected |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.burst_size |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.filter_type |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_a |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_b |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_c |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_cb_a |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_cb_ay |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_cb_az |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_cb_b |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_cb_by |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_cb_bz |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_cb_c |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_cb_cy |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_cb_cz |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_init |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_init_done |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_run |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.hf_temp_a |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.i2c_address |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.map_channels = {0: '_a', 1: '_b', 2: '_c'} |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.map_channels_hf = {0: 'hf_cb_a', 1: 'hf_cb_b', 2: 'hf_cb_c'} |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.map_channels_temp = {0: 'temp_a', 1: 'temp_b', 2: 'temp_c'} |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.map_channels_temp_gain = {0: 'temp_gain_a', 1: 'temp_gain_b', 2: 'temp_gain_c'} |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.map_channels_temp_offset = {0: 'temp_offset_a', 1: 'temp_offset_b', 2: 'temp_offset_c'} |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.map_channels_temp_raw = {0: 'temp_raw_a', 1: 'temp_raw_b', 2: 'temp_raw_c'} |
| int optoOIS.registers.mre3ois_registers.HallFeedback.n_sensors = 3 |
| optoOIS.registers.mre3ois_registers.HallFeedback.name = self.__class__.__name__ |
| int optoOIS.registers.mre3ois_registers.HallFeedback.sys_id = 0x2B |
| dict optoOIS.registers.mre3ois_registers.HallFeedback.t_comp_type |
| optoOIS.registers.mre3ois_registers.HallFeedback.vec_comp_matrix = {'id': self.sys_id << 8 | 0x00, 'type': float} |