Files

41 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

2024-07-26 13:59:15 -04:00
# Auto Planner
2024-04-11 10:27:35 -06:00
2024-07-02 18:16:52 -06:00
(WIP) An auto creation tool for Ridgebotics 2025
2024-04-11 10:27:35 -06:00
2024-07-26 13:59:15 -04:00
### Install:
2024-04-16 17:56:10 -06:00
2024-04-11 10:27:35 -06:00
```shell
2024-07-02 18:16:52 -06:00
git clone https://https://github.com/Team4388/autoPlanner2025/tree/pyside
cd autoPlanner2025
2024-04-11 10:27:35 -06:00
pip install -r requirements.txt
python3 ./main.py
```
2024-07-26 13:59:15 -04:00
#
## Usage:
2024-04-16 17:56:10 -06:00
2024-07-26 13:59:15 -04:00
### "Path Editor" Tab:
2024-04-16 17:56:10 -06:00
2024-07-02 18:25:53 -06:00
- Right click to add nodes
2024-07-09 07:18:37 -06:00
- 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
2024-04-16 17:56:10 -06:00
- Double click on nodes to delete them
2024-07-03 13:35:23 -06:00
- 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)
2024-07-09 07:18:37 -06:00
- Press the 'r' key to delete the whole auto
2024-04-11 10:27:35 -06:00
2024-07-26 13:59:15 -04:00
### "Button editor" Tab:
2024-04-16 17:56:10 -06:00
2024-04-11 10:27:35 -06:00
- Click on specific frames on the timeline to change to that position
2024-07-26 13:59:15 -04:00
- Pressing or holding the left or right arrow keys will move the current frame
2024-04-11 10:27:35 -06:00
- 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
2024-07-26 13:59:15 -04:00
- Pressing the 'e' key will pause and unpause the auto playback
2024-04-11 10:27:35 -06:00
2024-07-26 13:59:15 -04:00
### "Export" Tab (not made yet):
2024-04-16 17:56:10 -06:00
2024-04-11 10:27:35 -06:00
- Click export, and save to a file
### Known Bugs:
2024-07-03 14:15:25 -06:00
2024-07-26 13:59:15 -04:00
- Smoothing function is janky sometimes