Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
turret_command_map.hpp
Go to the documentation of this file.
1
#ifndef FANG_ROBOTICS_MCB_PIERCE_TURRET_COMMAND_MAP_HPP
2
#define FANG_ROBOTICS_MCB_PIERCE_TURRET_COMMAND_MAP_HPP
3
#include "
tap/control/remote_map_state.hpp
"
4
namespace
fang::robot
5
{
6
using
Remote
=
tap::communication::serial::Remote
;
7
using
Key
=
Remote::Key
;
8
using
MouseButton
=
tap::control::RemoteMapState::MouseButton
;
9
static
const
tap::control::RemoteMapState
kActivateBoosterRemoteState
10
{
11
Remote::Switch::LEFT_SWITCH
,
12
Remote::SwitchState::UP
13
};
14
15
static
const
tap::control::RemoteMapState
kAutofireRemoteState
16
{
17
Remote::SwitchState::UP
,
18
Remote::SwitchState::UP
19
};
20
21
static
const
tap::control::RemoteMapState
kUnjamRemoteState
22
{
23
Remote::SwitchState::UP
,
24
Remote::SwitchState::DOWN
25
};
26
27
static
const
tap::control::RemoteMapState
kAutofireMouseState
28
{
29
MouseButton::LEFT
30
};
31
32
static
const
tap::control::RemoteMapState
kUnjamMouseState
33
{
34
MouseButton::RIGHT
35
};
36
}
37
#endif
tap::communication::serial::Remote
Definition
remote.hpp:51
tap::communication::serial::Remote::Switch::LEFT_SWITCH
@ LEFT_SWITCH
tap::communication::serial::Remote::Key
Key
Definition
remote.hpp:93
tap::communication::serial::Remote::SwitchState::DOWN
@ DOWN
tap::communication::serial::Remote::SwitchState::UP
@ UP
tap::control::RemoteMapState
Definition
remote_map_state.hpp:56
tap::control::RemoteMapState::MouseButton
MouseButton
Definition
remote_map_state.hpp:63
fang::robot
Definition
base_robot.cpp:4
fang::robot::Remote
tap::communication::serial::Remote Remote
Definition
chassis_input_config.hpp:7
fang::robot::Key
Remote::Key Key
Definition
chassis_input_config.hpp:9
remote_map_state.hpp
fang-mcb-project
src
robot
variant
pierce
config
mapping
turret_command_map.hpp
Generated by
1.9.8