![]() |
Vex Ultrasonic not working for new 2015 system
The Vex Ultrasonics' code is crashing the robot. As soon as a certain line of code runs (pinpointed on robot init), the driver station immediately disables and says no robot code. I have tested this with 2014's robot system which has not been an issue however this issue only occurs with 2015's.
Code:
package org.usfirst.frc.team334.robot; |
Re: Vex Ultrasonic not working for new 2015 system
IN JAVA: We spent an entire day on this, doubting our wiring, our code. We even created a brand new empty shell using gearsbot command based as a starting point, but only adding the vex ultrasonic digital sensor. We could not get it to work. So, we then did the same thing but switched to C++...
It worked in C++. We believe there is a bug in the Java library. But without anything concrete in team updates or elsewhere on CD.... So, we are now switching our robot to C++ as we need these rangefinders on the robot. So, give it a try in C++ and report back. We are not looking back now.... md |
Re: Vex Ultrasonic not working for new 2015 system
Just an update everyone. We were able to get it to work under JAVA after all. At this point we are not sure what changed, but there was an re-image to the roborio that was done. So, it may not be a library bug after all. I just did not want anyone chasing ghosts on this...
md |
Re: Vex Ultrasonic not working for new 2015 system
Thank guys. We reflashed the roborio and it's working now!
|
| All times are GMT -5. The time now is 08:03. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi