Skip to content

Commit

Permalink
[Nick] Fix Compile Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-mcgill committed Dec 3, 2024
1 parent 37a8de7 commit a7b8d46
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 168 deletions.
35 changes: 7 additions & 28 deletions src/main/cpp/HAL/Claw.cpp
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
#include "HAL/Claw.h"
#include <iostream>
#include <frc/Timer.h>
#include <frc/trajectory/TrapezoidProfile.h>
#include <units/length.h>
#include <units/velocity.h>
#include <units/angle.h>
#include <units/acceleration.h>
#include <frc/Timer.h>
#include <frc/trajectory/TrapezoidProfile.h>
#include <subsystems/ClawHAL.h>

// Claw movements

ClawHAL::ClawHAL()
{
// Put together this component
Claw::Claw()
{
// TODO - configure mechanism
std::cout << "configured claw mechanism" << std::endl;
}


Expand Down Expand Up @@ -59,14 +51,6 @@ void ResetProfiledMoveState()
//m_profileState = 0;
}



Claw::Claw()
{
// TODO - configure mechanism
std::cout << "configured claw mechanism" << std::endl;
}

void Claw::Clasp()
{
if (_signal != 1)
Expand All @@ -77,19 +61,19 @@ if (_signal != 1)

// TODO - implement mechanism to clasp
}
/*int ClawHAL::LauncherHAL()
/*int Claw::LauncherHAL()
{
// Put together the compontent
}
*/


void SetClawHALSpeed(double speed)
void SetClawSpeed(double speed)
{
// Handle any usar input to take this action compontent
}

double GetClawHALSpeed()
double GetClawSpeed()
{
return 0;
}
Expand All @@ -99,11 +83,6 @@ void RunIntake(double speed)
// Set motors to connect to certain speed
}

void ResetProfiledMoveState()
{
//m_profileState = 0;
}

void Claw::Unclasp()
{
if (_signal != 2)
Expand Down
95 changes: 0 additions & 95 deletions src/main/cpp/HAL/ClawHAL.cpp

This file was deleted.

45 changes: 0 additions & 45 deletions src/main/include/subsystems/ClawHAL.h

This file was deleted.

0 comments on commit a7b8d46

Please sign in to comment.