A downloadable tool for Windows

Overview

FTC tool for making paths for the Roadrunner library. You can create all of your paths using this tool then export them to java files that you can copy into your project to run on your robot. From team 21502.

Path Creation Process

  1. Place nodes by shift clicking on the field
  2. Select the first node in path by clicking on it
  3. Connect the selected node to the next one by ctrl clicking on the next node
  4. Edit the settings of the nodes or path segments

Node Settings

  • pos - node position in inches
  • angle - the nodes rotation
  • heading - the robots rotation at that node
  • layer - the nodes layer (explained later)

Segment Settings

  • layer - the segments layer
  • heading mode - how the robots heading changes through the path
  • path type - how the robot paths through this segment

Global Settings

  • layer - global layer setting
  • flip horiz - flips path horizontally
  • flip vert - flips path vertically
  • grid snap - snaps placed nodes to a quarter tile grid
  • up/down arrows - moves selected node up or down in their respective list
  • nodes - list of nodes
  • segments - list of segments

Layer System

The layer system is to help organize paths by making certain nodes or segments selectable. The layer setting in the nodes or segments is the layer that object is on, the global layer setting selects which nodes can be selected. Objects that can be selected are drawn on top of everything, everything else will be drawn transparent. When the global layer is -1 then all objects are selectable.

Saving, Loading and Exporting

The Save As button on the menu bar opens up a file explorer like window. The top of the window has 2 buttons and a text box, below that will be all of the files and folders in the Save folder. Clicking on a folder will take you into that folder, clicking on a file will override the path in that file. If you are in a folder then a '<-' button will appear that will take you out of that folder. In the text box enter the name of the file you want to save it as and hit the + button.

The Save button will save the path in the file you have saved it in or '.path' if it has not been saved before.

The Load button will open the file explorer window where you can select the path to load.

The Export button will export the path with the same file path as it was saved in except in the export folder instead of the save folder.

Published 19 days ago
StatusIn development
CategoryTool
PlatformsWindows
Authorminerkid08

Download

Download
TrajectoryBuilder.zip 3 MB

Install instructions

  1. Download all files
  2. Run main.exe

Leave a comment

Log in with itch.io to leave a comment.