|
VOXL OpenVINS Server 1.0
Visual Inertial Odometry Server for VOXL Platform
|
Main server implementation for VOXL OpenVINS. More...
#include <core/VioManager.h>#include <core/VioManagerOptions.h>#include "ImuMinimal.h"#include "CameraManager.h"#include <modal_pipe.h>#include <modal_json.h>#include <modal_flow.h>#include <voxl_common_config.h>#include "VoxlCommon.h"#include "VoxlVars.h"#include "VoxlConfigure.h"#include <unistd.h>#include <signal.h>#include <sched.h>#include <getopt.h>
Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| Main entry point for VOXL OpenVINS server. | |
Main server implementation for VOXL OpenVINS.
This file contains the main server implementation for the VOXL OpenVINS system. It handles initialization, pipe management, signal handling, and the main event loop.
The server provides:
The server architecture follows a producer-consumer pattern where:
Definition in file VoxlSpinner.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Main entry point for VOXL OpenVINS server.
This function initializes the VIO system, sets up pipe communications, configures signal handling, and runs the main event loop. It handles the complete lifecycle of the VIO server from startup to shutdown.
The main function performs the following operations:
The function implements a robust initialization sequence that ensures all components are properly configured before starting the main loop. It also handles graceful shutdown through signal handling.
| argc | Number of command line arguments (currently unused) |
| argv | Array of command line argument strings (currently unused) |
Definition at line 394 of file VoxlSpinner.cpp.
References config_only, en_debug, en_imu_body, en_verbose, folder_base, voxl::Publisher::getInstance(), main_running, PROCESS_NAME, voxl::read_server_config(), voxl::Publisher::start(), voxl::sync_cam_config(), vio_error_codes, vio_manager, vio_manager_options, and vio_state.
