View Single Post
  #3   Spotlight this post!  
Unread 22-03-2015, 00:20
slibert slibert is online now
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 343
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Navx Trouble - inconsistent connection

Quote:
Originally Posted by Techwiz View Post
Our current robot code:
https://github.com/TechplexEngineer/fred2

Where the AHRS imu is instantiated:
https://github.com/TechplexEngineer/...Drive.java#L83

Using the imu in a PIDCommand for turning:
https://github.com/TechplexEngineer/...urn_angle.java
One note after reviewing the code is that the bitrate for the SerialPort when communicating with the NavX MXP should be 57600. The referenced code (Drive.java) is opening the serial port at 9600 bits/sec currently.
Reply With Quote