Skip to content

Releases: a3ro-dev/RC-OS

v1.0.1-beta.3 of RC-OS 2

29 Apr 11:10

Choose a tag to compare

Pre-release

v1.0.1-beta.3 of RC-OS 2

New Features

  • WiFi Connection: The script now includes a function to connect to a WiFi network using the provided SSID and password.
  • Controller Class: A new class, Controller, has been introduced to manage the movement of a device. It includes methods for moving forward, backward, turning left, right, and stopping.
  • Stunt Functions: The Controller class now includes methods to perform complex maneuvers like 'donut' and 'S-drift'.
  • HTTP Request Handler: A new function handle_request has been added to handle HTTP POST requests and control the device based on the request path.
  • HTML Interface: An HTML interface has been added for remote control of the device. It includes buttons for basic movements and stunts.

Improvements

  • Code Organization: The Controller class has been refactored for better organization and readability.
  • Error Handling: Improved error handling in the handle_request function to return a 500 status code and error message in case of exceptions.

Bug Fixes

  • No known bugs have been fixed in this release.

Known Issues

  • The commented out paths in the handle_request function for '/reverse-donut' and '/normal-drift' are not yet implemented in the Controller class.

Future Work

  • Implement the '/reverse-donut' and '/normal-drift' paths in the Controller class.
  • Improve the HTML interface for better user experience.
  • Add more complex maneuvers to the Controller class.

level_2.zip