Thursday, November 13, 2014

Robotics - Attach It Better

People actually came to today's robotics meeting (shocking!), including our best engineer. It turns out that my attachment of the ball intake assembly was actually upside-down and generally shoddy, so the real builders spent today making an actual attachment.

They also replaced the bar going across the robot (that gives it stability) with a single piece of metal. Previously, it had been several short pieces bolted together. Also, they made a better battery mount and rearranged the electronics hub area.

I did some rearranging of the code, placing the bulk of the tele-op code in a header file. I added all kinds of pre-processing conditionals to select at compile-time whether it would use four-wheel drive, but all based on the same file. That one file can be used for all tele-op programs (including the other team's) because it - in the driving loop - invokes a callback function in the including file, which handles robot- or routine-specific controls.

No comments:

Post a Comment