|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem with initializing RobotDrive/Talon objects
Hi,
I encountered a unique problem recently, I only found one thread with a similar problem which they didn't manage to solve(or at least they didn't post how). I managed to reduce the problem to the point where I initialize my SpeedControllers, either through RobotDrive or Talon(we use Talon SR) object. When I initialized the the RobotDrive object I received an error in the driver station: Error -52010 NIFPGA: Resource not initialized(something like this). Additionally, the driver station said that there is no robot code. Surprisingly when I tried uploading a basically identical iterative robot there was no problem and the robot worked fine. I tried initializing the Talons directly, this time I didn't get the previously mentioned error however there was still no robot code. I get the following error at the breakpoint of the initialization while debugging the robot: Can't find a source file at "/var/lib/jenkins/workspace/WPILib/WPILib - Release/hal/lib/athena/DigitalInternal.cpp" I have tried reimaging, repairing the toolchain, reinstalling the plugins yet nothing seems to solve the problem. Huge thanks to anyone who tried helping! |
|
#2
|
||||
|
||||
|
Re: Problem with initializing RobotDrive/Talon objects
If you are seeing "Error -52010 NIFPGA" in the Driver Station after adding a CANTalon, I would recommend reading section 16.36 in latest Talon SRX Software Reference Manual.
|
|
#3
|
||||
|
||||
|
Re: Problem with initializing RobotDrive/Talon objects
Quote:
Quote:
|
|
#4
|
||||
|
||||
|
Re: Problem with initializing RobotDrive/Talon objects
|
|
#5
|
|||
|
|||
|
Re: Problem with initializing RobotDrive/Talon objects
Wasn't using Talon SRX but I guess the section applies to all Speed Controllers. Anyways this fixed the problem, so thanks a lot!
|
|
#6
|
||||
|
||||
|
Re: Problem with initializing RobotDrive/Talon objects
Quote:
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|