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 <moveit_task_constructor_demo/pick_place_task8.h> | |
#include <rosparam_shortcuts/rosparam_shortcuts.h> | |
//---------------------------------------------------------------------------------------------------------------------------------------------// | |
namespace moveit_task_constructor_demo | |
{ | |
constexpr char LOGNAME[] = "pick_place_task"; |
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
// ====================== test container ====================== // | |
{ | |
auto test_container = std::make_unique<Merger>("test container"); | |
{ | |
auto test_container2 = std::make_unique<SerialContainer>("test container2"); | |
// ====================== Move to Home ====================== // | |
{ | |
auto stage = std::make_unique<stages::MoveTo>("move home", sampling_planner); | |
stage->setGroup(arm_group_name_); | |
stage->setGoal(arm_home_pose_); |
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
// ====================== test container ====================== // | |
{ | |
auto test_container = std::make_unique<Merger>("test container"); | |
// ====================== Move to Home ====================== // | |
{ | |
auto stage = std::make_unique<stages::MoveTo>("move home", sampling_planner); | |
stage->setGroup(arm_group_name_); | |
stage->setGoal(arm_home_pose_); | |
stage->restrictDirection(stages::MoveTo::FORWARD); |
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
// ====================== Current State ====================== // | |
{ | |
auto _current_state = std::make_unique<stages::CurrentState>("current state"); | |
t.add(std::move(_current_state)); | |
} | |
// ====================== test container ====================== // | |
{ | |
// auto test_container = std::make_unique<SerialContainer>("test container"); //calculate and run both serially | |
// auto test_container = std::make_unique<Alternatives>("test container"); //calculate both and possible run both seperatly | |
// auto test_container = std::make_unique<Fallbacks>("test container"); //calculate and run either of |
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
controller_list: | |
- name: fake_panda1_arm_controller | |
joints: | |
- panda1_joint1 | |
- panda1_joint2 | |
- panda1_joint3 | |
- panda1_joint4 | |
- panda1_joint5 | |
- panda1_joint6 | |
- panda1_joint7 |
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
controller_list: | |
- name: fake_panda1_arm_controller | |
joints: | |
- panda1_joint1 | |
- panda1_joint2 | |
- panda1_joint3 | |
- panda1_joint4 | |
- panda1_joint5 | |
- panda1_joint6 | |
- panda1_joint7 |
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
Starting >>> object_recognition_msgs | |
Starting >>> octomap_msgs | |
Starting >>> random_numbers | |
Starting >>> urdfdom_py | |
Starting >>> joint_state_publisher | |
Starting >>> ompl | |
Starting >>> testpkg | |
Starting >>> testpkg_cmake | |
Starting >>> testpkg_python | |
Finished <<< testpkg [1.60s] |
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
Starting >>> object_recognition_msgs | |
Starting >>> octomap_msgs | |
Starting >>> random_numbers | |
Starting >>> urdfdom_py | |
Starting >>> joint_state_publisher | |
Starting >>> ompl | |
Starting >>> testpkg | |
Starting >>> testpkg_cmake | |
Starting >>> testpkg_python | |
Finished <<< testpkg [1.60s] |
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> |
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
Starting >>> object_recognition_msgs | |
Starting >>> octomap_msgs | |
Starting >>> random_numbers | |
Starting >>> urdfdom_py | |
Starting >>> hardware_interface | |
Starting >>> joint_state_publisher | |
Starting >>> controller_parameter_server | |
Starting >>> ompl | |
Starting >>> testpkg2 | |
Starting >>> testpkg_cmake |
OlderNewer