Machine-Mavericks / ClickDriveUI

A pygame app that lets you define paths that can be sent to a robot.
0 stars 0 forks source link

Ethan, Glenn and Jeff to explore NetTables as a means to pass Romi Positions to Trajectory method. #2

Open frotle opened 3 years ago

gbuckholtz commented 3 years ago

As a starting point. What data has to be passed to the Romi?

frotle commented 3 years ago

Its basically data to satisfy this: List.of( new Translation2d(0.05, 0), new Translation2d(0.10, 0), new Translation2d(0.15, 0) ),

where both params as a position, relative to the Romi bot that it need to try to create a path to get to.

From the new heading data we have in ClickDriveUI, this should be simple.

Hope that helps.

gbuckholtz commented 3 years ago

ok, that sounds reasonable!

What sort of data are you expecting in return to update the bottom panel in the app?

gbuckholtz commented 3 years ago

Can the existing code create that list of coordinates?

gbuckholtz commented 3 years ago

@frotle , I have some example code in the project now that can write to the NetworkTables!

We should get together to talk about how to move this forward.