|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
NavX Error
Our team has recently been using a NavX-MXP Robotics Navigation Sensor by kauai labs. After using it for a bit we noticed that instantiating the sensor and reseting yaw, (see below picture) then using the reference in periodic tasks yielded an error like, "This SPI port is already in use", in the driverStation console. When we removed the yaw reset it worked fine. Any reasons to why this may be?
|
|
#2
|
||||
|
||||
|
Re: NavX Error
Quote:
|
|
#3
|
|||
|
|||
|
Re: NavX Error
I made a change to Open to register the VI refnum and our crashing issue is resolved. If anyone else using LV and navX has an every-other-time crash during development, there should be a fix up shortly, and I could tell you the edit to make if need be.
Greg McKaskle |
|
#4
|
||||
|
||||
|
Re: NavX Error
Greg,
can you send or post the fix, we were attributing this every other crash to mDNS... we are using the navx too. PM here is fine. Thanks. Last edited by tr6scott : 12-02-2016 at 16:22. Reason: decided against putting my team email up in public. |
|
#5
|
||||
|
||||
|
Re: NavX Error
I will be posting a fix for this error tonight.
|
|
#6
|
||||
|
||||
|
Re: NavX Error
Updated Library. This should fix the mentioned issue by OP and the later mentioned issue by Greg.
https://github.com/FRC900/navX-MXP-L...s/tag/v2.0.5.0 |
|
#7
|
|||
|
|||
|
Re: NavX Error
We verified the fix. Thanks for pushing the update.
Greg McKaskle |
|
#8
|
||||
|
||||
|
Thank you for help with the fix.
|
|
#9
|
||||
|
||||
|
Re: NavX Error
Thank You!
No more every other crashes yesterday... great time saver. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|