Skip to content

Commit

Permalink
Add doxygen topics
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Sep 7, 2024
1 parent e60d097 commit d12f896
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 0 deletions.
7 changes: 7 additions & 0 deletions romiVendordep/src/main/native/include/frc/romi/OnBoardIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@

namespace frc {

/**
* @ingroup romi_api
* @{
*/

/**
* This class represents the onboard IO of the Romi
* reference robot. This includes the pushbuttons and
Expand Down Expand Up @@ -74,4 +79,6 @@ class OnBoardIO {
std::unique_ptr<frc::DigitalOutput> m_redLed;
};

/** @} */

} // namespace frc
7 changes: 7 additions & 0 deletions romiVendordep/src/main/native/include/frc/romi/RomiGyro.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

namespace frc {

/**
* @ingroup romi_api
* @{
*/

/**
* Use a rate gyro to return the robots heading relative to a starting position.
*
Expand Down Expand Up @@ -88,4 +93,6 @@ class RomiGyro {
double m_angleZOffset = 0;
};

/** @} */

} // namespace frc
7 changes: 7 additions & 0 deletions romiVendordep/src/main/native/include/frc/romi/RomiMotor.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

namespace frc {

/**
* @defgroup romi_api Romi Hardware API
* @{
*/

/**
* RomiMotor
*
Expand All @@ -27,4 +32,6 @@ class RomiMotor : public PWMMotorController {
RomiMotor& operator=(RomiMotor&&) = default;
};

/** @} */

} // namespace frc
7 changes: 7 additions & 0 deletions xrpVendordep/src/main/native/include/frc/xrp/XRPGyro.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

namespace frc {

/**
* @ingroup xrp_api
* @{
*/

/**
* Use a rate gyro to return the robots heading relative to a starting position.
*
Expand Down Expand Up @@ -93,4 +98,6 @@ class XRPGyro {
double m_angleZOffset = 0;
};

/** @} */

} // namespace frc
7 changes: 7 additions & 0 deletions xrpVendordep/src/main/native/include/frc/xrp/XRPMotor.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ namespace frc {

WPI_IGNORE_DEPRECATED

/**
* @defgroup xrp_api XRP Hardware API
* @{
*/

class XRPMotor : public frc::MotorController, public frc::MotorSafety {
public:
/**
Expand Down Expand Up @@ -51,6 +56,8 @@ class XRPMotor : public frc::MotorController, public frc::MotorSafety {
static void CheckDeviceAllocation(int deviceNum);
};

/** @} */

WPI_UNIGNORE_DEPRECATED

} // namespace frc
7 changes: 7 additions & 0 deletions xrpVendordep/src/main/native/include/frc/xrp/XRPOnBoardIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@

namespace frc {

/**
* @ingroup xrp_api
* @{
*/

/**
* This class represents the onboard IO of the XRP
* reference robot. This the USER push button and
Expand Down Expand Up @@ -43,4 +48,6 @@ class XRPOnBoardIO {
frc::DigitalOutput m_led{1};
};

/** @} */

} // namespace frc
7 changes: 7 additions & 0 deletions xrpVendordep/src/main/native/include/frc/xrp/XRPRangefinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

namespace frc {

/**
* @ingroup xrp_api
* @{
*/

/**
* This class represents the reflectance sensor pair
* on the XRP robot.
Expand All @@ -26,4 +31,6 @@ class XRPRangefinder {
frc::AnalogInput m_rangefinder{2};
};

/** @} */

} // namespace frc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

namespace frc {

/**
* @ingroup xrp_api
* @{
*/

/**
* This class represents the reflectance sensor pair
* on the XRP robot.
Expand All @@ -31,4 +36,6 @@ class XRPReflectanceSensor {
frc::AnalogInput m_rightSensor{1};
};

/** @} */

} // namespace frc
7 changes: 7 additions & 0 deletions xrpVendordep/src/main/native/include/frc/xrp/XRPServo.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@

namespace frc {

/**
* @ingroup xrp_api
* @{
*/

/**
* XRPServo.
*
Expand Down Expand Up @@ -65,4 +70,6 @@ class XRPServo {
static void CheckDeviceAllocation(int deviceNum);
};

/** @} */

} // namespace frc

0 comments on commit d12f896

Please sign in to comment.