#include <mip/mip_all.h>
#include <mip/utils/serial_port.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <time.h>
Go to the source code of this file.
Functions | |
void | exit_gracefully (const char *message) |
timestamp_type | get_current_timestamp () |
void | handle_filter_event_source (void *user, const mip_field *field, timestamp_type timestamp) |
int | main (int argc, const char *argv[]) |
bool | mip_interface_user_recv_from_device (mip_interface *device, uint8_t *buffer, size_t max_length, timeout_type wait_time, size_t *out_length, timestamp_type *timestamp_out) |
bool | mip_interface_user_send_to_device (mip_interface *device, const uint8_t *data, size_t length) |
bool | should_exit () |
int | usage (const char *argv0) |
Variables | |
mip_interface | device |
serial_port | device_port |
mip_filter_euler_angles_data | filter_euler_angles |
mip_shared_gps_timestamp_data | filter_gps_time |
const uint8_t | FILTER_PITCH_EVENT_ACTION_ID = 2 |
const uint8_t | FILTER_ROLL_EVENT_ACTION_ID = 1 |
bool | filter_state_ahrs = false |
mip_filter_status_data | filter_status |
uint8_t | parse_buffer [1024] |
int | port = -1 |
mip_sensor_scaled_accel_data | sensor_accel |
mip_shared_gps_timestamp_data | sensor_gps_time |
mip_sensor_scaled_gyro_data | sensor_gyro |
mip_sensor_scaled_mag_data | sensor_mag |
float | sensor_to_vehicle_transformation_euler [3] = {0.0, 0.0, 0.0} |
clock_t | start_time |
void exit_gracefully | ( | const char * | message | ) |
Definition at line 423 of file CV7_example.c.
timestamp_type get_current_timestamp | ( | ) |
Definition at line 376 of file CV7_example.c.
void handle_filter_event_source | ( | void * | user, |
const mip_field * | field, | ||
timestamp_type | timestamp | ||
) |
Definition at line 358 of file CV7_example.c.
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 92 of file CV7_example.c.
bool mip_interface_user_recv_from_device | ( | mip_interface * | device, |
uint8_t * | buffer, | ||
size_t | max_length, | ||
timeout_type | wait_time, | ||
size_t * | out_length, | ||
timestamp_type * | timestamp_out | ||
) |
Definition at line 389 of file CV7_example.c.
bool mip_interface_user_send_to_device | ( | mip_interface * | device, |
const uint8_t * | data, | ||
size_t | length | ||
) |
Definition at line 400 of file CV7_example.c.
bool should_exit | ( | ) |
Definition at line 444 of file CV7_example.c.
int usage | ( | const char * | argv0 | ) |
Definition at line 412 of file CV7_example.c.
mip_interface device |
Definition at line 47 of file CV7_example.c.
serial_port device_port |
THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, PARKER MICROSTRAIN SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
Definition at line 42 of file CV7_example.c.
mip_filter_euler_angles_data filter_euler_angles |
Definition at line 60 of file CV7_example.c.
mip_shared_gps_timestamp_data filter_gps_time |
Definition at line 58 of file CV7_example.c.
const uint8_t FILTER_PITCH_EVENT_ACTION_ID = 2 |
Definition at line 65 of file CV7_example.c.
const uint8_t FILTER_ROLL_EVENT_ACTION_ID = 1 |
Definition at line 64 of file CV7_example.c.
bool filter_state_ahrs = false |
Definition at line 62 of file CV7_example.c.
mip_filter_status_data filter_status |
Definition at line 59 of file CV7_example.c.
uint8_t parse_buffer[1024] |
Definition at line 46 of file CV7_example.c.
int port = -1 |
Definition at line 45 of file CV7_example.c.
mip_sensor_scaled_accel_data sensor_accel |
Definition at line 54 of file CV7_example.c.
mip_shared_gps_timestamp_data sensor_gps_time |
Definition at line 53 of file CV7_example.c.
mip_sensor_scaled_gyro_data sensor_gyro |
Definition at line 55 of file CV7_example.c.
mip_sensor_scaled_mag_data sensor_mag |
Definition at line 56 of file CV7_example.c.
float sensor_to_vehicle_transformation_euler[3] = {0.0, 0.0, 0.0} |
Definition at line 50 of file CV7_example.c.
clock_t start_time |
Definition at line 43 of file CV7_example.c.