Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 2.21 KB

DEMO.md

File metadata and controls

61 lines (52 loc) · 2.21 KB

Gilbreth Simulation Application

Getting Started

  • Follow the install instructions in the README
  • Make sure that the moveit commander dependency is installed. The rosdep step should fetch this dependency

Application

Application Bringup

  1. Bring up the application components
roslaunch gilbreth_application application_setup.launch
  • Both Gazebo and Rviz will be launched, wait until both of these application have started before moving on to the next step.
  1. Verify robot controller Run the robot execution node and verify that the robot arm and rail joint are moved to the home position
pip install kitchen
rosrun gilbreth_grasp_planning test_robot_execution.py
  • If the robot failed to move then start again from step 1.
  • (Optional) Use Rviz to test the robot controller by dragging the end-effector to another pose and click 'plan and execute' in moveit panel. If the robot failed to move to the target pose, then the robot controller is not working. Close Gazebo and Rviz and then relaunch the environment.
  1. Close the robot_execution.py node by pressing Ctrl+C in the terminal

Application Run

  • Start the application

    roslaunch gilbreth_application application_run.launch
    
    • The application will begin by moving the robot arm to its home position.
    • The conveyor will begin moving and parts will appear at random intervals.
    • This step will also bring up the individual nodes for tool planning, trajectory planning, perception and robot execution, each in its own terminal window (don't close the windows).
  • Run the CNN script in a new window as follows: THEANO_FLAGS='floatX=float32' rosrun gilbreth_perception recognition_cnn.py

Launch node seperately (Outdated):

The script will run object_recognition, tool_planning, trajectory_planning and robot_execution nodes seperately.

  • object segmentation and object recognition:
roslaunch gilbreth_perception gilbreth_perception.launch
  • robot tool planner:
rosrun gilbreth_grasp_planning tool_planner.py
  • robot trajectory planner:
rosrun gilbreth_grasp_planning trajectory_planner.py
  • robot execution:
rosrun gilbreth_grasp_planning robot_execution.py