Functions | Variables
CV7_example.c File Reference
#include <mip/mip_all.h>
#include <mip/utils/serial_port.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <time.h>
Include dependency graph for CV7_example.c:

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
 

Function Documentation

◆ exit_gracefully()

void exit_gracefully ( const char *  message)

Definition at line 423 of file CV7_example.c.

◆ get_current_timestamp()

timestamp_type get_current_timestamp ( )

Definition at line 376 of file CV7_example.c.

◆ handle_filter_event_source()

void handle_filter_event_source ( void *  user,
const mip_field field,
timestamp_type  timestamp 
)

Definition at line 358 of file CV7_example.c.

◆ main()

int main ( int  argc,
const char *  argv[] 
)

Definition at line 92 of file CV7_example.c.

◆ mip_interface_user_recv_from_device()

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.

◆ mip_interface_user_send_to_device()

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.

◆ should_exit()

bool should_exit ( )

Definition at line 444 of file CV7_example.c.

◆ usage()

int usage ( const char *  argv0)

Definition at line 412 of file CV7_example.c.

Variable Documentation

◆ device

mip_interface device

Definition at line 47 of file CV7_example.c.

◆ device_port

serial_port device_port

LICENSE

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.

◆ filter_euler_angles

mip_filter_euler_angles_data filter_euler_angles

Definition at line 60 of file CV7_example.c.

◆ filter_gps_time

Definition at line 58 of file CV7_example.c.

◆ FILTER_PITCH_EVENT_ACTION_ID

const uint8_t FILTER_PITCH_EVENT_ACTION_ID = 2

Definition at line 65 of file CV7_example.c.

◆ FILTER_ROLL_EVENT_ACTION_ID

const uint8_t FILTER_ROLL_EVENT_ACTION_ID = 1

Definition at line 64 of file CV7_example.c.

◆ filter_state_ahrs

bool filter_state_ahrs = false

Definition at line 62 of file CV7_example.c.

◆ filter_status

mip_filter_status_data filter_status

Definition at line 59 of file CV7_example.c.

◆ parse_buffer

uint8_t parse_buffer[1024]

Definition at line 46 of file CV7_example.c.

◆ port

int port = -1

Definition at line 45 of file CV7_example.c.

◆ sensor_accel

Definition at line 54 of file CV7_example.c.

◆ sensor_gps_time

Definition at line 53 of file CV7_example.c.

◆ sensor_gyro

Definition at line 55 of file CV7_example.c.

◆ sensor_mag

Definition at line 56 of file CV7_example.c.

◆ sensor_to_vehicle_transformation_euler

float sensor_to_vehicle_transformation_euler[3] = {0.0, 0.0, 0.0}

Definition at line 50 of file CV7_example.c.

◆ start_time

clock_t start_time

Definition at line 43 of file CV7_example.c.



microstrain_inertial_driver
Author(s): Brian Bingham, Parker Hannifin Corp
autogenerated on Wed Mar 22 2023 02:35:07