Last active
March 17, 2020 06:59
-
-
Save iamrajee/214bfeeb7834e649e5aa2051e8baa806 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <rclcpp/rclcpp.hpp> | |
#include <chrono> | |
#include <cstdlib> | |
#include <memory> | |
#include <moveit_task_constructor/task.h> | |
#include <moveit_task_constructor/subtask.h> | |
#include <moveit_task_constructor/subtasks/current_state.h> | |
using namespace moveit::task_constructor; | |
int main(int argc, char** argv){ | |
// rclcpp::init(argc, argv); //gave linker error | |
Task t; | |
t.addStart( std::make_shared<subtasks::CurrentState>("current state") ); | |
t.plan(); | |
// rclcpp::shutdown(); //gave linker error | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment