Fix errors from new cpplint.py (#7105)

This commit is contained in:
Tyler Veness
2024-09-20 17:43:39 -07:00
committed by GitHub
parent f1dde8895e
commit 554024767e
464 changed files with 1026 additions and 218 deletions

View File

@@ -4,6 +4,9 @@
#include "frc/smartdashboard/Field2d.h"
#include <memory>
#include <utility>
#include <networktables/DoubleArrayTopic.h>
#include <networktables/NTSendableBuilder.h>
#include <wpi/sendable/SendableRegistry.h>

View File

@@ -4,6 +4,7 @@
#include "frc/smartdashboard/FieldObject2d.h"
#include <utility>
#include <vector>
#include "frc/trajectory/Trajectory.h"

View File

@@ -4,6 +4,8 @@
#include "frc/smartdashboard/ListenerExecutor.h"
#include <utility>
using namespace frc::detail;
void ListenerExecutor::Execute(std::function<void()> task) {

View File

@@ -4,6 +4,7 @@
#include "frc/smartdashboard/Mechanism2d.h"
#include <memory>
#include <string_view>
#include <networktables/NTSendableBuilder.h>

View File

@@ -4,6 +4,9 @@
#include "frc/smartdashboard/MechanismLigament2d.h"
#include <cstdio>
#include <memory>
#include <wpi/StringExtras.h>
#include <wpi/json.h>

View File

@@ -4,6 +4,8 @@
#include "frc/smartdashboard/MechanismObject2d.h"
#include <string>
using namespace frc;
MechanismObject2d::MechanismObject2d(std::string_view name) : m_name{name} {}

View File

@@ -4,6 +4,10 @@
#include "frc/smartdashboard/SendableBuilderImpl.h"
#include <memory>
#include <string>
#include <utility>
#include <networktables/BooleanArrayTopic.h>
#include <networktables/BooleanTopic.h>
#include <networktables/DoubleArrayTopic.h>
@@ -18,8 +22,6 @@
#include <wpi/SmallVector.h>
#include <wpi/json.h>
#include "frc/smartdashboard/SmartDashboard.h"
using namespace frc;
template <typename Topic>

View File

@@ -4,6 +4,8 @@
#include "frc/smartdashboard/SendableChooserBase.h"
#include <utility>
#include <wpi/sendable/SendableRegistry.h>
using namespace frc;

View File

@@ -4,6 +4,11 @@
#include "frc/smartdashboard/SmartDashboard.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <hal/FRCUsageReporting.h>
#include <networktables/NetworkTable.h>
#include <networktables/NetworkTableInstance.h>