8000 GitHub - takuya-ki/iiwa-phys: Configuration files, example programs, and docker environment for physics simulations for LBR iiwa 14 R820 robot.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Configuration files, example programs, and docker environment for physics simulations for LBR iiwa 14 R820 robot.

License

Notifications You must be signed in to change notification settings

takuya-ki/iiwa-phys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iiwa-phys

support level: community License

Features

Dependency (tested as a host machine)

  • Ubuntu 22.04 PC
    • NVIDIA GeForce RTX 3090
    • NVIDIA Driver 550.120
      • CUDA v12.4
    • Docker 27.4.1
    • Docker Compose 2.32.1
    • nvidia-container-runtime 1.17.5

Installation

  1. Download the software
    git clone git@github.com:takuya-ki/iiwa-phys.git --recursive --depth 1
  2. Download and install Isaac Gym Preview 4 from https://developer.nvidia.com/isaac-gym
  3. Unzip the file via
    tar -xf IsaacGym_Preview_4_Package.tar.gz -C pathto/iiwa-phys/dockerfile/noetic
  4. Build the dockerfile
    cd iiwa-phys && COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose build --no-cache --parallel 

Usage

  1. Create and run the docker container from the docker image
    cd iiwa-phys && docker compose up --timeout 600
  2. Execute the docker container
    xhost + && docker exec -it iiwa_phys_[noetic/humble]_container bash
  3. Run a command in the docker container

Gazebo Classic on ROS1

  • Show an LBR iiwa robot using rviz

    conda deactivate && source /opt/ros/noetic/setup.bash && source /catkin_ws/devel/setup.bash && roslaunch iiwa_description display_iiwa.launch end_effector:='[rq140]'
  • Demonstrate a MoveIt GUI to try motion generations for an LBR iiwa robot

    conda deactivate && source /opt/ros/noetic/setup.bash && source /catkin_ws/devel/setup.bash && roslaunch iiwa_moveit_config demo.launch end_effector:='[rq140]' '[use_gui:=true]'
  • Execute and visualize an example motion for an LBR iiwa robot with MoveIt

    conda deactivate && source /opt/ros/noetic/setup.bash && source /catkin_ws/devel/setup.bash && roslaunch iiwa_example_motion iiwa_example.launch
  • Demonstrate an example motion for an LBR iiwa robot on Gazebo

    conda deactivate && source /opt/ros/noetic/setup.bash && source /catkin_ws/devel/setup.bash && roslaunch iiwa_moveit_config demo_gazebo.launch enf_effector:='[rq140]'

Pybullet

  • Show an LBR iiwa robot

    cd /scripts && conda activate pybullet && python pybullet_vis.py
  • Example motion planning for an LBR iiwa robot

    cd /scripts && conda activate pybullet && python pybullet_rrt.py --alg '[naiveRRT, RRT, BiRRT, RRTStar, BiRRTStar]'

Isaac Gym

  • Visualize LBR iiwa robots in X environments

    cd /scripts && conda activate isaacgym && CUDA_LAUNCH_BLOCKING=1 python isaacgym_vis.py --num_envs X
  • Example motion planning for an LBR iiwa robot

    cd /scripts && conda activate isaacgym && CUDA_LAUNCH_BLOCKING=1 python isaacgym_rrt.py --num_envs X  --alg naiveRRT
  • Example pick-and-place motions for an LBR iiwa robot

    cd /scripts && conda activate isaacgym && CUDA_LAUNCH_BLOCKING=1 python isaacgym_pick.py --num_envs 1

MuJoCo

  • Show an LBR iiwa robot
    cd /scripts && conda activate mujoco && python mujoco_vis.py

Genesis

  • Show an LBR iiwa robot

    cd /scripts && conda activate genesis && python genesis_hello.py
  • Demonstrate some poses of an LBR iiwa robot

    cd /scripts && conda activate genesis && python genesis_motion.py

Gazebo Ignition on ROS2

  • Show an LBR iiwa robot using rviz2

    byobu
    ros2 launch lbr_bringup mock.launch.py model:=iiwa14
    ros2 launch lbr_bringup rviz.launch.py rviz_cfg_pkg:=lbr_bringup rviz_cfg:=config/mock.rviz
  • Demonstrate a MoveIt GUI to try motion generations for an LBR iiwa robot

    byobu
    ros2 launch lbr_bringup mock.launch.py model:=iiwa14
    ros2 launch lbr_bringup move_group.launch.py mode:=mock rviz:=true model:=iiwa14
  • Demonstrate an example motion for an LBR iiwa robot on Gazebo

    byobu
    ros2 launch lbr_bringup gazebo.launch.py ctrl:=joint_trajectory_controller model:=iiwa14
    ros2 run lbr_demos_py joint_trajectory_client --ros-args -r __ns:=/lbr

Contributors

We always welcome collaborators!

Author

Takuya Kiyokawa

About

Configuration files, example programs, and docker environment for physics simulations for LBR iiwa 14 R820 robot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0