Skip to content
Snippets Groups Projects
Commit 1aa65b67 authored by Michael Jeronimo's avatar Michael Jeronimo Committed by Carl Delsey
Browse files

Minor fixes to motion primitives

parent edd8260b
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,9 @@ protected:
RCLCPP_WARN(node_->get_logger(), "%s failed", primitive_name_.c_str());
goal_handle->abort(result);
return;
default:
break;
}
loop_rate.sleep();
......
......@@ -13,15 +13,13 @@
// limitations under the License. Reserved.
#include <memory>
#include "rclcpp/rclcpp.hpp"
#include "nav2_motion_primitives/spin.hpp"
#include "nav2_motion_primitives/back_up.hpp"
#include "nav2_motion_primitives/spin.hpp"
int main(int argc, char ** argv)
{
// Force flush of the stdout buffer.
setvbuf(stdout, NULL, _IONBF, BUFSIZ);
rclcpp::init(argc, argv);
auto motion_primitives_node = rclcpp::Node::make_shared("motion_primitives");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment