RobotSystem-Lite
Loading...
Searching...
No Matches
system.h File Reference

Main application execution functions. More...

#include <stdbool.h>

Go to the source code of this file.

Functions

bool System_Init (const int argc, const char **argv)
 Initialize RobotSystem with list of command-line string arguments.
 
void System_End (void)
 End RobotSystem execution, freeing data structures and closing connecions.
 
void System_Update (void)
 Call RobotSystem update step.
 

Detailed Description

Main application execution functions.

Interface for calling RobotSystem initialization, update and shutdown from the "main" entry-point of different operating systems

Function Documentation

◆ System_Init()

bool System_Init ( const int argc,
const char ** argv )

Initialize RobotSystem with list of command-line string arguments.

Parameters
[in]argcnumber of string arguments, at least 2: application name and robot config path (see Robot Configuration) or help flag
[in]argvpointer/vector of string arguments, the application name followed by other [command-line options]()
Returns
true if RobotSystem was initialized successfully, false otherwise