You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+85-10Lines changed: 85 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,8 +54,13 @@ We also provide two tools to support robot model development:
54
54
git clone https://github.com/Robot-cpp/robot.cpp
55
55
cd robot.cpp
56
56
git submodule update --init --recursive
57
+
./tools/apply_patches.sh
57
58
```
58
59
60
+
The launch scripts below configure and build `model-server` automatically. For
61
+
a manual StarVLA build, enable `ROBOT_CPP_BUILD_STARVLA`; see the
62
+
[Robot Server build instructions](robot_server/README.md#manual-build).
63
+
59
64
This section introduces three usage paths to help you quickly understand the repository:
60
65
61
66
* Starting `model-server` and connecting it to a minimal dummy `model-client`.
@@ -95,6 +100,14 @@ After downloading, run `model-server` like this:
95
100
96
101
For general local setups, we provide ready-to-use build-and-launch shells for three platforms. You can modify the environment variables inside the scripts, or override them directly with `export`. See [robot_server/README.md](robot_server/README.md) for details.
97
102
103
+
For example, from the repository root on Linux with CUDA:
|`BUILD_DIR`|`${ROBOT_CPP_ROOT}/build_robot_client`| C++ client CMake build directory. |
129
142
|`PORT`|`5555`| Server port used by the client. |
130
-
|`BUILD_CLIENT`|`0`| Whether to force rebuild the client. Set to`1` to rebuild even if the binary already exists. |
143
+
|`BUILD_CLIENT`|`0`| Whether to force rebuild the client. Set to`1` to rebuild even if the binary already exists. |
131
144
|`CMAKE_BIN`|`cmake`| CMake command path, useful for selecting a custom CMake binary. |
132
145
133
146
Then run:
@@ -150,20 +163,33 @@ See the [SO-101 deployment guide](eval/lerobot_so101/README.md).
150
163
151
164
## ⚡ Performance
152
165
153
-
We benchmark Robot.cpp on several platforms. Each measurement uses 5 warmup runs and 100 loop runs. The reported latency is the average time from receiving the image, through preprocessing and forward inference, to producing a usable action chunk, measured in milliseconds. All state projectors remain in f32 precision.
166
+
We benchmark Robot.cpp on several platforms. Each measurement uses 5 warmup runs and 100 loop runs. The reported latency is the average time from receiving the image, through preprocessing and forward inference, to producing a usable action chunk, measured in milliseconds. State projectors, where present, remain in f32 precision.
154
167
155
168
For the LIBERO setting, the input contains two 256x256 images and an 8-dimensional state. For the SO-101 real-robot setting, the input contains one 224x224 image and a 6-dimensional state.
156
169
157
170
For SmolVLA preprocessing, we follow the official default setting: images are first resized to 512x512.
158
171
159
-
| Model | Mac M4 Pro (CPU) | Mac M4 Pro (Metal) | RTX 4090 | RTX 3060 | A100 | Jetson AGX Orin |
0 commit comments