Robot-Arm motion is a package for controlling the rnd effector of a robot arm. Up to this point, it contains
- trajectory generation for obstacle avoidance through a dynamical system
- trajectory generation through a linear DS, accepting a mocap marker as a target
Lisence: GNU GPL v3
Copyright (c) 2020 Iason Batzianoulis, Learning Algorithms and Systems Laboratory (LASA), EPFL
Navigate into the src folder of your ROS workspace and type in the terminal:
$git clone https://github.com/epfl-lasa/mathlib.git
$git clone https://github.com/walidAmanhoud/utils.git
$git clone https://github.com/yias/robot_arm_motion.gitNavigate back to the main folder of the caktin workspace and compile the packages
$catkin_make- For the robot to follow a mocap marker:
First, launch the mocap node:
$roslaunch robot_arm_motion mocap.launchand then, launch the trajectory generator from another terminal:
$roslaunch robot_arm_motion markerTarget.launchOptional (recommended) arguments:
markerName:=hand|ball|... the name of the marker to follow as it is broadcasted from the mocap system (default: "hand")
robotMarker:=robot_right|robot_left ... the name of the marker that corresponds to the robot base as it is broadcasted from the mocap system (default: "robot_right")
robotName:=lwr|iiwa|franka ... the name of the robot (default:= "lwr")
serverIP:=128.160.0.1|... the IP of the PC that runs the mocap server (Motive from Optitrack)
- For the robot to move to a target by avoiding obstacles, type:
$rosrun robot_arm_motion obstacleAvoidanceTo run a simulation for the obstacle avoidance, run:
$roslaunch robot_arm_motion kuka_obstacles.launchTo run a simulation of the obstacle avoidance with a gripper, run:
$roslaunch robot_arm_motion kuka_obstacles.launch GRIPPER:=TRUEand from another terminal, run:
$rosrun robot_arm_motion obstacleAvoidance- For the integration with gaze-tracker and object detection (the package is in the folder gaze of the eurekaRes repo here), run:
$roslaunch robot_arm_motion gaze_obstacle_avoidance.launchand on another terminal, run:
$rosrun robot_arm_motion obstacleAvoidance
