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

Create omg local planner #3

Open
wants to merge 13 commits into
base: kinetic-devel
Choose a base branch
from
Open

Conversation

lounick
Copy link

@lounick lounick commented Mar 5, 2018

Created the initial structure. Mostly for review of the code. Requires the services that need to be created in the omg bridge side.

Copy link

@wannesvanloock wannesvanloock left a comment

Choose a reason for hiding this comment

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

I like it. Looks like a clean way to me 👍


install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
PATTERN ".svn" EXCLUDE

Choose a reason for hiding this comment

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

Is .svn still a thing 😀 ?

Copy link
Author

Choose a reason for hiding this comment

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

Apparently. 😋 I got it from another CMakeLists.txt I could probably remove it.

std::string goal_reached_srv_ = "goal_reached";
std::string set_plan_srv_ = "set_plan";
std::string initialize_srv_ = "initialize";
std::string compute_velocity_srv_ = "compute_velocity";

Choose a reason for hiding this comment

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

Should these strings be const?

Copy link
Author

Choose a reason for hiding this comment

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

yes that sounds correct.

<version>0.0.0</version>
<description>The omg_local_planner package</description>

<maintainer email="[email protected]">niko</maintainer>

Choose a reason for hiding this comment

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

Nit: Maintainer should probably be Intermodalics BVBA

*/
void publishGlobalPlan(std::vector<geometry_msgs::PoseStamped>& path);

bool initialized_;

Choose a reason for hiding this comment

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

Please document member variables.

/**
* @brief goal_reached_srv_ Service name.
*/
const std::string compute_velocity_srv_ = "compute_velocity";

Choose a reason for hiding this comment

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

Nit: constness can be made more explicit by variable names. Either all caps or kComputeVelocitySrv_ (Google style).

@lounick lounick changed the title [NOT FOR MERGE] Create omg local planner Create omg local planner Mar 8, 2018
@dvanthienen dvanthienen removed their request for review February 21, 2022 10:54
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.

2 participants