-
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
Create omg local planner #3
base: kinetic-devel
Are you sure you want to change the base?
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.
I like it. Looks like a clean way to me 👍
|
||
install(DIRECTORY include/${PROJECT_NAME}/ | ||
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} | ||
PATTERN ".svn" EXCLUDE |
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.
Is .svn
still a thing 😀 ?
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.
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"; |
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.
Should these strings be const
?
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.
yes that sounds correct.
omg_local_planner/package.xml
Outdated
<version>0.0.0</version> | ||
<description>The omg_local_planner package</description> | ||
|
||
<maintainer email="[email protected]">niko</maintainer> |
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: Maintainer should probably be Intermodalics BVBA
*/ | ||
void publishGlobalPlan(std::vector<geometry_msgs::PoseStamped>& path); | ||
|
||
bool initialized_; |
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.
Please document member variables.
/** | ||
* @brief goal_reached_srv_ Service name. | ||
*/ | ||
const std::string compute_velocity_srv_ = "compute_velocity"; |
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: constness can be made more explicit by variable names. Either all caps or kComputeVelocitySrv_
(Google style).
This reverts commit 1fc18f8.
Created the initial structure. Mostly for review of the code. Requires the services that need to be created in the omg bridge side.