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

94 crptg1 code quality increase #96

Merged
merged 18 commits into from
Feb 6, 2025
Merged

Conversation

AnonymDavid
Copy link
Member

Code cleanup according to coding rules + removed old dependencies

@AnonymDavid AnonymDavid linked an issue Jan 20, 2025 that may be closed by this pull request
@AnonymDavid AnonymDavid requested review from mesmatyi and gfigneczi1 and removed request for mesmatyi January 20, 2025 13:27
@AnonymDavid AnonymDavid requested a review from mesmatyi February 4, 2025 13:53
Copy link
Member

@gfigneczi1 gfigneczi1 left a comment

Choose a reason for hiding this comment

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

with smaller comments/questions

/ctrl/long/axMin: -40.0
/ctrl/long/jxMax: 1.0
/ctrl/long/jxMin: -1.0

Copy link
Member

Choose a reason for hiding this comment

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

extra white line?

@@ -11,7 +11,7 @@ std::vector<float> crp::apl::GeometricPathCalculation::calculateCurvature(const
curvature.push_back(0.0f);
orientation.push_back(0.0f);
}
for (int i=1; i<x.size(); i++)
for (unsigned int i=1; i<x.size(); i++)
Copy link
Member

Choose a reason for hiding this comment

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

unsigned long int?

@@ -60,15 +60,15 @@ void crp::apl::WrapperBase::targetSpaceCallback(const crp_msgs::msg::TargetSpace
// calculating the curvature
std::vector<float> x;
std::vector<float> y;
for (int i=0; i<m_input.path.pathPoints.size(); i++)
for (unsigned int i=0; i<m_input.path.pathPoints.size(); i++)
Copy link
Member

Choose a reason for hiding this comment

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

same here

@AnonymDavid AnonymDavid merged commit f1b3f81 into main Feb 6, 2025
1 check passed
@AnonymDavid AnonymDavid deleted the 94-crptg1-code-quality-increase branch February 6, 2025 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CRP][TG1] Code quality increase
3 participants