#include "microstrain_3dm_gx5_45/GX4-45_Test.h"
Go to the source code of this file.
|
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 () |
|
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 |
|
) |
| |
DESCRIPTION
Requests GX4-45 Basic or Diagnostic Status Message.
DETAILS
- Parameters
-
[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. |
- Return values
-
MIP_INTERFACE_ERROR | Interface not initialized or device not in IMU Direct Mode.
|
MIP_INTERFACE_OK | Status message successfully recieved.
|
NOTES
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 |
|
) |
| |
DESCRIPTION
Requests GX4-IMU Basic or Diagnostic Status Message.
DETAILS
- Parameters
-
[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. |
- Return values
-
MIP_INTERFACE_ERROR | Interface not initialized or device not in IMU Direct Mode.
|
MIP_INTERFACE_OK | Status message successfully recieved.
|
NOTES
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 |
( |
| ) |
|
void print_packet_stats |
( |
| ) |
|
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 |
- Copyright
- 2014 Lord Microstrain Sensing Systems.
CHANGES
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.
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 |