REV Robotics Hub - SCHS-Robotics/Software-Wiki GitHub Wiki

REV Robotics Hub

(WIP)

This year (the 2017-18 school year), was made available as an alternative for the electronics. It can replace the previous hub system with separate modules with two identical "expansion hubs" that are connected via a communications cable. These two hubs allow for the total of 8 motors and 12 servos (4 and 6 on each) as well as multiple ports (number needed) for sensor inputs.

The software for referencing units attached to the REV electronics is identical to the previous electronics. For example, assigning a motor would be: motor1 = hardwaremap.whatever("motor1"); //not correct format, I need to fix this

In addition, the REV expansion hub contains an integrated 9-axis position sensor (3-axis accelerometer, 3-axis gyroscope, and 3-axis magnetometer). This is useful for determining the position of the robot. It needs to be calibrated before use, and I have had issues calibrating it, so at this time, I have not successfully utilized its abilities.