View Single Post
  #2   Spotlight this post!  
Unread 01-04-2016, 14:33
josephno1's Avatar
josephno1 josephno1 is offline
Registered User
FRC #3647
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: murica
Posts: 20
josephno1 is an unknown quantity at this point
Re: Why doesn't the SmartDashboard update?

We are a java team. Here is our code that does multiple autos

Code:
public void robotInit() {
		
		updateDashboard();
		
    	autoChooser = new SendableChooser();
    	autoChooser.addDefault("Default Autonomous does nothing!", new Default());
    	// Default Autonomous does nothing
    	autoChooser.addObject("Cross the Low Bar Don't Run This it doesn't work", new LowBar());
    	autoChooser.addObject("Cross Rough Patch/Stone Wall", new Main());
    	autoChooser.addObject("Cross the Low Bar, Experimental!", new LowBarEx());
    	//autoChooser.addObject("If Jonathan lied to us and we can cross twice", new RoughPatch());
    	CameraServer server = CameraServer.getInstance();

    	server.setQuality(50);
    	
    	SmartDashboard.putData("Autonomous", autoChooser);
}
Try opening a new dashboard/recompiling/running teleop for a bit
__________________
Go Team 3647 Millennium Falcons!
Reply With Quote