package org.redalert1741.steamworks;

import org.redalert1741.robotBase.logging.DataLogger;
import org.redalert1741.robotBase.logging.Loggable;

import edu.wpi.first.wpilibj.Spark;

public class Climber implements Loggable
{
	private Spark climber1;
	private Spark climber2;

	public Climber(int c1, int c2)
	{
		climber1 = new Spark(c1);
		climber2 = new Spark(c2);
	}
	
	@Override
	public void setupLogging(DataLogger logger)
	{
		logger.addAttribute("climber1_Setpoint");
		logger.addAttribute("climber2_Setpoint");
	}

	@Override
	public void log(DataLogger logger)
	{
		logger.log("climber1_Setpoint", climber1.get());
		logger.log("climber2_Setpoint", climber2.get());
	}

}

@@ -383,16 +383,110 @@
 %0A%09%7D%0D%0A%09%0D%0A
+%09public void climb(double speed)%0D%0A%09%7B%0D%0A%09%09climber1.set(speed);%0D%0A%09%09climber2.set(-speed);%0D%0A%09%7D%0D%0A%09%0D%0A
 %09@Overri

Add climb function