Skip to content

Commit

Permalink
missed some formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
joemasterjohn committed Apr 21, 2020
1 parent 72a8458 commit cb2ae94
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions multibody/tree/joint.h
Original file line number Diff line number Diff line change
Expand Up @@ -532,11 +532,9 @@ class Joint : public MultibodyElement<Joint, T, JointIndex> {
return *implementation_;
}

/// Returns whether `this` joint owns a particular implementation.
/// Returns whether `this` joint owns a particular implementation.
/// If the MultibodyTree has been finalized, this will return true.
bool has_implementation() const {
return implementation_ != nullptr;
}
bool has_implementation() const { return implementation_ != nullptr; }

private:
// Make all other Joint<U> objects a friend of Joint<T> so they can make
Expand Down
3 changes: 2 additions & 1 deletion multibody/tree/prismatic_joint.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ class PrismaticJoint final : public Joint<T> {

/// @}

/// Gets the default translation. Wrapper for the more general `Joint::default_positions()`.
/// Gets the default translation. Wrapper for the more general
/// `Joint::default_positions()`.
/// @returns The default translation of `this` stored in `default_positions_`.
double get_default_translation() const {
return this->default_positions()[0];
Expand Down
3 changes: 2 additions & 1 deletion multibody/tree/revolute_joint.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ class RevoluteJoint final : public Joint<T> {

/// @}

/// Gets the default rotation angle. Wrapper for the more general `Joint::default_positions()`.
/// Gets the default rotation angle. Wrapper for the more general
/// `Joint::default_positions()`.
/// @returns The default angle of `this` stored in `default_positions_`
double get_default_angle() const { return this->default_positions()[0]; }

Expand Down

0 comments on commit cb2ae94

Please sign in to comment.