2018 Navx-MXP C++ Library Release

29 views
Skip to first unread message

Alex Haltom

unread,
Oct 31, 2017, 2:22:18 PM10/31/17
to navx-mxp
Hello, 

Our FRC team is trying to work through the 2018 FRC Beta Testing, but we are having trouble getting the Navx library working. This was working with our 2017 FRC code, but now when we updated to 2018 FRC code, the Navx/AHRS stuff no longer is functioning. I read on the 2018 FRC Beta forums that we should expect a new 2018 C++ release for the Navx libraries, so I was wondering if that was the case and if so when we could expect it? I can post more information about specific errors if anyone is interested. 

Thanks,

Alex Haltom
FRC Programming Mentor

admin

unread,
Oct 31, 2017, 3:49:39 PM10/31/17
to navx-mxp
Please provide more details about what is no longer functioning.  We will be digging into the beta soon, however please note at a minimum what is your configuration (navX-MXP vs navX-Micro - and how is it connected to the RoboRIO), and what errors are you encountering.  We are busy developing cool new products for FRC and so we need to balance our efforts - and it really helps us if we can get help from teams to understand what the issues are with the 2018 WPI Library Beta.

Also, could you please send a link to the information on the beta forum regrading the navX, I wasn't aware of that.  Perhaps the author of that message includes some helpful information.

I encourage you also to open a ticket using the navX-MXP support site, this provides a way track the progress of any reported issues.

Thanks,

-  scott

Alex Haltom

unread,
Nov 1, 2017, 8:11:22 AM11/1/17
to navx-mxp
We are using the Navx-MXP plugged directly into the top of the roboRIO. 

I'll send the line of code followed by the error message:

AHRS *sensor_p = new AHRS(SPI::Port::kMXP, AHRS::kRawData, 200 /*samples/sec*/);

ERROR: The type 'AHRS' must implement the inherited pure virtual method 'frc::Sendable::InitTable' 

This was the reply in the forums regarding Navx-MXP C++ libraries:

"NavX Java should be fine, since it only uses Java API's and no native libraries. C++ NavX will not work until a new
release is pushed by them."

Please let me know if you need more information.

admin

unread,
Nov 2, 2017, 11:01:20 PM11/2/17
to navx-mxp
Thanks, Alex.  We are working on updating navX-MXP libraries for the 2018 FRC Beta and will be releasing sometime next week.

admin

unread,
Nov 6, 2017, 4:57:02 PM11/6/17
to navx-mxp
Hi Alex, I wanted to update you on progress.

Kauai Labs today released an updated navX-MXP/navX-Micro library for FRC that's compatible with the 2018 FRC Beta 2 release.  You can download that from the navX-MXP Roborio Library software site.

There are a few notes:

- Connecting via USB to the navX-MXP using Java will crash the RoboRIO.  This is slated to be fixed in Beta 3.
- We haven't yet completed the testing of the LabVIEW libraries for FRC Beta 2018.

I've also experienced what may be another issue with communication to the dashboard being disrupted after the roborio is rebooted (requiring the restart of the driver station to get things running again).  Not sure if this will affect you or not.
Reply all
Reply to author
Forward
0 new messages