-
Notifications
You must be signed in to change notification settings - Fork 91
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
costmap_cspace: make costmap layer structure configurable #106
Conversation
PASSEDAll tests passed
|
PASSEDAll tests passed
|
PASSEDAll tests passed
|
costmap_cspace/src/costmap_3d.cpp
Outdated
|
||
costmap_cspace::Costmap3dLayerBase::Ptr layer; | ||
|
||
if (type == "Costmap3dLayerFootprint") |
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.
Add getName to Costmap3dLayer classes and make class loader. (or use ROS pluginlib)
costmap_cspace/src/costmap_3d.cpp
Outdated
if (layer_xml.second["layer_linear_expand"].getType() == XmlRpc::XmlRpcValue::TypeDouble) | ||
layer_linear_expand = static_cast<double>(layer_xml.second["layer_linear_expand"]); | ||
if (layer_xml.second["layer_linear_spread"].getType() == XmlRpc::XmlRpcValue::TypeDouble) | ||
layer_linear_spread = static_cast<double>(layer_xml.second["layer_linear_spread"]); |
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.
Read layer type specific parameters in each class.
costmap_cspace/src/costmap_3d.cpp
Outdated
layer->setFootprint(footprint); | ||
} | ||
|
||
sub_map_overlay_.push_back(nh_.subscribe<nav_msgs::OccupancyGrid>( |
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.
Subscribe data in each class to support non-OccupancyGrid message type.
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.
it'll be next PR
PASSEDAll tests passed
|
FAILEDTest failed
|
@@ -20,12 +20,9 @@ | |||
|
|||
<arg name="goal_topic" default="/move_base_simple/goal" /> | |||
|
|||
<node pkg="costmap_cspace" type="costmap_3d" name="costmap_3d" output="$(arg output_info)"> | |||
<!--rosparam param="footprint" if="$(arg simulate)">[[0.12, -0.2], [0.12, 0.2], [-0.35, 0.2], [-0.35, -0.2]]</rosparam--> | |||
<rosparam command="load" file="$(find neonavigation_launch)/config/navigate.yaml"/> |
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.
Fix indent
PASSEDAll tests passed
|
1 similar comment
PASSEDAll tests passed
|
It has been tested also on an actual robot. |
No description provided.