### Track Record Start Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__track_8h_source
Example of how to start track recording with specified sampling parameters using the track_record_start function.
```cpp
EXPORT_API Result track_record_start(SOCKETFD socketFd, double maxSamplingNum, double samplingInterval);
```
--------------------------------
### C++ Job Open Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__job__operate_8h
Example of how to use the job_open function in C++ to open a job file.
```C++
SOCKETFD socketFd;
// Assume socketFd is initialized and connected
std::string jobName = "QQQ.JBR";
Result result = job_open(socketFd, jobName);
// Handle the result
```
--------------------------------
### C++ Job Run Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__job__operate_8h
Example of how to use the job_run function in C++ to execute a job file.
```C++
SOCKETFD socketFd;
// Assume socketFd is initialized and connected
std::string jobName = "QQQ.JBR";
Result result = job_run(socketFd, jobName);
// Handle the result
```
--------------------------------
### net_lib Navigation
Source: https://doc.hmilib.inexbot.coision.cn/globals_func_q
Provides navigation links for the net_lib documentation, including sections for classes, files, and examples.
```html
net_lib
* Test List
* Deprecated List
* Classes
* Files
* File List
* File Members
* All
* Functions
* b
* c
* d
* f
* g
* j
* l
* m
* q
* r
* s
* t
* v
* w
* Variables
* Typedefs
* Enumerations
* Enumerator
* Macros
* Examples
```
--------------------------------
### net_lib Navigation
Source: https://doc.hmilib.inexbot.coision.cn/globals_func_w
Provides navigation links for the net_lib documentation, including sections for classes, files, and examples.
```html
net_lib
* Test List
* Deprecated List
* Classes
* Files
* File List
* File Members
* All
* Functions
* b
* c
* d
* f
* g
* j
* l
* m
* q
* r
* s
* t
* v
* w
* Variables
* Typedefs
* Enumerations
* Enumerator
* Macros
* Examples
```
--------------------------------
### Track Record Playback Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__track_8h_source
Example of how to initiate track playback with a specified velocity using the track_record_playback function.
```cpp
EXPORT_API Result track_record_playback(SOCKETFD socketFd, int vel);
```
--------------------------------
### net_lib Navigation
Source: https://doc.hmilib.inexbot.coision.cn/globals_func_t
Provides navigation links for the net_lib documentation, including sections for classes, files, and examples.
```html
net_lib
* Test List
* Deprecated List
* Classes
* Files
* File List
* File Members
* All
* Functions
* b
* c
* d
* f
* g
* j
* l
* m
* q
* r
* s
* t
* v
* w
* Variables
* Typedefs
* Enumerations
* Enumerator
* Macros
* Examples
```
--------------------------------
### net_lib Navigation
Source: https://doc.hmilib.inexbot.coision.cn/globals_func_g
Provides navigation links for the net_lib documentation, including sections for classes, files, and examples.
```html
net_lib
* Test List
* Deprecated List
* Classes
* Files
* File List
* File Members
* All
* Functions
* b
* c
* d
* f
* g
* j
* l
* m
* q
* r
* s
* t
* v
* w
* Variables
* Typedefs
* Enumerations
* Enumerator
* Macros
* Examples
```
--------------------------------
### net_lib Navigation
Source: https://doc.hmilib.inexbot.coision.cn/globals_func_v
Provides navigation links for the net_lib documentation, including sections for classes, files, and examples.
```html
net_lib
* Test List
* Deprecated List
* Classes
* Files
* File List
* File Members
* All
* Functions
* b
* c
* d
* f
* g
* j
* l
* m
* q
* r
* s
* t
* v
* w
* Variables
* Typedefs
* Enumerations
* Enumerator
* Macros
* Examples
```
--------------------------------
### Queue Motion Push Back Vision Craft Start
Source: https://doc.hmilib.inexbot.coision.cn/nrc__queue__operate_8h_source
Initiates a vision craft start operation in the queue. Requires a socket file descriptor and an ID.
```c
EXPORT_API Result queue_motion_push_back_vision_craft_start(SOCKETFD socketFd, int id);
```
--------------------------------
### Track Record Playback Robot Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__track_8h_source
Example of how to initiate track playback for a specific robot with a specified velocity using the track_record_playback_robot function.
```cpp
EXPORT_API Result track_record_playback_robot(SOCKETFD socketFd, int robotNum, int vel);
```
--------------------------------
### Insert Vision Craft Start Instruction
Source: https://doc.hmilib.inexbot.coision.cn/nrc__job__operate_8h
Inserts a VISION_RUN instruction to start a vision craft operation. This function is used to initiate a visual process within the job file.
```APIDOC
job_insert_vision_craft_start(SOCKETFD socketFd, int line, int id)
- Inserts a VISION_RUN instruction to start a vision craft.
- Parameters:
- socketFd: File descriptor for the socket connection.
- line: The line number in the job file.
- id: The identifier for the vision craft.
```
--------------------------------
### Insert Vision Craft Start Operation for Robot
Source: https://doc.hmilib.inexbot.coision.cn/nrc__job__operate_8h
Inserts a VISION_RUN instruction to start a vision process for a robot. This function is used to initiate robot-controlled vision tasks. It requires a socket file descriptor, robot number, line number, and a craft ID.
```APIDOC
job_insert_vision_craft_start_robot(_socketFd, _robotNum, _line, _id)
Parameters:
_socketFd: SOCKETFD - File descriptor for the socket connection.
_robotNum: int - The robot number.
_line: int - The line number where the job instruction will be inserted.
_id: int - The craft ID.
```
--------------------------------
### Insert Vision Craft Start Operation
Source: https://doc.hmilib.inexbot.coision.cn/nrc__job__operate_8h
Inserts a VISION_RUN instruction to start a vision process within a job. This function initiates a vision-related task. It requires a socket file descriptor, line number, and a craft ID.
```APIDOC
job_insert_vision_craft_start(_socketFd, _line, _id)
Parameters:
_socketFd: SOCKETFD - File descriptor for the socket connection.
_line: int - The line number where the job instruction will be inserted.
_id: int - The craft ID.
```
--------------------------------
### Get Track Record Status Robot Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__track_8h_source
Example of how to get the track recording status for a specific robot using the get_track_record_status_robot function.
```cpp
EXPORT_API Result get_track_record_status_robot(SOCKETFD socketFd, int robotNum, bool &recordStart);
```
--------------------------------
### Example: Two IO Boards
Source: https://doc.hmilib.inexbot.coision.cn/examples
This example demonstrates the setup and potential error messages when dealing with two IO boards, each with 16 input and 16 output bits. It specifically addresses an error scenario for the output port of IO board 1.
```example
Example: Two IO Boards
This example demonstrates the setup and potential error messages when dealing with two IO boards, each with 16 input and 16 output bits. It specifically addresses an error scenario for the output port of IO board 1.
```
--------------------------------
### Remote Parameter Control
Source: https://doc.hmilib.inexbot.coision.cn/nrc__io_8h
Functions to set and get remote parameters for a specific robot. These include speed, start status, time, and start time. They require a socket file descriptor, robot number, and relevant parameter variables.
```cpp
int set_remote_param(SOCKETFD socketFd, int robotNum, int speed, bool start, int time, int startTime, int num = 10);
int get_remote_param(SOCKETFD socketFd, int robotNum, int &speed, bool &start, int &time, int &startTime, int &num);
```
--------------------------------
### Get Sensor Data (Robot Specific)
Source: https://doc.hmilib.inexbot.coision.cn/nrc__interface_8h
Retrieves sensor data for a specific robot. This function allows accessing sensor information from a particular robot in a multi-robot setup.
```APIDOC
get_sensor_data_robot(SOCKETFD socketFd, int robotNum, std::vector< int > &data)
- Retrieves sensor data for a specific robot.
- Parameters:
- socketFd: The socket file descriptor for communication.
- robotNum: The number of the target robot.
- data: A reference to a vector of integers to store the sensor data.
- Returns: void (Sensor data is populated in the 'data' parameter)
```
--------------------------------
### Remote Parameter Configuration
Source: https://doc.hmilib.inexbot.coision.cn/nrc__io_8h_source
Functions to set and get remote parameters for a specified robot. These include speed, start status, time, and count, with default values provided for some parameters.
```c++
Result set_remote_param(SOCKETFD socketFd, int robotNum, int speed, bool start, int time, int startTime, int num = 10);
Result get_remote_param(SOCKETFD socketFd, int robotNum, int& speed, bool& start, int& time, int& startTime, int& num);
```
--------------------------------
### nrc_io.h File Reference
Source: https://doc.hmilib.inexbot.coision.cn/nrc__io_8h
This section provides details about the nrc_io.h file, including its source code link and included header files. It serves as an entry point for understanding the I/O functionalities within the net_lib.
```c++
#include "parameter/nrc_define.h"
#include "parameter/nrc_io_parameter.h"
[Go to the source code of this file.](https://doc.hmilib.inexbot.coision.cn/nrc__io_8h_source.html)
```
--------------------------------
### Get Remote Function
Source: https://doc.hmilib.inexbot.coision.cn/nrc__io_8h
Retrieves remote IO function settings, including general parameters like start, pause, stop, and program-specific settings. It handles different versions of the library.
```APIDOC
get_remote_function(SOCKETFD _socketFd_, int _robotNum_, int & _num_, int & _time_, RemoteControl & _general_, std::vector< RemoteProgram > & _program_)
- Retrieves remote IO function settings data.
- Parameters:
- _socketFd_: Socket file descriptor for communication.
- _robotNum_: Robot number (1-4).
- _num_: Number of remote IOs. In version 22.07, this parameter is not present and will return -1.
- _time_: IO repeat trigger shielding time in milliseconds.
- _general_: General function remote IO parameter settings (start, pause, stop, clear alarm, etc.). See RemoteControl for details.
- _program_: Remote control program parameter settings. See RemoteProgram for details.
- Returns: Result status.
```
```C++
EXPORT_API Result get_remote_function(SOCKETFD _socketFd_, int _robotNum_, int & _num_, int & _time_, RemoteControl & _general_, std::vector< RemoteProgram > & _program_);
```
--------------------------------
### Track Record Delete Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__track_8h_source
Example of how to delete the track record using the track_record_delete function.
```cpp
EXPORT_API Result track_record_delete(SOCKETFD socketFd);
```
--------------------------------
### net_lib Navigation
Source: https://doc.hmilib.inexbot.coision.cn/globals_vars
Provides navigation links for the net_lib documentation, including sections for test lists, deprecated items, classes, files, and examples.
```html
net_lib
* Test List
* Deprecated List
* Classes
* Files
* File List
* File Members
* All
* Functions
* Variables
* Typedefs
* Enumerations
* Enumerator
* Macros
* Examples
```
--------------------------------
### Track Record Stop Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__track_8h_source
Example of how to stop the track recording process using the track_record_stop function.
```cpp
EXPORT_API Result track_record_stop(SOCKETFD socketFd);
```
--------------------------------
### Input/Output Parameters
Source: https://doc.hmilib.inexbot.coision.cn/functions_p
Parameters related to input and output configurations, such as PWM ports.
```APIDOC
IO:
pwm_port_: Configuration for a Pulse Width Modulation (PWM) port.
```
--------------------------------
### Navigation - net_lib
Source: https://doc.hmilib.inexbot.coision.cn/functions_x
Provides navigation links for the net_lib documentation, including tests, deprecated lists, classes, files, and examples.
```javascript
javascript:searchBox.CloseResultsWindow()
```
--------------------------------
### Camera and Cutting Parameters
Source: https://doc.hmilib.inexbot.coision.cn/functions_c
Structures for camera list management and laser cutting craft parameters.
```APIDOC
CameraList:
Description: List of available cameras.
URL: https://doc.hmilib.inexbot.coision.cn/struct_camera_list.html
LaserCuttingCraftParam:
Description: Parameters for laser cutting operations.
URL: https://doc.hmilib.inexbot.coision.cn/struct_laser_cutting_craft_param.html
```
--------------------------------
### Configuration and Utility Functions
Source: https://doc.hmilib.inexbot.coision.cn/nrc__c__interface_8h_source
Functions for setting robot configuration parameters such as coordinate systems and speed, as well as establishing a connection to the robot controller and clearing errors.
```APIDOC
set_current_coord_c(SOCKETFD socketFd, int coord)
Sets the robot's current coordinate system.
Parameters:
socketFd: The socket file descriptor for the robot connection.
coord: The coordinate system to set.
Returns: An integer status code.
set_speed_c(SOCKETFD socketFd, int speed)
Sets the robot's current speed mode.
Parameters:
socketFd: The socket file descriptor for the robot connection.
speed: The speed mode (e.g., teaching, running, remote).
Returns: An integer status code.
clear_error_c(SOCKETFD socketFd)
Clears any active errors on the robot servos.
Parameters:
socketFd: The socket file descriptor for the robot connection.
Returns: An integer status code.
connect_robot_c(const char *ip, const char *port)
Establishes a connection to the robot controller.
Parameters:
ip: The IP address of the robot controller.
port: The port number for the connection.
Returns: A SOCKETFD representing the connection, or an invalid value on failure.
```
--------------------------------
### Track Record Delete Robot Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__track_8h_source
Example of how to delete the track record for a specific robot using the track_record_delete_robot function.
```cpp
EXPORT_API Result track_record_delete_robot(SOCKETFD socketFd, int robotNum);
```
--------------------------------
### Input/Output Parameters
Source: https://doc.hmilib.inexbot.coision.cn/functions_vars_p
Parameters related to input and output configurations, such as PWM ports.
```APIDOC
IO:
pwm_port_: Configuration for a Pulse Width Modulation (PWM) port.
```
--------------------------------
### Start Vision Craft Instruction
Source: https://doc.hmilib.inexbot.coision.cn/nrc__job__operate_8h_source
Initiates a vision craft instruction within the job file, associated with a specific line and ID.
```cpp
EXPORT_API Result job_insert_vision_craft_start(SOCKETFD socketFd, int line, int id);
```
--------------------------------
### Track Record Save Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__track_8h_source
Example of how to save the track record with a given trajectory name using the track_record_save function.
```cpp
EXPORT_API Result track_record_save(SOCKETFD socketFd, std::string trajName);
```
--------------------------------
### Track Record Save Robot Example
Source: https://doc.hmilib.inexbot.coision.cn/nrc__track_8h_source
Example of how to save a track record for a specific robot using the track_record_save_robot function.
```cpp
EXPORT_API Result track_record_save_robot(SOCKETFD socketFd, int robotNum, std::string trajName);
```
--------------------------------
### Camera and Cutting Parameters
Source: https://doc.hmilib.inexbot.coision.cn/functions_vars_c
Structures for camera list management and laser cutting craft parameters.
```APIDOC
CameraList:
Description: List of available cameras.
URL: https://doc.hmilib.inexbot.coision.cn/struct_camera_list.html
LaserCuttingCraftParam:
Description: Parameters for laser cutting operations.
URL: https://doc.hmilib.inexbot.coision.cn/struct_laser_cutting_craft_param.html
```
--------------------------------
### Get Sensor Data
Source: https://doc.hmilib.inexbot.coision.cn/nrc__interface_8h
Retrieves data from the six-dimensional force sensor. This function is used to get real-time sensor readings.
```APIDOC
get_sensor_data(SOCKETFD socketFd, std::vector< int > &data)
- Retrieves data from the six-dimensional force sensor.
- Parameters:
- socketFd: The socket file descriptor for communication.
- data: A reference to a vector of integers to store the sensor data.
- Returns: void (Sensor data is populated in the 'data' parameter)
```
--------------------------------
### Coordinate and Movement Parameters
Source: https://doc.hmilib.inexbot.coision.cn/functions_c
Structures related to coordinate systems, movement commands, and servo parameters.
```APIDOC
MoveCmd:
Description: Command for moving an object.
URL: https://doc.hmilib.inexbot.coision.cn/struct_move_cmd.html
OffsetCommandParam:
Description: Parameters for offset commands.
URL: https://doc.hmilib.inexbot.coision.cn/struct_offset_command_param.html
PositionData:
Description: Data structure for position information.
URL: https://doc.hmilib.inexbot.coision.cn/struct_position_data.html
ServoMovePara:
Description: Parameters for servo motor movement.
URL: https://doc.hmilib.inexbot.coision.cn/struct_servo_move_para.html
```
--------------------------------
### Job Opening
Source: https://doc.hmilib.inexbot.coision.cn/test
Opens a job specified by its name. Requires a socket file descriptor and the job name.
```cpp
job_open(SOCKETFD socketFd, const std::string &jobName)
```
--------------------------------
### Get Static Search Position
Source: https://doc.hmilib.inexbot.coision.cn/nrc__interface_8h
Retrieves the static search position coordinates. This function is used to get predefined positional data for robotic operations.
```APIDOC
get_static_search_position(SOCKETFD socketFd, int fileid, int tableid, int delaytime, std::vector< double > &pos)
- Retrieves the static search position coordinates.
- Parameters:
- socketFd: The socket file descriptor for communication.
- fileid: The ID of the file containing the position data.
- tableid: The ID of the table within the file.
- delaytime: A delay time parameter for the search.
- pos: A reference to a vector of doubles to store the position coordinates.
- Returns: void (Position coordinates are populated in the 'pos' parameter)
```
--------------------------------
### Get Digital Output
Source: https://doc.hmilib.inexbot.coision.cn/nrc__io_8h_source
Retrieves all digital output states for a given socket connection. This function is used to efficiently get the status of multiple digital outputs at once.
```APIDOC
get_digital_output(SOCKETFD socketFd, std::vector< int > &out)
- Retrieves all digital output states.
- Parameters:
- socketFd: The socket file descriptor.
- out: A reference to a vector of integers to store the output states.
- Returns: Result status.
```
```C++
EXPORT_API Result get_digital_output(SOCKETFD socketFd, std::vector< int > &out);
```
--------------------------------
### Coordinate and Movement Parameters
Source: https://doc.hmilib.inexbot.coision.cn/functions_vars_c
Structures related to coordinate systems, movement commands, and servo parameters.
```APIDOC
MoveCmd:
Description: Command for moving an object.
URL: https://doc.hmilib.inexbot.coision.cn/struct_move_cmd.html
OffsetCommandParam:
Description: Parameters for offset commands.
URL: https://doc.hmilib.inexbot.coision.cn/struct_offset_command_param.html
PositionData:
Description: Data structure for position information.
URL: https://doc.hmilib.inexbot.coision.cn/struct_position_data.html
ServoMovePara:
Description: Parameters for servo motor movement.
URL: https://doc.hmilib.inexbot.coision.cn/struct_servo_move_para.html
```
--------------------------------
### Backup System
Source: https://doc.hmilib.inexbot.coision.cn/nrc__job__operate_8h
Performs a one-click system backup, saving the backup to the current execution directory. Requires a socket file descriptor.
```c++
int backup_system(SOCKETFD _socketFd_)
```
--------------------------------
### Insert Robot Vision Craft Start Instruction
Source: https://doc.hmilib.inexbot.coision.cn/nrc__job__operate_8h
Inserts a VISION_RUN instruction to start a vision craft operation for a specific robot. This function is the robot-specific counterpart to job_insert_vision_craft_start.
```APIDOC
job_insert_vision_craft_start_robot(SOCKETFD socketFd, int robotNum, int line, int id)
- Inserts a VISION_RUN instruction to start a vision craft for a specific robot.
- Parameters:
- socketFd: File descriptor for the socket connection.
- robotNum: The robot number.
- line: The line number in the job file.
- id: The identifier for the vision craft.
```
--------------------------------
### Start Vision Craft Instruction for Specific Robot
Source: https://doc.hmilib.inexbot.coision.cn/nrc__job__operate_8h_source
Initiates a vision craft instruction for a specific robot, allowing robot-specific vision processing steps.
```cpp
EXPORT_API Result job_insert_vision_craft_start_robot(SOCKETFD socketFd, int robotNum, int line, int id);
```
--------------------------------
### Job Creation
Source: https://doc.hmilib.inexbot.coision.cn/test
Creates a new job with the specified name. Requires a socket file descriptor and the job name as input.
```cpp
job_create(SOCKETFD socketFd, const std::string &jobName)
```
--------------------------------
### Backup System
Source: https://doc.hmilib.inexbot.coision.cn/nrc__job__operate_8h_source
Initiates a system backup. This function requires a socket file descriptor to establish communication for the backup process.
```cpp
EXPORT_API Result backup_system(SOCKETFD socketFd);
```
--------------------------------
### Get Robot Type (C)
Source: https://doc.hmilib.inexbot.coision.cn/nrc__interface_8h_source
C function to get the type of the robot. Requires a socket file descriptor and a reference to an integer to store the type. Assumes the existence of EXPORT_API and Result definitions.
```C
EXPORT_API Result get_robot_type(SOCKETFD socketFd, int& type);
```
--------------------------------
### Vision Craft Start Commands
Source: https://doc.hmilib.inexbot.coision.cn/nrc__queue__operate_8h
Adds a 'VISION_RUN (start vision)' command to the local queue for motion mode. Supports both general and robot-specific operations.
```APIDOC
queue_motion_push_back_vision_craft_start(_socketFd_, _id_)
- Adds a VISION_RUN command to the queue.
- Parameters:
- _socketFd_: Socket file descriptor.
- _id_: Craft ID.
queue_motion_push_back_vision_craft_start_robot(_socketFd_, _robotNum_, _id_)
- Adds a VISION_RUN command to the queue for a specific robot.
- Parameters:
- _socketFd_: Socket file descriptor.
- _robotNum_: Robot number.
- _id_: Craft ID.
```
```C
EXPORT_API Result queue_motion_push_back_vision_craft_start(SOCKETFD _socketFd_, int _id_);
EXPORT_API Result queue_motion_push_back_vision_craft_start_robot(SOCKETFD _socketFd_, int _robotNum_, int _id_);
```
--------------------------------
### net_lib Library Structure
Source: https://doc.hmilib.inexbot.coision.cn/globals_p
Overview of the net_lib library structure, including links to test lists, deprecated lists, classes, files, and examples.
```javascript
net_lib 2.0.4 | [](javascript:searchBox.CloseResultsWindow())
---|---
* [▼](javascript:void(0))[net_lib](https://doc.hmilib.inexbot.coision.cn/index.html)
* [Test List](https://doc.hmilib.inexbot.coision.cn/test.html)
* [Deprecated List](https://doc.hmilib.inexbot.coision.cn/deprecated.html)
* [►](javascript:void(0))[Classes](https://doc.hmilib.inexbot.coision.cn/annotated.html)
* [▼](javascript:void(0))[Files](https://doc.hmilib.inexbot.coision.cn/files.html)
* [►](javascript:void(0))[File List](https://doc.hmilib.inexbot.coision.cn/files.html)
* [▼](javascript:void(0))[File Members](https://doc.hmilib.inexbot.coision.cn/globals.html)
* [▼](javascript:void(0))[All](https://doc.hmilib.inexbot.coision.cn/globals.html)
* [b](https://doc.hmilib.inexbot.coision.cn/globals.html)
* [c](https://doc.hmilib.inexbot.coision.cn/globals_c.html)
* [d](https://doc.hmilib.inexbot.coision.cn/globals_d.html)
* [e](https://doc.hmilib.inexbot.coision.cn/globals_e.html)
* [f](https://doc.hmilib.inexbot.coision.cn/globals_f.html)
* [g](https://doc.hmilib.inexbot.coision.cn/globals_g.html)
* [j](https://doc.hmilib.inexbot.coision.cn/globals_j.html)
* [l](https://doc.hmilib.inexbot.coision.cn/globals_l.html)
* [m](https://doc.hmilib.inexbot.coision.cn/globals_m.html)
* [n](https://doc.hmilib.inexbot.coision.cn/globals_n.html)
* [o](https://doc.hmilib.inexbot.coision.cn/globals_o.html)
* [p](https://doc.hmilib.inexbot.coision.cn/globals_p.html)
* [q](https://doc.hmilib.inexbot.coision.cn/globals_q.html)
* [r](https://doc.hmilib.inexbot.coision.cn/globals_r.html)
* [s](https://doc.hmilib.inexbot.coision.cn/globals_s.html)
* [t](https://doc.hmilib.inexbot.coision.cn/globals_t.html)
* [v](https://doc.hmilib.inexbot.coision.cn/globals_v.html)
* [w](https://doc.hmilib.inexbot.coision.cn/globals_w.html)
* [►](javascript:void(0))[Functions](https://doc.hmilib.inexbot.coision.cn/globals_func.html)
* [Variables](https://doc.hmilib.inexbot.coision.cn/globals_vars.html)
* [Typedefs](https://doc.hmilib.inexbot.coision.cn/globals_type.html)
* [Enumerations](https://doc.hmilib.inexbot.coision.cn/globals_enum.html)
* [Enumerator](https://doc.hmilib.inexbot.coision.cn/globals_eval.html)
* [Macros](https://doc.hmilib.inexbot.coision.cn/globals_defs.html)
* [►](javascript:void(0))[Examples](https://doc.hmilib.inexbot.coision.cn/examples.html)
[•All](javascript:void(0))[](javascript:void(0))[](javascript:void(0))[](javascript:void(0))[](javascript:void(0))[](javascript:void(0))[](javascript:void(0))[](javascript:void(0))[](javascript:void(0))[](javascript:void(0))
Loading...
Searching...
No Matches
```
--------------------------------
### Vision System Parameters
Source: https://doc.hmilib.inexbot.coision.cn/functions_p
Configuration settings for the vision system, including protocol and position.
```APIDOC
VisionParam:
protocol: Defines the communication protocol for the vision system.
```
```APIDOC
VisionPositionParam:
protocol: Defines the communication protocol for vision-based positioning.
```
--------------------------------
### Get Current Mode (C)
Source: https://doc.hmilib.inexbot.coision.cn/nrc__interface_8h_source
C function to get the current operating mode. Requires a socket file descriptor and a reference to an integer to store the mode. Assumes the existence of EXPORT_API and Result definitions.
```C
EXPORT_API Result get_current_mode(SOCKETFD socketFd, int& mode);
```