<commit_before>#include <Commands/Shoot.h>

/**
 * Commands namespace with implementation
 * of Shoot command group.
 */
namespace commands
{

// Constructor:
Shoot::Shoot(Intake* intake, Shooter* shooter, double wait_time, double shoot_time, double timeout) : CommandGroup("Shoot")
{
	intake_ = intake;
	shooter_ = shooter;

	shoot_time_ = shoot_time;
	timeout_ = timeout;
	wait_time_ = wait_time;

	shoot_intake_ = new ShootIntake(intake_, shooter_, shoot_time_, timeout_);
	wait_ = new WaitCommand(wait_time_);
	spin_down_ = new SpinDown(shooter_);

	AddSequential(shoot_intake_);
	AddSequential(wait_);
	AddSequential(spin_down_);

	Requires(intake);
	SetInterruptible(false);
}

// Main functions:
void Shoot::Initialize()<commit_msg>Implements the previous changes detailed.<commit_after>#include <Commands/Shoot.h>

/**
 * Commands namespace with implementation
 * of Shoot command group.
 */
namespace commands
{

// Constructor:
Shoot::Shoot(Intake* intake, Shooter* shooter, double wait_time, double shoot_time, double timeout) : CommandGroup("Shoot")
{
	intake_ = intake;
	shooter_ = shooter;

	shoot_time_ = shoot_time;
	timeout_ = timeout;
	wait_time_ = wait_time;

	shoot_intake_ = new ShootIntake(intake_, shooter_, shoot_time_, timeout_);
	spin_down_ = new SpinDown(shooter_);

	AddSequential(shoot_intake_);
	AddSequential(spin_down_, wait_time_);

	Requires(intake);
	SetInterruptible(false);
}

// Main functions:
void Shoot::Initialize()
{'fraction_non_alphanumeric': 0.11187371310912834, 'fraction_numerical': 0.0, 'mean_word_length': 6.009615384615385, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1840487', 'n_tokens_mistral': 513, 'n_tokens_neox': 484, 'n_words': 110}