Skip to content
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_variables: Linting #296

Merged

Conversation

methylDragon
Copy link
Collaborator

See: #276

  • Linting
  • Migrates .h to .hpp

I also noticed that some package.xmls were missing the schema link (causing them to get skipped over by xmllint. That's been fixed for all packages completed so far.

Pinging @svwilliams for visibility.

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>
0.0, 0.0, 0.0,
0.0, 0.0, 0.0,
0.0, 0.0, 0.0;
0.0, 0.0, 0.0,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, indenting looked intentional, could use /* *INDENT-OFF* */ and /* *INDENT-OFF* */ here

0.0, 0.0, 0.0,
0.0, 0.0, 0.0,
0.0, 0.0, 0.0;
0.0, 0.0, 0.0,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment about indentation


double x[4] = {qw, qx, qy, qz};
fuse_core::MatrixXd actual(3, 4);
actual << 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0;
0.0, 0.0, 0.0, 0.0,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, indenting

bool success = parameterization->ComputeMinusJacobian(x, actual.data());

fuse_core::MatrixXd expected(3, 4);
expected << 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0;
0.0, 0.0, 0.0, 0.0,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit indenting

Signed-off-by: methylDragon <methylDragon@gmail.com>
Copy link
Collaborator

@sloretz sloretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with green Rpr job!

@sloretz
Copy link
Collaborator

sloretz commented Dec 8, 2022

@ros-pull-request-builder retest this please!

@methylDragon methylDragon merged commit 7c09315 into locusrobotics:rolling Dec 8, 2022
@methylDragon methylDragon deleted the rolling-variables-linting branch December 8, 2022 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants