Issues obtaining a .CSV file for Pathfinder from roboRIO's /home/lvuser directory.


I am trying to obtain some .CSV files containing trajectory data for Pathfinder, from the roboRIO. I have pushed these files to the roboRIO using scp. The files retain on the roboRIO in the directory, /home/lvuser/trajectories, and are respectively named DEPOSITBOX1L.csv and DEPOSITBOX1R.csv.

However, upon running the source code in question, the following error occurs.

********** Robot program starting **********
Default robotPeriodic() method... Overload me!
WARNING  1  Joystick axis 1 on port 0 not available, check if controller is plugged in  edu.wpi.first.wpilibj.DriverStation.reportJoystickUnpluggedWarning(
Warning at edu.wpi.first.wpilibj.DriverStation.reportJoystickUnpluggedWarning( Joystick axis 1 on port 0 not available, check if controller is plugged in
Platform: /Linux/arm/
ERROR  1  DifferentialDrive... Output not updated often enough.  edu.wpi.first.wpilibj.MotorSafetyHelper.check(

Error at edu.wpi.first.wpilibj.MotorSafetyHelper.check( DifferentialDrive... Output not updated often enough.
# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0xb6dad5b0, pid=3903, tid=0xb52ea470
# JRE version: OpenJDK Runtime Environment (8.0_131-b57) (build 1.8.0_131-b57)
# Java VM: OpenJDK Client VM (25.131-b57 mixed mode, Evaluation linux-aarch32 )
# Problematic frame:
# C  []
[error occurred during error reporting (printing problematic frame), id 0xb]

# Core dump written. Default location: //core or core.3903 (max size 2048 kB). To ensure a full core dump, try "ulimit -c unlimited" before starting Java again
# An error report file with more information is saved as:
# /tmp/hs_err_pid3903.log

The class which loads the trajectory data, TrajectoryLoader, is in this gist; I access it through AutoRunner like this:

* Created by techtide/greenie/ab for Phoenix 1797 of ASL Robotics.
    protected void initialize() {
        this.routineToRun = routineToRun;
        csvTrajectoryUtility = new TrajectoryUtils();
    		pathfinderUtility = new  PathfinderUtils (csvTrajectoryUtility.csvToTrajectory(routineToRun, DriverStation.getInstance().getGameSpecificMessage().charAt(0)), 

In this snippet, Routine is an enum.

I would really appreciate any help possible.

Thanks very much in advance,


This usually means one of two things.

a) You’re loading an invalid CSV. If you generated your CSV with vannaka’s generator, you have to use the _detailed.csv file

b) The CSV is too long. Adjust your buffer size in your code to accomodate