|
1 | | -C++ API Reference |
| 1 | +C++ Controller API |
2 | 2 | ================== |
3 | 3 |
|
4 | | -This section contains the C++ API documentation generated from the source code. |
| 4 | +High-performance C++ controller for real-time policy execution with ONNX Runtime. |
5 | 5 |
|
6 | | -.. doxygenindex:: |
7 | | - :project: Exporter |
| 6 | +Overview |
| 7 | +-------- |
| 8 | + |
| 9 | +The C++ controller provides a real-time inference system for deploying RL policies |
| 10 | +exported to ONNX format. It features: |
| 11 | + |
| 12 | +* **ONNX Runtime Integration** - Efficient model execution |
| 13 | +* **Extensible Interface Design** - Easy integration with different robot platforms |
| 14 | +* **Component-Based Architecture** - Modular input/output handling |
| 15 | +* **Automatic Component Matching** - Maps ONNX model I/O to robot interfaces |
| 16 | + |
| 17 | +Core Classes |
| 18 | +------------ |
| 19 | + |
| 20 | +Controller |
| 21 | +~~~~~~~~~~ |
| 22 | + |
| 23 | +.. doxygenclass:: exploy::control::OnnxRLController |
| 24 | + :members: |
| 25 | + :undoc-members: |
| 26 | + |
| 27 | +Context Management |
| 28 | +~~~~~~~~~~~~~~~~~~ |
| 29 | + |
| 30 | +.. doxygenclass:: exploy::control::OnnxContext |
| 31 | + :members: |
| 32 | + :undoc-members: |
| 33 | + |
| 34 | +ONNX Runtime |
| 35 | +~~~~~~~~~~~~ |
| 36 | + |
| 37 | +.. doxygenclass:: exploy::control::OnnxRuntime |
| 38 | + :members: |
| 39 | + :undoc-members: |
| 40 | + |
| 41 | +Interfaces |
| 42 | +---------- |
| 43 | + |
| 44 | +These abstract interfaces define the contract for robot integration. |
| 45 | + |
| 46 | +State Interface |
| 47 | +~~~~~~~~~~~~~~~ |
| 48 | + |
| 49 | +.. doxygenclass:: exploy::control::RobotStateInterface |
| 50 | + :members: |
| 51 | + :undoc-members: |
| 52 | + |
| 53 | +Command Interface |
| 54 | +~~~~~~~~~~~~~~~~~ |
| 55 | + |
| 56 | +.. doxygenclass:: exploy::control::CommandInterface |
| 57 | + :members: |
| 58 | + :undoc-members: |
| 59 | + |
| 60 | +Data Collection Interface |
| 61 | +~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 62 | + |
| 63 | +.. doxygenclass:: exploy::control::DataCollectionInterface |
| 64 | + :members: |
| 65 | + :undoc-members: |
| 66 | + |
| 67 | +Components |
| 68 | +---------- |
| 69 | + |
| 70 | +Input and output components for data flow management. |
| 71 | + |
| 72 | +.. doxygenstruct:: exploy::control::Input |
| 73 | + :members: |
| 74 | + :undoc-members: |
| 75 | + |
| 76 | +.. doxygenstruct:: exploy::control::Output |
| 77 | + :members: |
| 78 | + :undoc-members: |
| 79 | + |
| 80 | +Data Types |
| 81 | +---------- |
| 82 | + |
| 83 | +Core data structures used throughout the controller. |
| 84 | + |
| 85 | +.. doxygenstruct:: exploy::control::Position |
| 86 | + :members: |
| 87 | + |
| 88 | +.. doxygenstruct:: exploy::control::Quaternion |
| 89 | + :members: |
| 90 | + |
| 91 | +.. doxygenstruct:: exploy::control::LinearVelocity |
| 92 | + :members: |
| 93 | + |
| 94 | +.. doxygenstruct:: exploy::control::AngularVelocity |
| 95 | + :members: |
| 96 | + |
| 97 | +.. doxygenstruct:: exploy::control::SE2Velocity |
| 98 | + :members: |
| 99 | + |
| 100 | +.. doxygenstruct:: exploy::control::SE3Pose |
| 101 | + :members: |
| 102 | + |
| 103 | +.. doxygenstruct:: exploy::control::HeightScan |
| 104 | + :members: |
| 105 | + |
| 106 | +Configuration |
| 107 | +------------- |
| 108 | + |
| 109 | +.. doxygenstruct:: exploy::control::OnnxRuntimeOptions |
| 110 | + :members: |
| 111 | + |
| 112 | +.. doxygenstruct:: exploy::control::SE2VelocityConfig |
| 113 | + :members: |
| 114 | + |
| 115 | +.. doxygenstruct:: exploy::control::SE2VelocityRanges |
| 116 | + :members: |
| 117 | + |
| 118 | +Metadata |
| 119 | +-------- |
| 120 | + |
| 121 | +Metadata structures for component configuration. |
| 122 | + |
| 123 | +.. doxygenstruct:: exploy::control::JointMetadata |
| 124 | + :members: |
| 125 | + |
| 126 | +.. doxygenstruct:: exploy::control::JointOutputMetadata |
| 127 | + :members: |
| 128 | + |
| 129 | +.. doxygenstruct:: exploy::control::SE2VelocityCommandMetadata |
| 130 | + :members: |
| 131 | + |
| 132 | +.. doxygenstruct:: exploy::control::HeightScanMetadata |
| 133 | + :members: |
| 134 | + |
| 135 | +.. doxygenstruct:: exploy::control::RangeImageMetadata |
| 136 | + :members: |
| 137 | + |
| 138 | +.. doxygenstruct:: exploy::control::DepthImageMetadata |
| 139 | + :members: |
| 140 | + |
| 141 | +Matchers |
| 142 | +-------- |
| 143 | + |
| 144 | +Component matchers for automatic ONNX I/O mapping. |
| 145 | + |
| 146 | +.. doxygenclass:: exploy::control::Matcher |
| 147 | + :members: |
| 148 | + :undoc-members: |
| 149 | + |
| 150 | +.. doxygenstruct:: exploy::control::Match |
| 151 | + :members: |
0 commit comments