Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
calibrate_command.hpp
Go to the documentation of this file.
1/*****************************************************************************/
2/********** !!! WARNING: CODE GENERATED BY TAPROOT. DO NOT EDIT !!! **********/
3/*****************************************************************************/
4
5/*
6 * Copyright (c) 2020-2021 Advanced Robotics at the University of Washington <robomstr@uw.edu>
7 *
8 * This file is part of Taproot.
9 *
10 * Taproot is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
14 *
15 * Taproot is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with Taproot. If not, see <https://www.gnu.org/licenses/>.
22 */
23
24#ifndef TAPROOT_CALIBRATE_COMMAND_HPP_
25#define TAPROOT_CALIBRATE_COMMAND_HPP_
26
28
29namespace tap
30{
31namespace control
32{
33namespace setpoint
34{
35// Forward declarations
36class SetpointSubsystem;
37
51{
52public:
56 explicit CalibrateCommand(SetpointSubsystem* setpointSubsystem);
57
58 const char* getName() const override { return "agitator calibrate"; }
59
60 bool isReady() override;
61
62 void initialize() override;
63
64 void execute() override;
65
66 void end(bool interrupted) override;
67
68 bool isFinished() const override;
69
70private:
72 bool calibrationSuccessful;
73}; // class CalibrateCommand
74
75} // namespace setpoint
76
77} // namespace control
78
79} // namespace tap
80
81#endif // TAPROOT_CALIBRATE_COMMAND_HPP_
Definition command.hpp:44
Definition calibrate_command.hpp:51
bool isFinished() const override
Definition calibrate_command.cpp:48
void initialize() override
Definition calibrate_command.cpp:42
bool isReady() override
Definition calibrate_command.cpp:39
void execute() override
Definition calibrate_command.cpp:44
void end(bool interrupted) override
Definition calibrate_command.cpp:46
const char * getName() const override
Definition calibrate_command.hpp:58
Definition setpoint_subsystem.hpp:48
Definition ballistics.cpp:29