-
Notifications
You must be signed in to change notification settings - Fork 24
Refactor/type rename #647
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
Refactor/type rename #647
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #647 +/- ##
==========================================
- Coverage 35.63% 35.58% -0.06%
==========================================
Files 38 38
Lines 2256 2254 -2
Branches 686 686
==========================================
- Hits 804 802 -2
Misses 1273 1273
Partials 179 179
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Andeshog
left a comment
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.
Feel like it would be nice to also change the variable names here to better reflect the type
|
Aren't most of the functions taken directly from algorithms in the Fossen book. Won't it be more clear in this case to name them eta and nu when comparing them to the equations in the book? |
|
Not everyone has access to the book while reading the code, and as you said, not everyone knows what |
|
Should the function arg names for the dp specific functions also be updated? |
|
yeah the same applies there |
| Eigen::Vector6d calculate_tau(const vortex::utils::types::PoseEuler& eta, | ||
| const vortex::utils::types::PoseEuler& eta_d, | ||
| const vortex::utils::types::Twist& nu); |
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.
Here as well?
|
|
||
| if (std::abs(J.determinant()) < tolerance) { | ||
| spdlog::error("J(eta) is singular"); | ||
| spdlog::error("J(pose) is singular"); |
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.
Just say "J is singular" instead probably
Andeshog
left a comment
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.
rest looks good
* waypoint mode handling * update tests with new message * initial package setup * ros interface function declaration * node setup * working prototype * reentrant cb, multithreaded * single threaded impl * conv threshold action goal * default thresholdref conv value * removed switching logic * removed timer execution * sim test utils * waypoint_manager_test setup * no rendering test arg * waypoint tests, timeout error * test refactor * format * rename utils package * test suite and description * first waypoint test * removed unused function * renamed service field to priority. Added simple tests * waypoint manager readme * uniform attitude naming convention * fix pr requests * update tests with new service fields * four corner test * update util func name * update with new action def * removed failing build type * test dependencies * ignore failing yasmin package * remove __init__ files * quat_to_euler in make_pose helper * added __init__ file * removed sim deps for test packages * added action shutdown handling * removed waypoint manager set setup * added waypoint manager node tests * waypoint manager 4 corner sim test * added missing launch testing test dependency * add sleep for topic discovery * fix action member field name * updated to new utils type names * renamed variables to match types * update function arg to reflect vortex type * update variable name in tests * renamed function arg names
Renamed vortex util types to reflect the changes in: vortexntnu/vortex-utils#22
This should probably be merged after the waypoint manager pull request