Go to Post At the end of the day, and this is where many may disagree, it's about what is learnt and not about who wins. - popnbrown [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 02-17-2016, 05:17 PM
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 113
King Nerd III is an unknown quantity at this point
Re: HITechnicCompass implementation

Quote:
Originally Posted by lopsided98 View Post
The documentation you found was for the 2009-2014 control system, which had a NXT port on the digital sidecar, so you could directly plug the sensor into the control system. The new roboRIO does not have this port, which is why the class was removed.

On the other hand, it is still probably possible to make the sensor work, because digital NXT sensors use the standard I2C protocol, which is supported on the roboRIO. You would have splice your own connection into a NXT cable and port the driver from the old control system (probably not that difficult).

You may also want to consider using a different sensor than a compass to measure orientation because of interference from the magnets in the robot's motors. You will likely only be able to get an accurate orientation reading when no motors are running on the robot. IMO, a better option is an IMU such as the NavX MXP, or the ADIS16448 (still available in FIRST Choice). I have not yet used either of these, but I have heard a lot of praise for the NavX. The ADIS16448 is new, but it is likely also very good.
NavX MXP no longer functions with the roboRIO. My team purchased a couple to use this year, but the 2016 firmware for the roboRIO breaks it. We have contacted the creators to ask if they are planning on fixing this, but the understanding we have is that no, it will not be updated in the foreseeable future which means it can't really be used this year...
__________________
Isaac
Chief of Programming and Head of Autonomous Control
FRC Team 1410
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:21 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi