Classes | Macros | Functions | Variables
cltool.h File Reference
#include <stdio.h>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <string>
#include "InertialSense.h"
#include "ISDisplay.h"
#include "ISUtilities.h"
Include dependency graph for cltool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cmd_options_t
 

Macros

#define APP_EXT   ""
 
#define APP_NAME   "cltool"
 
#define EXAMPLE_BOOTLOADER_FILE   "fw/SAMx70-Bootloader.bin "
 
#define EXAMPLE_FIRMWARE_FILE   "fw/IS_uINS-3.hex "
 
#define EXAMPLE_LOG_DIR   "logs/20170117_222549 "
 
#define EXAMPLE_PORT   "/dev/ttyS2"
 
#define EXAMPLE_SPACE_1   " "
 
#define EXAMPLE_SPACE_2   " "
 

Functions

int cltool_main (int argc, char *argv[])
 
void cltool_outputHelp ()
 
void cltool_outputUsage ()
 
bool cltool_parseCommandLine (int argc, char *argv[])
 
bool cltool_replayDataLog ()
 
int cltool_serialPortSendComManager (CMHANDLE cmHandle, int pHandle, buffer_t *bufferToSend)
 
bool cltool_setupLogger (InertialSense &inertialSenseInterface)
 
bool cltool_updateEvbFlashConfig (InertialSense &inertialSenseInterface, string evbFlashConfig)
 
bool cltool_updateFlashConfig (InertialSense &inertialSenseInterface, string flashConfig)
 

Variables

cmd_options_t g_commandLineOptions
 
bool g_ctrlCPressed
 
cInertialSenseDisplay g_inertialSenseDisplay
 
serial_port_t g_serialPort
 

Macro Definition Documentation

◆ APP_EXT

#define APP_EXT   ""

Definition at line 39 of file cltool.h.

◆ APP_NAME

#define APP_NAME   "cltool"

Definition at line 29 of file cltool.h.

◆ EXAMPLE_BOOTLOADER_FILE

#define EXAMPLE_BOOTLOADER_FILE   "fw/SAMx70-Bootloader.bin "

Definition at line 43 of file cltool.h.

◆ EXAMPLE_FIRMWARE_FILE

#define EXAMPLE_FIRMWARE_FILE   "fw/IS_uINS-3.hex "

Definition at line 42 of file cltool.h.

◆ EXAMPLE_LOG_DIR

#define EXAMPLE_LOG_DIR   "logs/20170117_222549 "

Definition at line 41 of file cltool.h.

◆ EXAMPLE_PORT

#define EXAMPLE_PORT   "/dev/ttyS2"

Definition at line 40 of file cltool.h.

◆ EXAMPLE_SPACE_1

#define EXAMPLE_SPACE_1   " "

Definition at line 44 of file cltool.h.

◆ EXAMPLE_SPACE_2

#define EXAMPLE_SPACE_2   " "

Definition at line 45 of file cltool.h.

Function Documentation

◆ cltool_main()

int cltool_main ( int  argc,
char *  argv[] 
)

Definition at line 508 of file cltool_main.cpp.

◆ cltool_outputHelp()

void cltool_outputHelp ( )

Definition at line 543 of file cltool.cpp.

◆ cltool_outputUsage()

void cltool_outputUsage ( )

Definition at line 456 of file cltool.cpp.

◆ cltool_parseCommandLine()

bool cltool_parseCommandLine ( int  argc,
char *  argv[] 
)

Definition at line 63 of file cltool.cpp.

◆ cltool_replayDataLog()

bool cltool_replayDataLog ( )

Definition at line 424 of file cltool.cpp.

◆ cltool_serialPortSendComManager()

int cltool_serialPortSendComManager ( CMHANDLE  cmHandle,
int  pHandle,
buffer_t bufferToSend 
)

Definition at line 20 of file cltool.cpp.

◆ cltool_setupLogger()

bool cltool_setupLogger ( InertialSense inertialSenseInterface)

Definition at line 27 of file cltool.cpp.

◆ cltool_updateEvbFlashConfig()

bool cltool_updateEvbFlashConfig ( InertialSense inertialSenseInterface,
string  evbFlashConfig 
)

Definition at line 598 of file cltool.cpp.

◆ cltool_updateFlashConfig()

bool cltool_updateFlashConfig ( InertialSense inertialSenseInterface,
string  flashConfig 
)

Definition at line 548 of file cltool.cpp.

Variable Documentation

◆ g_commandLineOptions

cmd_options_t g_commandLineOptions

Definition at line 16 of file cltool.cpp.

◆ g_ctrlCPressed

bool g_ctrlCPressed

◆ g_inertialSenseDisplay

cInertialSenseDisplay g_inertialSenseDisplay

Definition at line 18 of file cltool.cpp.

◆ g_serialPort

serial_port_t g_serialPort

Definition at line 17 of file cltool.cpp.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:58