<commit_before>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ca.teamdave.schwimmer.automodes.competition;

import ca.teamdave.schwimmer.automodes.AutoModeDescriptor;
import ca.teamdave.schwimmer.command.Command;
import ca.teamdave.schwimmer.command.drive.DriveStop;
import ca.teamdave.schwimmer.command.drive.DriveToPosition;
import ca.teamdave.schwimmer.command.drive.FollowLine;
import ca.teamdave.schwimmer.command.drive.TurnToHeading;
import ca.teamdave.schwimmer.command.hopper.HopperHeight;
import ca.teamdave.schwimmer.command.meta.Delay;
import ca.teamdave.schwimmer.command.meta.Latch;
import ca.teamdave.schwimmer.command.meta.Series;
import ca.teamdave.schwimmer.command.pickup.PickupIntake;
import ca.teamdave.schwimmer.command.pickup.PickupSpit;
import ca.teamdave.schwimmer.command.pickup.PickupStop;
import ca.teamdave.schwimmer.command.shooter.ShootDisks;
import ca.teamdave.schwimmer.command.shooter.ShooterHeight;
import ca.teamdave.schwimmer.util.Const;
import ca.teamdave.schwimmer.util.DaveVector;

/**
 *
 * @author leighpauls
 */
public class Back5Disk extends AutoModeDescriptor {

    public static Command getAsCommand() {
        double turnAngle = Const.getInstance().getDouble(
                "5_disk_turn_angle", 40);
        double driveAngle = Const.getInstance().getDouble(
                "5_disk_drive_angle", 30.0);
        double driveDistance = Const.getInstance().getDouble(
                "5_disk_drive_dist", 1.5);
        double drivePower = Const.getInstance().getDouble(
                "5_disk_drive_power", 0.5);
        
        double closeShotAngle = Const.getInstance().getDouble(
                "5_disk_close_angle", -10);
        
        return new Series(new Command[] {
            Back3Disk.getAsCommand(),<commit_msg>constants for 5 disk<commit_after>/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ca.teamdave.schwimmer.automodes.competition;

import ca.teamdave.schwimmer.automodes.AutoModeDescriptor;
import ca.teamdave.schwimmer.command.Command;
import ca.teamdave.schwimmer.command.drive.DriveStop;
import ca.teamdave.schwimmer.command.drive.DriveToPosition;
import ca.teamdave.schwimmer.command.drive.FollowLine;
import ca.teamdave.schwimmer.command.drive.TurnToHeading;
import ca.teamdave.schwimmer.command.hopper.HopperHeight;
import ca.teamdave.schwimmer.command.meta.Delay;
import ca.teamdave.schwimmer.command.meta.Latch;
import ca.teamdave.schwimmer.command.meta.Series;
import ca.teamdave.schwimmer.command.pickup.PickupIntake;
import ca.teamdave.schwimmer.command.pickup.PickupSpit;
import ca.teamdave.schwimmer.command.pickup.PickupStop;
import ca.teamdave.schwimmer.command.shooter.ShootDisks;
import ca.teamdave.schwimmer.command.shooter.ShooterHeight;
import ca.teamdave.schwimmer.util.Const;
import ca.teamdave.schwimmer.util.DaveVector;

/**
 *
 * @author leighpauls
 */
public class Back5Disk extends AutoModeDescriptor {

    public static Command getAsCommand() {
        double turnAngle = Const.getInstance().getDouble(
                "5_disk_turn_angle", 40);
        double driveAngle = Const.getInstance().getDouble(
                "5_disk_drive_angle", 25.0);
        double driveDistance = Const.getInstance().getDouble(
                "5_disk_drive_dist", 2.4);
        double drivePower = Const.getInstance().getDouble(
                "5_disk_drive_power", 0.3);
        
        double closeShotAngle = Const.getInstance().getDouble(
                "5_disk_close_angle", -5);
        
        return new Series(new Command[] {
            Back3Disk.getAsCommand(),
{'fraction_non_alphanumeric': 0.10532030401737243, 'fraction_numerical': 0.009771986970684038, 'mean_word_length': 3.7857142857142856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2495565', 'n_tokens_mistral': 1216, 'n_tokens_neox': 1168, 'n_words': 186}