Thread
:
Navx in a Command-based Java program
View Single Post
#
2
Today, 00:42
wj2k3
Registered User
FRC #2337
Join Date: Nov 2014
Location: United States
Posts: 2
Re: Navx in a Command-based Java program
try:
public
static AHRS ahrs = new AHRS(
SerialPort
.Port.kMXP);
instead of:
static AHRS ahrs = new AHRS(SPI.Port.kMXP);
and add import:
import edu.wpi.first.wpilibj.SerialPort;
wj2k3
View Public Profile
Find all posts by wj2k3
Find CD-Media Photos by wj2k3
Find CD-Media Papers by wj2k3