Skip to content

Add Hardware Support for Robot Features #6

@PriyanshuRaut

Description

@PriyanshuRaut

Currently, RRL provides a RobotSim object that allows testing of robot logic in a simulation environment. While this is great for learning and prototyping, it lacks real-world execution.

Proposed Feature:
Add hardware support for the robot object so that RRL code can control physical robots.

Potential Hardware Targets:

  • Arduino (via serial communication / Firmata)
  • Raspberry Pi (GPIO, I2C, SPI, PWM)
  • ESP32 or other microcontrollers (for WiFi/IoT robotics)

Proposed Features:

  • Extend RobotSim into a unified Robot API that can work with both simulation and hardware backends.
  • Add methods like move_forward, turn, stop, read_sensor, etc. that map to real-world robot commands.
  • Hardware abstraction layer (so code works the same across devices).

Why this is important:

  • Moves RRL from a learning tool to a practical robotics programming language.
  • Attracts hobbyists, educators, and researchers who want to test in simulation and deploy on real robots.
  • Creates opportunities for integration with robotics kits and educational platforms.

Open for Discussion:

  • Should we support a specific hardware first (e.g., Arduino) before expanding?
  • Should hardware be loaded via plugins/modules instead of built into the core?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions