Skip to content

Commit 1cd061d

Browse files
committed
style(pre-commit): fix clang-format errors
1 parent 64db250 commit 1cd061d

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

bitbots_lowlevel/bitbots_ros_control/include/bitbots_ros_control/hardware_interface.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ class HardwareInterface {
1212
public:
1313
virtual bool init() = 0;
1414

15-
virtual void read(const rclcpp::Time &t, const rclcpp::Duration &dt) {};
15+
virtual void read(const rclcpp::Time &t, const rclcpp::Duration &dt){};
1616

17-
virtual void write(const rclcpp::Time &t, const rclcpp::Duration &dt) {};
17+
virtual void write(const rclcpp::Time &t, const rclcpp::Duration &dt){};
1818

19-
virtual void restoreAfterPowerCycle() {};
19+
virtual void restoreAfterPowerCycle(){};
2020

2121
virtual ~HardwareInterface(){};
2222
};

bitbots_lowlevel/bitbots_ros_control/src/pressure_converter.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ PressureConverter::PressureConverter(rclcpp::Node::SharedPtr nh, char side) {
7676
}
7777
for (int i = 0; i < 4; i++) {
7878
std::stringstream single_wrench_frame;
79-
single_wrench_frame << side << "_" << "cleat_" << wrench_topics[i];
79+
single_wrench_frame << side << "_"
80+
<< "cleat_" << wrench_topics[i];
8081
wrench_frames_.push_back(single_wrench_frame.str());
8182
}
8283

bitbots_navigation/bitbots_localization/include/bitbots_localization/MotionModel.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ class RobotMotionModel : public particle_filter::MovementModel<RobotState> {
6161

6262
double sample(double b) const;
6363
};
64-
}; // namespace bitbots_localization
64+
}; // namespace bitbots_localization
6565
#endif // BITBOTS_LOCALIZATION_MOTIONMODEL_H

bitbots_navigation/bitbots_localization/include/bitbots_localization/Resampling.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,5 @@ void ImportanceResamplingWE<StateType>::resample(const ParticleList &sourceList,
9797
// template <class StateType>
9898
// void ParticleFilter<StateType>::drawAllFromDistribution(const
9999
// std::shared_ptr<StateDistribution<StateType>>& distribution) {
100-
}; // namespace bitbots_localization
100+
}; // namespace bitbots_localization
101101
#endif // IMPORTANCERESAMPLINGWE_H

bitbots_navigation/bitbots_localization/include/bitbots_localization/map.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ class Map {
5353
private:
5454
double out_of_map_value_;
5555
};
56-
}; // namespace bitbots_localization
56+
}; // namespace bitbots_localization
5757
#endif // BITBOTS_LOCALIZATION_MAP_H

0 commit comments

Comments
 (0)