Tools to use for Humanoid Data Collection.
apt update
uv venv -p 3.12
source .venv/bin/activate
uv sync
# Install grpcurl: https://github.com/fullstorydev/grpcurl/releases
uv run main.py --config_path schema/teleoperator.example.json
uv run main.py --config_path schema/robot.example.json
uv run joint_streamer.py --config-path ./schema/config.example.json --update-frequency 10
# Build and Run Docker image
python -m embodied_lerobot.embodied_lerobot_record
grpcurl -plaintext localhost:5000 list
grpcurl -plaintext localhost:5000 list rosbot_api.RobotApiService
# Get Robot Info
grpcurl -plaintext -format json localhost:5000 rosbot_api.RobotApiService/GetRobotInfo
# Update Joints
grpcurl -plaintext -d '{
"joint_updates": {
"joint_1": 1.57,
"joint_2": 0.785,
"custom_joint1": 0.5
}
}' localhost:5000 rosbot_api.RobotApiService/UpdateJoints
# Stream Joints
grpcurl -format json -plaintext -d '{
"update_frequency": 100.0
}' localhost:5000 rosbot_api.RobotApiService/StreamJointData