Skip to content

Commit 9440378

Browse files
committed
Merge branch 'master' into feature/syropod_manipulation
2 parents 3fcbd22 + 2ca708b commit 9440378

File tree

13 files changed

+47
-44
lines changed

13 files changed

+47
-44
lines changed

include/syropod_highlevel_controller/admittance_controller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ class AdmittanceController
7070

7171
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7272

73-
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_ADMITTANCE_CONTROLLER_H
73+
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_ADMITTANCE_CONTROLLER_H

include/syropod_highlevel_controller/debug_visualiser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ class DebugVisualiser
113113

114114
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
115115

116-
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_DEBUG_OUTPUT_H
116+
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_DEBUG_OUTPUT_H

include/syropod_highlevel_controller/model.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,4 +707,4 @@ class Tip
707707

708708
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
709709

710-
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_MODEL_H
710+
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_MODEL_H

include/syropod_highlevel_controller/parameters_and_states.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ struct Parameters
343343
AdjustableParameter virtual_damping_ratio; ///< The virtual damping value used in admittance controller calculations
344344
AdjustableParameter force_gain; ///< The value used to scale the default tip force input
345345

346-
// Gait parameters
346+
// Gait parameters
347347
Parameter<int> stance_phase; ///< The ratio of the entire step cycle which is in 'stance'
348348
Parameter<int> swing_phase; ///< The ratio of the entire step cycle which is in 'swing'
349349
Parameter<int> phase_offset; ///< The phase offset between step cycles of successive legs
@@ -382,4 +382,4 @@ struct Parameters
382382

383383
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
384384

385-
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_PARAMETERS_AND_STATES_H
385+
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_PARAMETERS_AND_STATES_H

include/syropod_highlevel_controller/pose.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class Pose
183183
return return_pose;
184184
};
185185

186-
/// Generates interpolation from this pose to target pose using control input between zero and one.
186+
/// Generates interpolation from this pose to target pose using control input between zero and one.
187187
/// @param[in] control_input A value between 0.0 and 1.0 which defines the progress of interpolation
188188
/// @param[in] target_pose The target pose to which interpolation will return with control input of one
189189
/// @return The resultant interpolated pose
@@ -217,4 +217,4 @@ class Pose
217217

218218
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
219219

220-
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_POSE_H
220+
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_POSE_H

include/syropod_highlevel_controller/pose_controller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,4 +598,4 @@ class LegPoser
598598

599599
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
600600

601-
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_POSE_CONTROLLER_H
601+
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_POSE_CONTROLLER_H

include/syropod_highlevel_controller/standard_includes.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@
5959

6060
#define GRAVITY_ACCELERATION -9.81 ///< Approximate gravitational acceleration (m/s/s)
6161

62-
using namespace std;
63-
6462
/// Converts Degrees to Radians.
6563
/// @param[in] degrees Value in degrees to be converted to radians
6664
/// @return Value converted to radians from degrees
@@ -479,4 +477,3 @@ inline Eigen::Matrix4d createDHMatrix(const double& d, const double& theta, cons
479477
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
480478

481479
#endif // SYROPOD_HIGHLEVEL_CONTROLLER_STANDARD_INCLUDES_H
482-

include/syropod_highlevel_controller/state_controller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class StateController
4949

5050
/// Accessor for parameter member.
5151
/// @return Parameter data structure which contains parameter variables
52-
inline const Parameters &getParameters(void) { return params_; };
52+
inline const Parameters& getParameters(void) { return params_; };
5353

5454
/// Accessor for system state member.
5555
/// @return Current state of the system

src/admittance_controller.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,6 @@ void AdmittanceController::updateStiffness(std::shared_ptr<WalkController> walke
131131
adjacent_leg_2->setVirtualStiffness(current_stiffness_2 + load_stiffness);
132132
}
133133
}
134-
}
134+
}
135+
136+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

src/debug_visualiser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,4 +653,4 @@ void DebugVisualiser::generateGravity(const Eigen::Vector3d& gravity_estimate)
653653
gravity_publisher_.publish(gravity);
654654
}
655655

656-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
656+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)