FRC1076 / wapur_mecanum

Mecanum drive wapur 2019
0 stars 0 forks source link

Create semi-autonomous Turner object to test out semi-autonomous programming #4

Open mcolinj opened 5 years ago

mcolinj commented 5 years ago

Create a subdirectory for some various semi-autonomous features. Start with Turner(gyro, amount, speed, time-limit), and see what you can do.

We'll need methods to indicate time has expired, to do the work, and to clean up if it thinks it is done.

mcolinj commented 5 years ago

In the main robot loop we'll just either being doing something semi-autonomous, or doing the robot thing. However, we should maybe at least look for the driver or operator taking back control?

mcolinj commented 5 years ago

I found some example code from the NavX folks that should be useful. They don't have sample code for Python, but you could work from the C++ implementation and do pretty well. It is a decent place to start. Maybe we can get it nice and clean and give it to the kauailabs folks for their web site.

https://pdocs.kauailabs.com/navx-mxp/examples/rotate-to-angle-2/

mcolinj commented 5 years ago

You can hook a NavX directly to a windows laptop over USB and look at the data coming from it using this application. (looks like it could be illuminating)

https://pdocs.kauailabs.com/navx-micro/software/navx-ui/