#include "microstrain_3dm_gx5_45/GX4-45_Test.h"
Go to the source code of this file.
Functions | |
void | ahrs_packet_callback (void *user_ptr, u8 *packet, u16 packet_size, u8 callback_type) |
void | filter_packet_callback (void *user_ptr, u8 *packet, u16 packet_size, u8 callback_type) |
void | gps_packet_callback (void *user_ptr, u8 *packet, u16 packet_size, u8 callback_type) |
int | main (int argc, char *argv[]) |
u16 | mip_3dm_cmd_hw_specific_device_status (mip_interface *device_interface, u16 model_number, u8 status_selector, u8 *response_buffer) |
u16 | mip_3dm_cmd_hw_specific_imu_device_status (mip_interface *device_interface, u16 model_number, u8 status_selector, u8 *response_buffer) |
void | print_command_line_usage () |
void | print_header () |
void | print_packet_stats () |
Variables | |
u32 | ahrs_checksum_error_packet_count = 0 |
u32 | ahrs_timeout_packet_count = 0 |
u32 | ahrs_valid_packet_count = 0 |
mip_ahrs_scaled_accel | curr_ahrs_accel |
mip_ahrs_scaled_gyro | curr_ahrs_gyro |
mip_ahrs_scaled_mag | curr_ahrs_mag |
mip_filter_attitude_euler_angles | curr_filter_angles |
mip_filter_llh_pos | curr_filter_pos |
mip_filter_ned_velocity | curr_filter_vel |
mip_gps_time | curr_gps_time |
mip_gps_llh_pos | curr_llh_pos |
mip_gps_ned_vel | curr_ned_vel |
mip_interface | device_interface |
u8 | enable_data_stats_output = 0 |
| |
u32 | filter_checksum_error_packet_count = 0 |
u32 | filter_timeout_packet_count = 0 |
u32 | filter_valid_packet_count = 0 |
u32 | gps_checksum_error_packet_count = 0 |
u32 | gps_timeout_packet_count = 0 |
u32 | gps_valid_packet_count = 0 |
void ahrs_packet_callback | ( | void * | user_ptr, |
u8 * | packet, | ||
u16 | packet_size, | ||
u8 | callback_type | ||
) |
Definition at line 2472 of file GX4-45_Test.cpp.
void filter_packet_callback | ( | void * | user_ptr, |
u8 * | packet, | ||
u16 | packet_size, | ||
u8 | callback_type | ||
) |
Definition at line 2367 of file GX4-45_Test.cpp.
void gps_packet_callback | ( | void * | user_ptr, |
u8 * | packet, | ||
u16 | packet_size, | ||
u8 | callback_type | ||
) |
Definition at line 2576 of file GX4-45_Test.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 99 of file GX4-45_Test.cpp.
u16 mip_3dm_cmd_hw_specific_device_status | ( | mip_interface * | device_interface, |
u16 | model_number, | ||
u8 | status_selector, | ||
u8 * | response_buffer | ||
) |
Requests GX4-45 Basic or Diagnostic Status Message.
[in] | mip_interface | *device_interface - pointer to the mip interface structure. |
[in] | u16 | model_number - LORD Microstrain Sensing Systems model number for GX4-45 (6236) |
[in] | u8 | status selector - specifies which type of status message is being requested. [out] u8 *response_buffer - pointer to the location to store response bytes. |
MIP_INTERFACE_ERROR | Interface not initialized or device not in IMU Direct Mode. |
MIP_INTERFACE_OK | Status message successfully recieved. |
Definition at line 2842 of file GX4-45_Test.cpp.
u16 mip_3dm_cmd_hw_specific_imu_device_status | ( | mip_interface * | device_interface, |
u16 | model_number, | ||
u8 | status_selector, | ||
u8 * | response_buffer | ||
) |
Requests GX4-IMU Basic or Diagnostic Status Message.
[in] | mip_interface | *device_interface - pointer to the mip interface structure. |
[in] | u16 | model_number - LORD Microstrain Sensing Systems model number for GX4 IMU (6237) |
[in] | u8 | status selector - specifies which type of status message is being requested. [out] u8 *response_buffer - pointer to the location to store response bytes. |
MIP_INTERFACE_ERROR | Interface not initialized or device not in IMU Direct Mode. |
MIP_INTERFACE_OK | Status message successfully recieved. |
This function should only be called in IMU Direct Mode.
Definition at line 2757 of file GX4-45_Test.cpp.
void print_command_line_usage | ( | ) |
Definition at line 2681 of file GX4-45_Test.cpp.
void print_header | ( | ) |
Definition at line 2704 of file GX4-45_Test.cpp.
void print_packet_stats | ( | ) |
Definition at line 2718 of file GX4-45_Test.cpp.
u32 ahrs_checksum_error_packet_count = 0 |
Definition at line 72 of file GX4-45_Test.cpp.
u32 ahrs_timeout_packet_count = 0 |
Definition at line 68 of file GX4-45_Test.cpp.
u32 ahrs_valid_packet_count = 0 |
Definition at line 64 of file GX4-45_Test.cpp.
mip_ahrs_scaled_accel curr_ahrs_accel |
Definition at line 79 of file GX4-45_Test.cpp.
mip_ahrs_scaled_gyro curr_ahrs_gyro |
Definition at line 78 of file GX4-45_Test.cpp.
mip_ahrs_scaled_mag curr_ahrs_mag |
Definition at line 80 of file GX4-45_Test.cpp.
mip_filter_attitude_euler_angles curr_filter_angles |
Definition at line 90 of file GX4-45_Test.cpp.
mip_filter_llh_pos curr_filter_pos |
Definition at line 88 of file GX4-45_Test.cpp.
mip_filter_ned_velocity curr_filter_vel |
Definition at line 89 of file GX4-45_Test.cpp.
mip_gps_time curr_gps_time |
Definition at line 85 of file GX4-45_Test.cpp.
mip_gps_llh_pos curr_llh_pos |
Definition at line 83 of file GX4-45_Test.cpp.
mip_gps_ned_vel curr_ned_vel |
Definition at line 84 of file GX4-45_Test.cpp.
mip_interface device_interface |
Definition at line 60 of file GX4-45_Test.cpp.
u8 enable_data_stats_output = 0 |
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, LORD MICROSTRAIN SENSING SYSTEMS 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 57 of file GX4-45_Test.cpp.
Definition at line 71 of file GX4-45_Test.cpp.
u32 filter_timeout_packet_count = 0 |
Definition at line 67 of file GX4-45_Test.cpp.
u32 filter_valid_packet_count = 0 |
Definition at line 63 of file GX4-45_Test.cpp.
u32 gps_checksum_error_packet_count = 0 |
Definition at line 73 of file GX4-45_Test.cpp.
u32 gps_timeout_packet_count = 0 |
Definition at line 69 of file GX4-45_Test.cpp.
u32 gps_valid_packet_count = 0 |
Definition at line 65 of file GX4-45_Test.cpp.