wpilibsuite / PathWeaver

Desktop application for generating motion paths
Other
65 stars 68 forks source link

Images & json for the FRC BAE mini-bot challenges #211

Closed david-lemasurier closed 3 years ago

david-lemasurier commented 3 years ago

Can we get images and json for the Color Conundrum field? https://wpilib.org/blog/bae-systems-mini-bot-challenge-2-color-conundrum

If not, any suggestions on how to create working images?

sciencewhiz commented 3 years ago

There's instructions for using your images here: https://docs.wpilib.org/en/stable/docs/software/wpilib-tools/pathweaver/adding-field-images.html

david-lemasurier commented 3 years ago

I am aware of those instructions, however, when I use images that I create either the paths are not visible or they extend beyond the image. I don't have this issue with the provided images.

jasondaming commented 3 years ago

Can you post the images and json files that you created?

david-lemasurier commented 3 years ago

@jasondaming Color Conundrum Course 1.zip

jasondaming commented 3 years ago

I added that to my games folder and it worked fine. I agree that the default path went off the map because the scale of this is so small. What I did was make an additional waypoint on the screen (click and drag on the line) and then saved and went to the path file and removed the last waypoint.

image

I now understand the problem you are having better and I think in the future I will make the default path that is created be some % of the total area rather that a fixed distance.