Export your Plans to share with others, or import Plans from the community.
Security Consideration
Always review imported plans before running them. Plans control your robot's hardware and could cause damage if malicious or poorly written. Only import plans from sources you trust.
Plans are stored as .opal files containing:
Files are saved to:
~/Documents/OctoMY/Plans/Downloads/OctoMY/Plans/Documents\OctoMY\Plans\# Export a specific plan
./agent --export-plan "Obstacle Avoider" --output ~/my-plan.opal
# Export all plans
./agent --export-all-plans --output ~/octomy-plans/
Generate a QR code for quick sharing:
Note: QR codes can only transfer small plans. For large plans, use file export.
.opal file
# Import a plan
./agent --import-plan ~/my-plan.opal
# Import and auto-configure
./agent --import-plan ~/my-plan.opal --auto-configure
Always review imported plans before running:
Plans can control your robot's hardware. Before importing:
#!octomy-plan v1.0
# @name Obstacle Avoider
# @author RobotBuilder42
# @version 1.2.0
# @description Autonomous obstacle avoidance
# @requires sensors.distance.front
# @requires motors.left
# @requires motors.right
# @optional sensors.imu
plan ObstacleAvoider {
# Plan code here...
}
For plans with assets:
obstacle-avoider.zip
├── plan.opal # Main plan code
├── metadata.json # Plan metadata
├── config.json # Default configuration
├── README.md # Documentation
└── assets/
├── sounds/
│ └── alert.wav
└── expressions/
└── worried.png
{
"name": "Obstacle Avoider",
"author": "RobotBuilder42",
"version": "1.2.0",
"license": "MIT",
"description": "Autonomous obstacle avoidance using front distance sensor.",
"tags": ["navigation", "obstacle", "autonomous"],
"requirements": {
"sensors": ["distance.front"],
"actuators": ["motors.left", "motors.right"]
},
"optional": {
"sensors": ["imu"]
},
"configuration": {
"safe_distance": {
"type": "number",
"default": 40,
"min": 10,
"max": 100,
"description": "Distance threshold in cm"
}
}
}
When importing a plan with configurable options:
Access shared plans from the community:
Share your plan with the community:
Requirements:
# Command line backup
./agent --export-all-plans --output ~/octomy-backup/
# Creates:
# ~/octomy-backup/
# ├── obstacle-avoider.opal
# ├── line-follower.opal
# └── patrol-bot.opal
# Restore all plans
./agent --import-plans ~/octomy-backup/