#include <iostream>#include <assert.h>#include "ros/ros.h"#include <stdio.h>#include <unistd.h>#include <termios.h>#include "std_msgs/String.h"#include "visualization_msgs/Marker.h"#include "tf/transform_datatypes.h"#include "tf/transform_listener.h"#include "moveit_msgs/CollisionObject.h"#include "moveit_msgs/PlanningScene.h"#include <moveit/planning_scene/planning_scene.h>#include <moveit/collision_detection/world.h>#include "geometry_msgs/Pose.h"#include "shape_msgs/SolidPrimitive.h"#include "control_msgs/FollowJointTrajectoryActionGoal.h"#include "boost/thread.hpp"#include <moveit/move_group_interface/move_group.h>
Go to the source code of this file.
Functions | |
| char | getch (void) |
| void | getch_check () |
| void | goal_callback (const control_msgs::FollowJointTrajectoryActionGoal::ConstPtr &msg) |
| int | main (int argc, char **argv) |
| void | trajectory_execution (move_group_interface::MoveGroup *g, move_group_interface::MoveGroup::Plan *plan) |
Variables | |
| volatile char | cancel = '0' |
| std::string | goal_string = "0" |
| volatile bool | trajectory_complete = false |
| char getch | ( | void | ) |
Definition at line 38 of file youbot_moveit_to_pose.cpp.
| void getch_check | ( | ) |
Definition at line 52 of file youbot_moveit_to_pose.cpp.
| void goal_callback | ( | const control_msgs::FollowJointTrajectoryActionGoal::ConstPtr & | msg | ) |
Definition at line 33 of file youbot_moveit_to_pose.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Creates and runs the youbot_joy_teleop node.
| argc | argument count that is passed to ros::init |
| argv | arguments that are passed to ros::init |
Definition at line 62 of file youbot_moveit_to_pose.cpp.
| void trajectory_execution | ( | move_group_interface::MoveGroup * | g, |
| move_group_interface::MoveGroup::Plan * | plan | ||
| ) |
Definition at line 28 of file youbot_moveit_to_pose.cpp.
| volatile char cancel = '0' |
Definition at line 23 of file youbot_moveit_to_pose.cpp.
| std::string goal_string = "0" |
Definition at line 24 of file youbot_moveit_to_pose.cpp.
| volatile bool trajectory_complete = false |
Definition at line 22 of file youbot_moveit_to_pose.cpp.