-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
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.
with smaller comments/questions
/ctrl/long/axMin: -40.0 | ||
/ctrl/long/jxMax: 1.0 | ||
/ctrl/long/jxMin: -1.0 | ||
|
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.
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++) |
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.
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++) |
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 here
Code cleanup according to coding rules + removed old dependencies