-
Notifications
You must be signed in to change notification settings - Fork 112
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
fuse -> ROS 2 fuse_models: Linting #315
fuse -> ROS 2 fuse_models: Linting #315
Conversation
9379686
to
cf7a114
Compare
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: methylDragon <methylDragon@gmail.com>
cf7a114
to
c4800f2
Compare
Signed-off-by: methylDragon <methylDragon@gmail.com>
Note @svwilliams : Two files had to get excluded from linting: e62784b This is because they featured copyright docstrings with proprietary copyrights.
|
Signed-off-by: methylDragon <methylDragon@gmail.com>
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.
All tests in fuse_publishers and fuse_models pass for me locally. When these comments are addressed LGTM
* 1. Creates relative or absolute orientation and constraints. If the \p differential parameter is | ||
* set to false (the default), the orientation measurement will be treated as an absolute | ||
* constraint. If it is set to true, consecutive measurements will be used to generate relative | ||
* orientation constraints. 2. Creates 2D velocity variables and constraints. |
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, newline to keep list structure.
* This sensor subscribes to a nav_msgs::msg::Odometry topic and: | ||
* 1. Creates relative or absolute pose variables and constraints. If the \p differential parameter | ||
* is set to false (the default), the measurement will be treated as an absolute constraint. If it | ||
* is set to true, consecutive measurements will be used to generate relative pose constraints. 2. |
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.
same comment about new line to keep list structure.
* velocity (array with x at index 0, y at index 1) 3 : vel_yaw1 - First | ||
* yaw velocity 4 : acc_linear1 - First linear acceleration (array with x | ||
* at index 0, y at index 1) 5 : position2 - Second position (array with x | ||
* at index 0, y at index 1) 6 : yaw2 - Second yaw 7 : vel_linear2 - |
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.
Newlines to preserve list structure here
// if (jacobians[i]) | ||
// { | ||
// Eigen::Map<fuse_core::Matrix<double, 8, ParameterDims::GetDim(i)>> jacobian(jacobians[i]); | ||
// jacobian.applyOnTheLeft(-A_); } } |
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.
Newlines to preserve code example here
Signed-off-by: methylDragon <methylDragon@gmail.com>
See: #276
Depends on: #314
Linting
Migrates .h to .hpp
Pinging @svwilliams for visibility.
Note: There's an open question about what to do about test_unicycle_2d.cpp and test_sensor_proc.cpp's proprietary copyright licenses (to fix ament_copyright)