Go to Post Legend has it that Brandon installs the server in a bulletproof case shortly before Kickoff. That way, when the server explodes, the damage to surrounding things is minimal. ;) - Billfred [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-01-2016, 21:15
ejscribner ejscribner is offline
Drive Team & Coach
FRC #2972
 
Join Date: Jan 2016
Rookie Year: 2013
Location: Boulder, CO
Posts: 15
ejscribner is an unknown quantity at this point
navX MXP Import Issue

I'm working on setting up the navX on Java with our roboRIO. I've followed the steps listed in this tutorial http://www.pdocs.kauailabs.com/navx-...ibraries/java/ and I'm still getting an error with the import. Here's what the error is saying:
Code:
Buildfile: C:\Users\Developer\Documents\GitHub\DeltaBot\build.xml
Trying to override old definition of task classloader
clean:
   [delete] Deleting directory C:\Users\Developer\Documents\GitHub\DeltaBot\build
compile:
    [mkdir] Created dir: C:\Users\Developer\Documents\GitHub\DeltaBot\build
     [echo] [athena-compile] Compiling src with classpath=C:\Users\Developer/wpilib/java/current/lib/WPILib.jar:C:\Users\Developer/wpilib/java/current/lib/NetworkTables.jar to build
    [javac] Compiling 1 source file to C:\Users\Developer\Documents\GitHub\DeltaBot\build
    [javac] C:\Users\Developer\Documents\GitHub\DeltaBot\src\org\usfirst\frc\team2972\robot\Robot.java:22: error: package com.kauailabs.navx.frc does not exist
    [javac] import com.kauailabs.navx.frc.AHRS;
    [javac]                              ^
    [javac] C:\Users\Developer\Documents\GitHub\DeltaBot\src\org\usfirst\frc\team2972\robot\Robot.java:33: error: cannot find symbol
    [javac]     AHRS ahrs;
    [javac]     ^
    [javac]   symbol:   class AHRS
    [javac]   location: class Robot
    [javac] C:\Users\Developer\Documents\GitHub\DeltaBot\src\org\usfirst\frc\team2972\robot\Robot.java:54: error: cannot find symbol
    [javac] 	           ahrs = new AHRS(SPI.Port.kMXP);  
    [javac] 	                      ^
    [javac]   symbol:   class AHRS
    [javac]   location: class Robot
    [javac] C:\Users\Developer\Documents\GitHub\DeltaBot\src\org\usfirst\frc\team2972\robot\Robot.java:169: error: package AHRS does not exist
    [javac] 	          AHRS.BoardYawAxis yaw_axis = ahrs.getBoardYawAxis(); 
    [javac] 	              ^
    [javac] 4 errors

BUILD FAILED
C:\Users\Developer\wpilib\java\current\ant\build.xml:69: Compile failed; see the compiler error output for details.

Total time: 3 seconds
And my import line looks like this:
Code:
import com.kauailabs.navx.frc.AHRS;
Any ideas as to what may be causing this error?
 


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 22:37.

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


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