Type plain English like "Stop if obstacle within 50cm" and auto-generate JSON behavior rules via LLM. Directly upgrades your existing simulator. Lowest effort, highest viral potential.
Use natural language. Include conditions (if/when/until) and actions (move/stop/rotate). The AI will convert to structured JSON for your robot simulator.
{
"rules": [
{
"condition": "obstacle_within_30cm",
"action": "stop",
"priority": 1,
"description": "Move forward until obstacle within 30cm"
},
{
"condition": "battery_below_20_percent",
"action": "goto_charger",
"priority": 2,
"description": "If battery below 20%, go to charger"
},
{
"condition": "cliff_detected",
"action": "stop_and_turn_around",
"priority": 3,
"description": "When cliff detected, stop and turn around"
},
{
"action": "rotate_left_90_degrees",
"frequency_sec": 10,
"priority": 4,
"description": "Rotate left 90 degrees every 10 seconds"
},
{
"condition": "line_sensor_sees_black",
"action": "follow_line",
"priority": 5,
"description": "Follow line if sensor sees black tape"
}
],
"version": "1.0",
"simulator_compatible": true
}
Type robot behavior rules in natural language. One rule per line. Be descriptive: include conditions (if, when, until) and actions (move, stop, rotate, follow).
Click Generate JSON Rules. The AI interprets your text and converts it into structured JSON format compatible with most robot simulators.
Check the generated JSON. Each rule includes conditions, actions, priority, and metadata. You can manually tweak the JSON if needed.
Use Copy to clipboard or Download as a .json file to import directly into your robot simulator.
Example Plain English:
"If temperature above 40°C, activate fan and slow down"
Generated JSON snippet:
{"condition": "temp_above_40c", "actions": ["activate_fan", "slow_down"], "priority": 2}