Skip to content

Commit ba9f00b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 17a992f commit ba9f00b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/dynamic_graph_bridge/sot_loader.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class SotLoader : public SotLoaderBasic {
8888

8989
// \brief Compute one iteration of control.
9090
// Basically calls fillSensors, the SoT and the readControl.
91-
void oneIteration(const double& period);
91+
void oneIteration(const double &period);
9292

9393
// \brief Fill the sensors value for the SoT.
9494
void fillSensors(std::map<std::string, dgs::SensorValues> &sensorsIn);

src/sot_loader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct DataToLog {
5959

6060
void workThreadLoader(SotLoader *aSotLoader) {
6161
ros::Rate rate(1000); // 1 kHz
62-
double periodd (1e-3);
62+
double periodd(1e-3);
6363

6464
if (ros::param::has("/sot_controller/dt")) {
6565
ros::param::get("/sot_controller/dt", periodd);
@@ -205,7 +205,7 @@ void SotLoader::setup() {
205205
readControl(controlValues_);
206206
}
207207

208-
void SotLoader::oneIteration(const double& period) {
208+
void SotLoader::oneIteration(const double &period) {
209209
fillSensors(sensorsIn_);
210210
try {
211211
sotController_->nominalSetSensors(sensorsIn_);

0 commit comments

Comments
 (0)