Defines | Typedefs | Functions
brick_imu_v2.h File Reference
#include "ip_connection.h"
Include dependency graph for brick_imu_v2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define IMU_V2_CALLBACK_ACCELERATION   32
#define IMU_V2_CALLBACK_ALL_DATA   40
#define IMU_V2_CALLBACK_ANGULAR_VELOCITY   34
#define IMU_V2_CALLBACK_GRAVITY_VECTOR   37
#define IMU_V2_CALLBACK_LINEAR_ACCELERATION   36
#define IMU_V2_CALLBACK_MAGNETIC_FIELD   33
#define IMU_V2_CALLBACK_ORIENTATION   38
#define IMU_V2_CALLBACK_QUATERNION   39
#define IMU_V2_CALLBACK_TEMPERATURE   35
#define IMU_V2_DEVICE_DISPLAY_NAME   "IMU Brick 2.0"
#define IMU_V2_DEVICE_IDENTIFIER   18
#define IMU_V2_FUNCTION_ARE_LEDS_ON   12
#define IMU_V2_FUNCTION_DISABLE_STATUS_LED   239
#define IMU_V2_FUNCTION_ENABLE_STATUS_LED   238
#define IMU_V2_FUNCTION_GET_ACCELERATION   1
#define IMU_V2_FUNCTION_GET_ACCELERATION_PERIOD   15
#define IMU_V2_FUNCTION_GET_ALL_DATA   9
#define IMU_V2_FUNCTION_GET_ALL_DATA_PERIOD   31
#define IMU_V2_FUNCTION_GET_ANGULAR_VELOCITY   3
#define IMU_V2_FUNCTION_GET_ANGULAR_VELOCITY_PERIOD   19
#define IMU_V2_FUNCTION_GET_CHIP_TEMPERATURE   242
#define IMU_V2_FUNCTION_GET_GRAVITY_VECTOR   7
#define IMU_V2_FUNCTION_GET_GRAVITY_VECTOR_PERIOD   27
#define IMU_V2_FUNCTION_GET_IDENTITY   255
#define IMU_V2_FUNCTION_GET_LINEAR_ACCELERATION   6
#define IMU_V2_FUNCTION_GET_LINEAR_ACCELERATION_PERIOD   25
#define IMU_V2_FUNCTION_GET_MAGNETIC_FIELD   2
#define IMU_V2_FUNCTION_GET_MAGNETIC_FIELD_PERIOD   17
#define IMU_V2_FUNCTION_GET_ORIENTATION   5
#define IMU_V2_FUNCTION_GET_ORIENTATION_PERIOD   23
#define IMU_V2_FUNCTION_GET_PROTOCOL1_BRICKLET_NAME   241
#define IMU_V2_FUNCTION_GET_QUATERNION   8
#define IMU_V2_FUNCTION_GET_QUATERNION_PERIOD   29
#define IMU_V2_FUNCTION_GET_TEMPERATURE   4
#define IMU_V2_FUNCTION_GET_TEMPERATURE_PERIOD   21
#define IMU_V2_FUNCTION_IS_STATUS_LED_ENABLED   240
#define IMU_V2_FUNCTION_LEDS_OFF   11
#define IMU_V2_FUNCTION_LEDS_ON   10
#define IMU_V2_FUNCTION_RESET   243
#define IMU_V2_FUNCTION_SAVE_CALIBRATION   13
#define IMU_V2_FUNCTION_SET_ACCELERATION_PERIOD   14
#define IMU_V2_FUNCTION_SET_ALL_DATA_PERIOD   30
#define IMU_V2_FUNCTION_SET_ANGULAR_VELOCITY_PERIOD   18
#define IMU_V2_FUNCTION_SET_GRAVITY_VECTOR_PERIOD   26
#define IMU_V2_FUNCTION_SET_LINEAR_ACCELERATION_PERIOD   24
#define IMU_V2_FUNCTION_SET_MAGNETIC_FIELD_PERIOD   16
#define IMU_V2_FUNCTION_SET_ORIENTATION_PERIOD   22
#define IMU_V2_FUNCTION_SET_QUATERNION_PERIOD   28
#define IMU_V2_FUNCTION_SET_TEMPERATURE_PERIOD   20

Typedefs

typedef Device IMUV2

Functions

int imu_v2_are_leds_on (IMUV2 *imu_v2, bool *ret_leds)
void imu_v2_create (IMUV2 *imu_v2, const char *uid, IPConnection *ipcon)
void imu_v2_destroy (IMUV2 *imu_v2)
int imu_v2_disable_status_led (IMUV2 *imu_v2)
int imu_v2_enable_status_led (IMUV2 *imu_v2)
int imu_v2_get_acceleration (IMUV2 *imu_v2, int16_t *ret_x, int16_t *ret_y, int16_t *ret_z)
int imu_v2_get_acceleration_period (IMUV2 *imu_v2, uint32_t *ret_period)
int imu_v2_get_all_data (IMUV2 *imu_v2, int16_t ret_acceleration[3], int16_t ret_magnetic_field[3], int16_t ret_angular_velocity[3], int16_t ret_euler_angle[3], int16_t ret_quaternion[4], int16_t ret_linear_acceleration[3], int16_t ret_gravity_vector[3], int8_t *ret_temperature, uint8_t *ret_calibration_status)
int imu_v2_get_all_data_period (IMUV2 *imu_v2, uint32_t *ret_period)
int imu_v2_get_angular_velocity (IMUV2 *imu_v2, int16_t *ret_x, int16_t *ret_y, int16_t *ret_z)
int imu_v2_get_angular_velocity_period (IMUV2 *imu_v2, uint32_t *ret_period)
int imu_v2_get_api_version (IMUV2 *imu_v2, uint8_t ret_api_version[3])
int imu_v2_get_chip_temperature (IMUV2 *imu_v2, int16_t *ret_temperature)
int imu_v2_get_gravity_vector (IMUV2 *imu_v2, int16_t *ret_x, int16_t *ret_y, int16_t *ret_z)
int imu_v2_get_gravity_vector_period (IMUV2 *imu_v2, uint32_t *ret_period)
int imu_v2_get_identity (IMUV2 *imu_v2, char ret_uid[8], char ret_connected_uid[8], char *ret_position, uint8_t ret_hardware_version[3], uint8_t ret_firmware_version[3], uint16_t *ret_device_identifier)
int imu_v2_get_linear_acceleration (IMUV2 *imu_v2, int16_t *ret_x, int16_t *ret_y, int16_t *ret_z)
int imu_v2_get_linear_acceleration_period (IMUV2 *imu_v2, uint32_t *ret_period)
int imu_v2_get_magnetic_field (IMUV2 *imu_v2, int16_t *ret_x, int16_t *ret_y, int16_t *ret_z)
int imu_v2_get_magnetic_field_period (IMUV2 *imu_v2, uint32_t *ret_period)
int imu_v2_get_orientation (IMUV2 *imu_v2, int16_t *ret_heading, int16_t *ret_roll, int16_t *ret_pitch)
int imu_v2_get_orientation_period (IMUV2 *imu_v2, uint32_t *ret_period)
int imu_v2_get_protocol1_bricklet_name (IMUV2 *imu_v2, char port, uint8_t *ret_protocol_version, uint8_t ret_firmware_version[3], char ret_name[40])
int imu_v2_get_quaternion (IMUV2 *imu_v2, int16_t *ret_w, int16_t *ret_x, int16_t *ret_y, int16_t *ret_z)
int imu_v2_get_quaternion_period (IMUV2 *imu_v2, uint32_t *ret_period)
int imu_v2_get_response_expected (IMUV2 *imu_v2, uint8_t function_id, bool *ret_response_expected)
int imu_v2_get_temperature (IMUV2 *imu_v2, int8_t *ret_temperature)
int imu_v2_get_temperature_period (IMUV2 *imu_v2, uint32_t *ret_period)
int imu_v2_is_status_led_enabled (IMUV2 *imu_v2, bool *ret_enabled)
int imu_v2_leds_off (IMUV2 *imu_v2)
int imu_v2_leds_on (IMUV2 *imu_v2)
void imu_v2_register_callback (IMUV2 *imu_v2, uint8_t id, void *callback, void *user_data)
int imu_v2_reset (IMUV2 *imu_v2)
int imu_v2_save_calibration (IMUV2 *imu_v2, bool *ret_calibration_done)
int imu_v2_set_acceleration_period (IMUV2 *imu_v2, uint32_t period)
int imu_v2_set_all_data_period (IMUV2 *imu_v2, uint32_t period)
int imu_v2_set_angular_velocity_period (IMUV2 *imu_v2, uint32_t period)
int imu_v2_set_gravity_vector_period (IMUV2 *imu_v2, uint32_t period)
int imu_v2_set_linear_acceleration_period (IMUV2 *imu_v2, uint32_t period)
int imu_v2_set_magnetic_field_period (IMUV2 *imu_v2, uint32_t period)
int imu_v2_set_orientation_period (IMUV2 *imu_v2, uint32_t period)
int imu_v2_set_quaternion_period (IMUV2 *imu_v2, uint32_t period)
int imu_v2_set_response_expected (IMUV2 *imu_v2, uint8_t function_id, bool response_expected)
int imu_v2_set_response_expected_all (IMUV2 *imu_v2, bool response_expected)
int imu_v2_set_temperature_period (IMUV2 *imu_v2, uint32_t period)


tinkerforge_laser_transform
Author(s): M.Fischer
autogenerated on Thu Jun 6 2019 20:39:25