-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Squash doxygen errors. #357
Conversation
…nto sniyaz/doxygen Conflicts: include/aikido/constraint/dart/CollisionFree.hpp include/aikido/planner/TrajectoryPostProcessor.hpp
Codecov Report
@@ Coverage Diff @@
## master #357 +/- ##
==========================================
+ Coverage 80.98% 80.99% +0.01%
==========================================
Files 206 206
Lines 6036 6036
==========================================
+ Hits 4888 4889 +1
+ Misses 1148 1147 -1
|
Hang on, flipped something. Will fix to satisfy Travis. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fixes! Left a few suggestions.
/// \param group Collision group. | ||
void addSelfCheck(std::shared_ptr<::dart::collision::CollisionGroup> _group); | ||
/// \param _group Collision group. | ||
void addSelfCheck(std::shared_ptr<dart::collision::CollisionGroup> _group); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Was this one of the reasons of the Doxygen warnings? We used global namespace resolutions for dart (i.e., ::dart
) to avoid conflicts with ::aikido::constraint::dart
. It might be good to leave it as it was if it's not a cause of the warnings.
Probably this is the reason for the CI fails.
void removeSelfCheck( | ||
std::shared_ptr<::dart::collision::CollisionGroup> _group); | ||
/// \param _group Collision group. | ||
void removeSelfCheck(std::shared_ptr<dart::collision::CollisionGroup> _group); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Was this one of the reasons of the Doxygen warnings? We used global namespace resolutions for dart (i.e., ::dart
) to avoid conflicts with ::aikido::constraint::dart
. It might be good to leave it as it was if it's not a cause of the warnings.
@@ -31,7 +31,6 @@ class SO3StateHandle : public statespace::StateHandle<SO3, _QualifiedState> | |||
|
|||
/// Constructs a point in SO(3) from a unit quaternion. | |||
/// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Could you remove this empty line as well?
I've squashed some errors from the Robot API and deleted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks for this work!
@@ -82,8 +82,10 @@ class BarrettFingerKinematicSimulationPositionCommandExecutor | |||
/// is reached, or collision is detected. | |||
void step(const std::chrono::system_clock::time_point& timepoint) override; | |||
|
|||
/// \copydoc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's figure out how to fix this so we don't need to duplicate the \copydoc
s.
/// | ||
/// \param collideWith CollisionGroup to check finger collisions | ||
/// \return false if collideWith cannot be set (during execution) | ||
/* clang-format off */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Could we use // clang-format off
(C++ style) instead of /* clang-format off */
(C style)?
@brianhou I tried to look up ways to turn break the |
* Move constraint to postprocess call, need to fix tests still. * Squished about half of warnings. * Squash most errors. * Fix test_SmoothPostProcessor. * Fix build, respond to nits. * Remove wierd -impl.hpp file that was never used. * Clean up doxygen errors from Robot API. * Update CHANGELOG. * Update CHANGELOG.md * Put copydoc back in, turn off clang format. * Change clang format comments to C++ style.
See #329.
This mainly involved fixing some doc-strings and renaming parameters.
TODO: I had some trouble squashing the warnings involving
SplineTrajectory-impl.hpp.
@jslee02 and other people who know doxygen better, could take a look? There doesn't appear to be an documentation in that file at all, so I'm confused 😖Before creating a pull request
make format
Before merging a pull request
CHANGELOG.md