Quote:
Originally Posted by CloakAndDagger
|
Oh interesting, you have something in the constructor. Maybe that's it? Here's how I tested it:
- ssh into the robot
- frcKillRobot.sh -t
- python3
Code:
>>> import wpilib
>>> a = wpilib.ADXRS450_Gyro()
>>> print(a.getAngle())
Move the roborio
>>> print(a.getAngle())
So.. that's it. Nothing else getting in the way. I won't be home for a few hours, I'll try your code when I get there.
One difference that I thought of is that I'm using a slightly newer version RobotPy that I'm working on adding some things to, but I don't think there have been any changes that would impact it. I'll try installing 2017.0.4 also to make sure that works also.