Quote:
Originally Posted by nathanww
"PWM" here is referring to the cable we've spliced to, not the output on the digital sidecar
I sketched out a diagram of eaxctly how it's set up and attached it.
We know the robot isn't reading the encoder because the value from Get() never changes, and the robot always reports that it is stopped, even when moving
Yep--we saw this, and when we checked it with a multimeter(we don't have an o-scope), we saw fluctuation in values--it just seems that the robot isn't interpreting it correctly.
|
Sounds right. Are you doing this in Autonomous mode? We couldn't read our sensors in autonomous. They act like they never change. I wasn't involved with the software but The sensors worked in teleop mode so we proved they were working. Not sure what the problem was. They may not have been set up as global variables ... something like that.
Steve