WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
RomiMotor.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
8
9namespace frc {
10
11/**
12 * @defgroup romi_api Romi Hardware API
13 * @{
14 */
15
16/**
17 * RomiMotor
18 *
19 * A general use PWM motor controller representing the motors on a Romi robot
20 */
22 public:
23 /**
24 * Constructor for a RomiMotor.
25 *
26 * @param channel The PWM channel that the RomiMotor is attached to.
27 * 0 is left, 1 is right
28 */
29 explicit RomiMotor(int channel);
30
31 RomiMotor(RomiMotor&&) = default;
33};
34
35/** @} */
36
37} // namespace frc
Common base class for all PWM Motor Controllers.
Definition PWMMotorController.h:35
RomiMotor.
Definition RomiMotor.h:21
RomiMotor(RomiMotor &&)=default
RomiMotor(int channel)
Constructor for a RomiMotor.
RomiMotor & operator=(RomiMotor &&)=default
Definition CAN.h:11