Skip to content

pkoscik/servo-ctrl-zephyr-gui-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zephyr Servo Controller Frontend

The Servo Controller is a Flask-based web application that serves as a companion app for the servo-ctrl-zephyr application. It allows users to control multiple servos through a serial interface and provides functionalities for configuring serial settings, adjusting servo positions, and managing trajectory points for automated movements.

Usage

  • Serial Configuration: Enter the desired UART port and baud rate, then click "Update Serial Config" to apply the settings.
  • Servo Controls: Use the sliders to set the desired positions for each servo. Click "Reset Sliders" to return to default values.
  • Trajectory Management:
    • Click "Save Point" to record the current servo positions.
    • Use "Clear Trajectory" to remove all saved points.
    • Replay the trajectory with "Start Replay" and stop it with "Stop Replay".
    • Adjust the time delay for replay and enable looping if desired.
    • Load or save trajectory data using the respective buttons.

Preview

Screenshot

Quickstart

  • Clone the repository:
https://github.com/pkoscik/servo-ctrl-zephyr-gui-flask.git
  • Install Python requirements
pythom -m venv .venv
. venv/bin/activate
pip install -r requirements.txt
  • Run flash app
python app.py

About

Flask-based web companion app for `servo-ctrl-zephyr`

Resources

License

Stars

Watchers

Forks