Go to Post The most important deisgn criteria is always performance in any of the parts / systems we design. But we do try to abide by the saying -- if it doesn't look good (right), it probably isn't good (right). - Adam Freeman [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-12-2018, 04:05 PM
zkeen zkeen is offline
Registered User
FRC #0494
 
Join Date: Jan 2016
Location: Goodrich
Posts: 2
zkeen is an unknown quantity at this point
ADIS16448 Gyro C++ Library

Has the library found at this page not been updated for 2018?
https://github.com/juchong/ADIS16448-RoboRIO-Driver

I put the .cpp and .h in a new cpp program and i get errors dealing with the priority_mutex. Works fine in a java prgram though.

I get ~260 errors like "priority_mutex" was not declared in this scope" and similar issues
Reply With Quote
  #2   Spotlight this post!  
Unread 01-12-2018, 07:25 PM
calcmogul's Avatar
calcmogul calcmogul is offline
WPILib Developer
AKA: Tyler Veness
FRC #3512 (Spartatroniks)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Santa Maria, CA
Posts: 78
calcmogul is just really nicecalcmogul is just really nicecalcmogul is just really nicecalcmogul is just really nice
Re: ADIS16448 Gyro C++ Library

Quote:
Originally Posted by zkeen View Post
Has the library found at this page not been updated for 2018?
https://github.com/juchong/ADIS16448-RoboRIO-Driver

I put the .cpp and .h in a new cpp program and i get errors dealing with the priority_mutex. Works fine in a java prgram though.

I get ~260 errors like "priority_mutex" was not declared in this scope" and similar issues
I just submitted a patch to fix this, which builds in a test project: https://github.com/juchong/ADIS16448...Driver/pull/17. It should probably be tested with the real sensor though, and I don't have one.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-12-2018, 07:50 PM
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 120
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: ADIS16448 Gyro C++ Library

Updating both C++ and Java are next on the list. Thanks calcmogul! I'll take a look at the updates with a sensor tonight and make any updates if needed.

I'm also going to work on implementing the new "DMA SPI" transfer method instead of the standard WPI Lib method to hopefully increase performance and decrease CPU overhead.
__________________
Team 1817 | Llano Estacado RoboRaiders | Mentor | 2007-2011
Team 3730 | NuBots | Mentor | 2012
Team 3005 | RoboChargers| Mentor | 2013-2014
Team 2655 | The Flying Platypi | Mentor | 2014-2018
Analog Devices Inc. | KoP Supplier | FRC Gyro Designer | More Info


Reply With Quote
  #4   Spotlight this post!  
Unread 01-15-2018, 12:09 AM
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 120
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: ADIS16448 Gyro C++ Library

Quote:
Originally Posted by zkeen View Post
Has the library found at this page not been updated for 2018?
https://github.com/juchong/ADIS16448-RoboRIO-Driver

I put the .cpp and .h in a new cpp program and i get errors dealing with the priority_mutex. Works fine in a java prgram though.

I get ~260 errors like "priority_mutex" was not declared in this scope" and similar issues
That was quick! Take a look at the C++ implementation on GitHub and let me know if you run into any issues! This version should be much more accurate and require less resources than the previous implementation.
__________________
Team 1817 | Llano Estacado RoboRaiders | Mentor | 2007-2011
Team 3730 | NuBots | Mentor | 2012
Team 3005 | RoboChargers| Mentor | 2013-2014
Team 2655 | The Flying Platypi | Mentor | 2014-2018
Analog Devices Inc. | KoP Supplier | FRC Gyro Designer | More Info



Last edited by juchong : 01-15-2018 at 12:22 AM.
Reply With Quote
Reply


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 06:30 AM.

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


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