Overview
Raisin provides two integration methods for external systems:
Method |
Description |
Use Case |
|---|---|---|
API Example |
|
Quick start, reference implementation |
Direct Network |
Direct use of |
Custom service calls, fine-grained control |
Note
API Example (RaisinClient) is example code, not an officially supported SDK. It is a reference implementation showing how to integrate with the Raisin platform. Modify it as needed for your use case.
Architecture
+----------------------------------------------+
| External Application |
+----------------------------------------------+
| Option A: API Example |
| +----------------------------------------+ |
| | #include "raisin_client.hpp" | |
| | RaisinClient client; | |
| | client.connect("ROBOT_ID"); | |
| | client.setMap(...); | |
| | client.setWaypoints(...); | |
| +----------------------------------------+ |
+----------------------------------------------+
| Option B: Direct Network |
| +----------------------------------------+ |
| | raisin::Network network; | |
| | raisin::Node node; | |
| | auto client = node.createClient | |
| | <SetWaypoints>(...); | |
| +----------------------------------------+ |
+----------------------------------------------+
|
| WebSocket
v
+----------------------------------------------+
| Raibo2 |
| +------------------+ +------------------+ |
| | Autonomy Plugin | | Fast-LIO Plugin | |
| | - Waypoints | | - Localization | |
| | - Navigation | | - Map Loading | |
| +------------------+ +------------------+ |
+----------------------------------------------+