Files
autoPlanner2025/README.md
T
Daniel Carta d0fc8d8014 Le risque
Added most of the functionality to the button editor
2024-07-09 07:18:37 -06:00

42 lines
1.4 KiB
Markdown

# autoPlanner
(WIP) An auto creation tool for Ridgebotics 2025
### Install
```shell
git clone https://https://github.com/Team4388/autoPlanner2025/tree/pyside
cd autoPlanner2025
pip install -r requirements.txt
python3 ./main.py
```
### Usage:
##### "Path Editor" Tab:
- Right click to add nodes
- Left click on specific points to manipulate paths and nodes:
- Drag cyan circles (Control points) to change the shape of the path
- Drag magenta nodes change the rotation of the robot
- Drag white numbers (Nodes) to change the position of the robot
- Double click on nodes to delete them
- Double click on control points to make path, and robot movment continuous, while keeping the node clicked the at the same location (Smooth the path)
- Press the 'r' key to delete the whole auto
##### "Button editor" Tab:
- Click on specific frames on the timeline to change to that position
- When selected on a frame, the robot's position in that time should show up.
- Drag positional keyframes around to speed up and speed down the robot's travel between nodes
- While a frame is selected, Press the 'e' key to swap to button mode.
- In button mode select buttons on the driver and operator controllers.
##### "Export" Tab:
- Click export, and save to a file
### Known Bugs:
- Smoothing function is janky sometimes
- Sometimes the control points spawn in random locations but I cant seem to replicate it?