diff --git a/simulation/frc_gazebo_plugins/clock/src/clock.cpp b/simulation/frc_gazebo_plugins/clock/src/clock.cpp index 1e3268461e..d9fb821ac3 100644 --- a/simulation/frc_gazebo_plugins/clock/src/clock.cpp +++ b/simulation/frc_gazebo_plugins/clock/src/clock.cpp @@ -9,10 +9,6 @@ GZ_REGISTER_MODEL_PLUGIN(Clock) -Clock::Clock() {} - -Clock::~Clock() {} - void Clock::Load(physics::ModelPtr model, sdf::ElementPtr sdf) { this->model = model; diff --git a/simulation/frc_gazebo_plugins/clock/src/clock.h b/simulation/frc_gazebo_plugins/clock/src/clock.h index c2a52870fc..188d2ff100 100644 --- a/simulation/frc_gazebo_plugins/clock/src/clock.h +++ b/simulation/frc_gazebo_plugins/clock/src/clock.h @@ -34,9 +34,6 @@ using namespace gazebo; */ class Clock : public ModelPlugin { public: - Clock(); - ~Clock(); - /// \brief Load the clock and configures it according to the sdf. void Load(physics::ModelPtr model, sdf::ElementPtr sdf); diff --git a/simulation/frc_gazebo_plugins/dc_motor/src/dc_motor.cpp b/simulation/frc_gazebo_plugins/dc_motor/src/dc_motor.cpp index b510983f59..5bd755866d 100644 --- a/simulation/frc_gazebo_plugins/dc_motor/src/dc_motor.cpp +++ b/simulation/frc_gazebo_plugins/dc_motor/src/dc_motor.cpp @@ -9,10 +9,6 @@ GZ_REGISTER_MODEL_PLUGIN(DCMotor) -DCMotor::DCMotor() {} - -DCMotor::~DCMotor() {} - void DCMotor::Load(physics::ModelPtr model, sdf::ElementPtr sdf) { this->model = model; signal = 0; diff --git a/simulation/frc_gazebo_plugins/dc_motor/src/dc_motor.h b/simulation/frc_gazebo_plugins/dc_motor/src/dc_motor.h index 3404706727..a4336d6837 100644 --- a/simulation/frc_gazebo_plugins/dc_motor/src/dc_motor.h +++ b/simulation/frc_gazebo_plugins/dc_motor/src/dc_motor.h @@ -37,9 +37,6 @@ using namespace gazebo; */ class DCMotor : public ModelPlugin { public: - DCMotor(); - ~DCMotor(); - /// \brief Load the dc motor and configures it according to the sdf. void Load(physics::ModelPtr model, sdf::ElementPtr sdf); diff --git a/simulation/frc_gazebo_plugins/encoder/src/encoder.cpp b/simulation/frc_gazebo_plugins/encoder/src/encoder.cpp index e731c201f1..c0aa291fcd 100644 --- a/simulation/frc_gazebo_plugins/encoder/src/encoder.cpp +++ b/simulation/frc_gazebo_plugins/encoder/src/encoder.cpp @@ -9,10 +9,6 @@ GZ_REGISTER_MODEL_PLUGIN(Encoder) -Encoder::Encoder() {} - -Encoder::~Encoder() {} - void Encoder::Load(physics::ModelPtr model, sdf::ElementPtr sdf) { this->model = model; diff --git a/simulation/frc_gazebo_plugins/encoder/src/encoder.h b/simulation/frc_gazebo_plugins/encoder/src/encoder.h index d9b01304fb..6c05d56f11 100644 --- a/simulation/frc_gazebo_plugins/encoder/src/encoder.h +++ b/simulation/frc_gazebo_plugins/encoder/src/encoder.h @@ -45,9 +45,6 @@ using namespace gazebo; */ class Encoder : public ModelPlugin { public: - Encoder(); - ~Encoder(); - /// \brief Load the encoder and configures it according to the sdf. void Load(physics::ModelPtr model, sdf::ElementPtr sdf); diff --git a/simulation/frc_gazebo_plugins/gyro/src/gyro.cpp b/simulation/frc_gazebo_plugins/gyro/src/gyro.cpp index c81b62e5f9..6207e0ad38 100644 --- a/simulation/frc_gazebo_plugins/gyro/src/gyro.cpp +++ b/simulation/frc_gazebo_plugins/gyro/src/gyro.cpp @@ -9,10 +9,6 @@ GZ_REGISTER_MODEL_PLUGIN(Gyro) -Gyro::Gyro() {} - -Gyro::~Gyro() {} - void Gyro::Load(physics::ModelPtr model, sdf::ElementPtr sdf) { this->model = model; diff --git a/simulation/frc_gazebo_plugins/gyro/src/gyro.h b/simulation/frc_gazebo_plugins/gyro/src/gyro.h index 903dc7b5c3..38fd9f64d2 100644 --- a/simulation/frc_gazebo_plugins/gyro/src/gyro.h +++ b/simulation/frc_gazebo_plugins/gyro/src/gyro.h @@ -44,9 +44,6 @@ typedef enum { Roll /*X*/, Pitch /*Y*/, Yaw /*Z*/ } ROTATION; */ class Gyro : public ModelPlugin { public: - Gyro(); - ~Gyro(); - /// \brief Load the gyro and configures it according to the sdf. void Load(physics::ModelPtr model, sdf::ElementPtr sdf); diff --git a/simulation/frc_gazebo_plugins/limit_switch/src/external_limit_switch.cpp b/simulation/frc_gazebo_plugins/limit_switch/src/external_limit_switch.cpp index bd8761e808..070f95f0a3 100644 --- a/simulation/frc_gazebo_plugins/limit_switch/src/external_limit_switch.cpp +++ b/simulation/frc_gazebo_plugins/limit_switch/src/external_limit_switch.cpp @@ -15,8 +15,6 @@ ExternalLimitSwitch::ExternalLimitSwitch(sdf::ElementPtr sdf) { << " sensor=" << sensor->Name() << std::endl; } -ExternalLimitSwitch::~ExternalLimitSwitch() {} - bool ExternalLimitSwitch::Get() { return sensor->Contacts().contact().size() > 0; } diff --git a/simulation/frc_gazebo_plugins/limit_switch/src/external_limit_switch.h b/simulation/frc_gazebo_plugins/limit_switch/src/external_limit_switch.h index f662e1adaa..2c453c199e 100644 --- a/simulation/frc_gazebo_plugins/limit_switch/src/external_limit_switch.h +++ b/simulation/frc_gazebo_plugins/limit_switch/src/external_limit_switch.h @@ -22,7 +22,6 @@ using namespace gazebo; class ExternalLimitSwitch : public Switch { public: ExternalLimitSwitch(sdf::ElementPtr sdf); - ~ExternalLimitSwitch(); /// \brief Returns true when the switch is triggered. virtual bool Get(); diff --git a/simulation/frc_gazebo_plugins/limit_switch/src/internal_limit_switch.cpp b/simulation/frc_gazebo_plugins/limit_switch/src/internal_limit_switch.cpp index daa30ea978..cc77cc6a1b 100644 --- a/simulation/frc_gazebo_plugins/limit_switch/src/internal_limit_switch.cpp +++ b/simulation/frc_gazebo_plugins/limit_switch/src/internal_limit_switch.cpp @@ -24,8 +24,6 @@ InternalLimitSwitch::InternalLimitSwitch(physics::ModelPtr model, << "] radians=" << radians << std::endl; } -InternalLimitSwitch::~InternalLimitSwitch() {} - bool InternalLimitSwitch::Get() { double value; joint->GetAngle(0).Normalize(); diff --git a/simulation/frc_gazebo_plugins/limit_switch/src/internal_limit_switch.h b/simulation/frc_gazebo_plugins/limit_switch/src/internal_limit_switch.h index 5fdfb5eb52..897b72411c 100644 --- a/simulation/frc_gazebo_plugins/limit_switch/src/internal_limit_switch.h +++ b/simulation/frc_gazebo_plugins/limit_switch/src/internal_limit_switch.h @@ -20,7 +20,6 @@ using namespace gazebo; class InternalLimitSwitch : public Switch { public: InternalLimitSwitch(physics::ModelPtr model, sdf::ElementPtr sdf); - ~InternalLimitSwitch(); /// \brief Returns true when the switch is triggered. virtual bool Get(); diff --git a/simulation/frc_gazebo_plugins/limit_switch/src/limit_switch.cpp b/simulation/frc_gazebo_plugins/limit_switch/src/limit_switch.cpp index d65580e5f2..fb3e060810 100644 --- a/simulation/frc_gazebo_plugins/limit_switch/src/limit_switch.cpp +++ b/simulation/frc_gazebo_plugins/limit_switch/src/limit_switch.cpp @@ -9,10 +9,6 @@ GZ_REGISTER_MODEL_PLUGIN(LimitSwitch) -LimitSwitch::LimitSwitch() {} - -LimitSwitch::~LimitSwitch() {} - void LimitSwitch::Load(physics::ModelPtr model, sdf::ElementPtr sdf) { this->model = model; diff --git a/simulation/frc_gazebo_plugins/limit_switch/src/limit_switch.h b/simulation/frc_gazebo_plugins/limit_switch/src/limit_switch.h index 318be8d0fc..bbd00cbe67 100644 --- a/simulation/frc_gazebo_plugins/limit_switch/src/limit_switch.h +++ b/simulation/frc_gazebo_plugins/limit_switch/src/limit_switch.h @@ -68,9 +68,6 @@ using namespace gazebo; */ class LimitSwitch : public ModelPlugin { public: - LimitSwitch(); - ~LimitSwitch(); - /// \brief Load the limit switch and configures it according to the sdf. void Load(physics::ModelPtr model, sdf::ElementPtr sdf); diff --git a/simulation/frc_gazebo_plugins/pneumatic_piston/src/pneumatic_piston.cpp b/simulation/frc_gazebo_plugins/pneumatic_piston/src/pneumatic_piston.cpp index b28a226048..820aa00539 100644 --- a/simulation/frc_gazebo_plugins/pneumatic_piston/src/pneumatic_piston.cpp +++ b/simulation/frc_gazebo_plugins/pneumatic_piston/src/pneumatic_piston.cpp @@ -18,10 +18,6 @@ GZ_REGISTER_MODEL_PLUGIN(PneumaticPiston) -PneumaticPiston::PneumaticPiston() {} - -PneumaticPiston::~PneumaticPiston() {} - void PneumaticPiston::Load(physics::ModelPtr model, sdf::ElementPtr sdf) { this->model = model; signal = 0; diff --git a/simulation/frc_gazebo_plugins/pneumatic_piston/src/pneumatic_piston.h b/simulation/frc_gazebo_plugins/pneumatic_piston/src/pneumatic_piston.h index 1d93a9a83a..acd428cad5 100644 --- a/simulation/frc_gazebo_plugins/pneumatic_piston/src/pneumatic_piston.h +++ b/simulation/frc_gazebo_plugins/pneumatic_piston/src/pneumatic_piston.h @@ -49,9 +49,6 @@ using namespace gazebo; */ class PneumaticPiston : public ModelPlugin { public: - PneumaticPiston(); - ~PneumaticPiston(); - /// \brief Load the pneumatic piston and configures it according to the sdf. void Load(physics::ModelPtr model, sdf::ElementPtr sdf); diff --git a/simulation/frc_gazebo_plugins/potentiometer/src/potentiometer.cpp b/simulation/frc_gazebo_plugins/potentiometer/src/potentiometer.cpp index 4bc1e380e5..561955211c 100644 --- a/simulation/frc_gazebo_plugins/potentiometer/src/potentiometer.cpp +++ b/simulation/frc_gazebo_plugins/potentiometer/src/potentiometer.cpp @@ -19,10 +19,6 @@ GZ_REGISTER_MODEL_PLUGIN(Potentiometer) -Potentiometer::Potentiometer() {} - -Potentiometer::~Potentiometer() {} - void Potentiometer::Load(physics::ModelPtr model, sdf::ElementPtr sdf) { this->model = model; diff --git a/simulation/frc_gazebo_plugins/potentiometer/src/potentiometer.h b/simulation/frc_gazebo_plugins/potentiometer/src/potentiometer.h index a9b46f33f1..5e7048f947 100644 --- a/simulation/frc_gazebo_plugins/potentiometer/src/potentiometer.h +++ b/simulation/frc_gazebo_plugins/potentiometer/src/potentiometer.h @@ -34,9 +34,6 @@ using namespace gazebo; */ class Potentiometer : public ModelPlugin { public: - Potentiometer(); - ~Potentiometer(); - /// \brief Load the potentiometer and configures it according to the sdf. void Load(physics::ModelPtr model, sdf::ElementPtr sdf); diff --git a/simulation/frc_gazebo_plugins/rangefinder/src/rangefinder.cpp b/simulation/frc_gazebo_plugins/rangefinder/src/rangefinder.cpp index 00210b889e..c99c4c9fc7 100644 --- a/simulation/frc_gazebo_plugins/rangefinder/src/rangefinder.cpp +++ b/simulation/frc_gazebo_plugins/rangefinder/src/rangefinder.cpp @@ -19,10 +19,6 @@ GZ_REGISTER_MODEL_PLUGIN(Rangefinder) -Rangefinder::Rangefinder() {} - -Rangefinder::~Rangefinder() {} - void Rangefinder::Load(physics::ModelPtr model, sdf::ElementPtr sdf) { this->model = model; diff --git a/simulation/frc_gazebo_plugins/rangefinder/src/rangefinder.h b/simulation/frc_gazebo_plugins/rangefinder/src/rangefinder.h index fca9a2b6a0..f64a790cf3 100644 --- a/simulation/frc_gazebo_plugins/rangefinder/src/rangefinder.h +++ b/simulation/frc_gazebo_plugins/rangefinder/src/rangefinder.h @@ -32,9 +32,6 @@ using namespace gazebo; */ class Rangefinder : public ModelPlugin { public: - Rangefinder(); - ~Rangefinder(); - /// \brief Load the rangefinder and configures it according to the sdf. void Load(physics::ModelPtr model, sdf::ElementPtr sdf); diff --git a/simulation/frc_gazebo_plugins/servo/src/servo.cpp b/simulation/frc_gazebo_plugins/servo/src/servo.cpp index 1f988fe2c4..5335cc366a 100644 --- a/simulation/frc_gazebo_plugins/servo/src/servo.cpp +++ b/simulation/frc_gazebo_plugins/servo/src/servo.cpp @@ -18,10 +18,6 @@ GZ_REGISTER_MODEL_PLUGIN(Servo) -Servo::Servo() {} - -Servo::~Servo() {} - void Servo::Load(physics::ModelPtr model, sdf::ElementPtr sdf) { this->model = model; signal = 0; diff --git a/simulation/frc_gazebo_plugins/servo/src/servo.h b/simulation/frc_gazebo_plugins/servo/src/servo.h index 925b707d7a..789333b961 100644 --- a/simulation/frc_gazebo_plugins/servo/src/servo.h +++ b/simulation/frc_gazebo_plugins/servo/src/servo.h @@ -34,9 +34,6 @@ using namespace gazebo; */ class Servo : public ModelPlugin { public: - Servo(); - ~Servo(); - /// \brief load the servo and configure it according to the sdf void Load(physics::ModelPtr model, sdf::ElementPtr sdf);