Record and Play Back Actions
Robot Skill Recording Guide
Connection
- If connected via USB cable, use IP: 192.168.42.1
- If connected wirelessly, use IP: 10.33.11.238
- SSH into robot: ssh root@[IP_ADDRESS]
Server Management
Stop server
killall kos
Start server with logging
/usr/local/bin/kos --log --log-level trace
Test Joints
python examples/move_all_joints_a_little.py
https://github.com/kscalelabs/skillet/blob/master/skillet/examples/move_all_joints_a_little.py
Record Skills
Replace [SKILL_NAME] with your chosen name (e.g., wave, dance, etc)
python examples/play_record_example.py record --ip 10.33.11.238 --skill-name [SKILL_NAME]
After recording, the file will be saved as skill_[SKILL_NAME]_[TIMESTAMP].json
Example: skill_wave_20250119_021912.json
Play Back Skills
Use the full filename that was created during recording
python examples/play_record_example.py play --ip 10.33.11.238 --file ./skill_[SKILL_NAME]_[TIMESTAMP].json
https://github.com/kscalelabs/skillit/blob/master/examples/play_record_example.py
Troubleshooting
- If servos lock: unplug servo power
- No response: check robot's power button
- For gRPC errors: restart KOS server
Updated 14 days ago