#include "example_utils.hpp"
#include <mip/definitions/commands_base.hpp>
#include <mip/definitions/commands_3dm.hpp>
#include <mip/definitions/data_sensor.hpp>
#include <thread>
#include <chrono>
#include <cmath>
#include <cstdio>
#include <stdexcept>
#include <algorithm>
Go to the source code of this file.
◆ USE_THREADS
◆ device_thread_loop()
void device_thread_loop |
( |
mip::DeviceInterface * |
device | ) |
|
◆ display_progress()
unsigned int display_progress |
( |
| ) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| |
◆ packet_callback()
void packet_callback |
( |
void * |
, |
|
|
const mip::Packet & |
packet, |
|
|
mip::Timestamp |
timestamp |
|
) |
| |
◆ update_device()
bool update_device |
( |
mip::DeviceInterface & |
device, |
|
|
mip::Timeout |
wait_time |
|
) |
| |
◆ maxSamples
const unsigned int maxSamples = 50 |
◆ numSamples
volatile unsigned int numSamples = 0 |
◆ stop
volatile bool stop = false |