Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
move_unjam_integral_comprised_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) 2022 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_MOVE_UNJAM_INTEGRAL_COMPRISED_COMMAND_HPP_
25#define TAPROOT_MOVE_UNJAM_INTEGRAL_COMPRISED_COMMAND_HPP_
26
28
29#include "../interfaces/integrable_setpoint_subsystem.hpp"
30
33
35{
44{
45public:
58 MoveIntegralCommand &moveIntegralCommand,
59 UnjamCommandInterface &unjamCommand);
60
61 bool isReady() override;
62
63 void initialize() override;
64
65 void execute() override;
66
67 void end(bool interrupted) override;
68
69 bool isFinished() const override;
70
71 const char *getName() const override { return "move unjam integral cc"; }
72
73private:
75
76 MoveIntegralCommand &moveIntegralCommand;
77
78 UnjamCommandInterface &unjamCommand;
79
81 bool unjamSequenceCommencing;
82};
83
84} // namespace tap::control::setpoint
85
86#endif // TAPROOT_MOVE_UNJAM_INTEGRAL_COMPRISED_COMMAND_HPP_
Definition drivers.hpp:70
Definition comprised_command.hpp:58
Definition integrable_setpoint_subsystem.hpp:43
Definition move_integral_command.hpp:41
Definition move_unjam_integral_comprised_command.hpp:44
bool isReady() override
Definition move_unjam_integral_comprised_command.cpp:51
const char * getName() const override
Definition move_unjam_integral_comprised_command.hpp:71
void initialize() override
Definition move_unjam_integral_comprised_command.cpp:56
void end(bool interrupted) override
Definition move_unjam_integral_comprised_command.cpp:75
bool isFinished() const override
Definition move_unjam_integral_comprised_command.cpp:81
void execute() override
Definition move_unjam_integral_comprised_command.cpp:62
Definition unjam_command_interface.hpp:40
Definition setpoint_continuous_jam_checker.hpp:36
fang::Drivers & drivers
Definition robot_singleton.cpp:45