Werobos Command Helper

A beginner-friendly Flutter/Dart package that provides standardized robot commands (sit, stand, walk, follow, alert).
Useful for robotics projects, ESP32/BLE communication, or simulations.


🚀 Installation

Add this to your pubspec.yaml:

dependencies:
  werobos_command_helper: ^0.0.1

🔧 Usage

import 'package:werobos_command_helper/werobos_command_helper.dart';

void main() {
  final cmd = WerobosCommand.walk;
  final code = WerobosCommandHelper.toCode(cmd);

  print("Send this to robot: $code"); // CMD_WALK

  final parsed = WerobosCommandHelper.fromCode("CMD_ALERT");
  print("Robot action: $parsed"); // WerobosCommand.alert
}

📌 Features

  • Enum for robot actions
  • Convert enum → command string
  • Parse string → enum
  • Beginner-friendly & extendable

📄 License

MIT