![]() |
Digital Module 2 Error Message
Hi all,
We are trying to get our drive running...I know it is a little late. We keep getting the following error on the driverstation. ERROR: Allocating module that is out of range or not found: Digital Module 2 ...in InitPWM() in C:/WindRiver/workspace/WPILib/PWM.cpp at line 36 We checked the code over and over, and all electrical connections. We opened up the imaging utility and the module status does say ok and the module is green. The digital module is plugged into module 2 on the 4 slot crio. The code uploads fine, and the status light is blinking normally until we run the code. Then the 5V indicator on the digital sidecar and the status light both go out when we enable the robot. Our robot code is written in C++ using the Command Based model. We've debugged and checked that the default DriveCommand is executing and calling the correct tank drive method with values from the joysticks. Here's the initialization code for the DriveTrain please let us know if you spot anything that could be wrong. It was generated with RobotBuilder. Code:
void RobotMap::init() {Code:
void DriveSubsystem::TankDrive(float left, float right)Team 3950 |
Re: Digital Module 2 Error Message
Quote:
http://wpilib.screenstepslive.com/s/...-and-variables Quote:
|
| All times are GMT -5. The time now is 12:38. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi