mpd-splines-public
This repository implements Motion Planning Diffusion (MPD) - a method for learning and planning robot motions with diffusion models.
파일 탐색기
최종 버전 다운로드 (.zip)- EnvTableShelf-RobotPanda.yaml
- EnvWarehouse-RobotPanda.yaml
- EnvWarehouse-RobotPanda_v01.yaml
- __init__.py
- experiment_launcher
- pybullet_ompl
- theseus
- EnvSimple2D-RobotPointMass2D-joint_joint-one-RRTConnect.gif
- EnvWarehouse-RobotPanda-config_file_v01-joint_joint-one-RRTConnect.gif
- __init__.py
- normalization.py
- trajectories_dataset_bspline.py
- trajectories_dataset_waypoints.py
- utils.py
- __init__.py
- cost_guides.py
- inference.py
- __init__.py
- cvae_loss.py
- gaussian_diffusion_loss.py
- __init__.py
- metrics.py
- __init__.py
- cvae.py
- __init__.py
- context_models.py
- diffusion_model_base.py
- helpers.py
- models.py
- sample_functions.py
- __init__.py
- equiv_layers.py
- layers.py
- layers_attention.py
- __init__.py
- panda_isaac_replay.py
- panda_spheres_CHOMP.py
- panda_spheres_GPMP.py
- panda_spheres_HybridPlanner.py
- panda_spheres_RRT.py
- panda_table_shelf_GPMP.py
- panda_table_shelf_HybridPlanner.py
- panda_table_shelf_RRT.py
- planar_2_link_RRT.py
- planar_4_link_RRT.py
- pointmass_2d_CHOMP.py
- pointmass_2d_GPMP.py
- pointmass_2d_HybridPlanner.py
- pointmass_2d_RRT.py
- pointmass_2d_RRT_multiprocess.py
- pointmass_grid_circles_2d_CHOMP.py
- pointmass_grid_circles_2d_GPMP.py
- pointmass_grid_circles_2d_HybridPlanner.py
- pointmass_grid_circles_2d_MPPI.py
- pointmass_grid_circles_2d_RRT.py
- pointmass_grid_circles_2d_Stoch-GPMP.py
- pointmass_grid_circles_2d_STOMP.py
- pointmass_maze_boxes_3d_GPMP.py
- pointmass_maze_boxes_3d_HybridPlanner.py
- pointmass_maze_boxes_3d_RRT.py
- pointmass_maze_boxes_3d_STOMP.py
- pointmass_square_2d_GPMP.py
- pointmass_square_2d_HybridPlanner.py
- __init__.py
- field_factor.py
- gp_factor.py
- mp_priors_multi.py
- unary_factor.py
- __init__.py
- cost_functions.py
- __init__.py
- point.py
- __init__.py
- gaussian.py
- __init__.py
- base.py
- chomp.py
- gpmp2.py
- hybrid_planner.py
- mppi.py
- multi_processing.py
- multi_sample_based_planner.py
- rrt_base.py
- rrt_connect.py
- rrt_star.py
- stoch_gpmp.py
- stomp.py
- utils.py
- __init__.py
- .gitignore
- .gitmodules
- LICENSE
- README.md
- requirements.txt
- setup.py
- __init__.py
- phase_time.py
- trajectory_base.py
- trajectory_bspline.py
- trajectory_waypoints.py
- __init__.py
- crop_images.py
- mpl_settings.py
- overlay_video_images.py
- utils.py
- video_track_ee.py
- __init__.py
- summary_base.py
- summary_trajectory_generation.py
- differentiable_kinematics.py
- distance_field.py
- forward_kinematics.py
- inverse_kinematics.py
- joint_limits.yaml
- panda_sphere_config.yaml
- panda_sphere_config_backup_00.yaml
- panda_sphere_config_backup_01.yaml
- panda_sphere_config_backup_02.yaml
- joint_limits.yaml
- planar_robot_2_link_sphere_config.yaml
- joint_limits.yaml
- planar_robot_4_link_sphere_config.yaml
- planar_robot_4_link_sphere_config_backup_00.yaml
- point_mass_robot_2d_sphere_config.yaml
- point_mass_robot_3d_sphere_config.yaml
- tiago_sphere_config.yaml
- ball.urdf
- box_simple.urdf
- cube.urdf
- small_ball.urdf
- sphere_simple.urdf
- square_table.urdf
- allegro_hand.urdf
- finger.stl
- hand.stl
- link0.stl
- link1.stl
- link2.stl
- link3.stl
- link4.stl
- link5.stl
- link6.stl
- link7.stl
- finger.dae
- hand.dae
- link0.dae
- link1.dae
- link2.dae
- link3.dae
- link4.dae
- link5.dae
- link6.dae
- link7.dae
- hand.dae
- hand.urdf
- hand.urdf.xacro
- hand.xacro
- panda_arm.backup.dae
- panda_arm.dae
- panda_arm.urdf
- panda_arm.urdf.xacro
- panda_arm.xacro
- panda_arm_hand.backup.dae
- panda_arm_hand.dae
- panda_arm_hand.urdf
- panda_arm_hand.urdf.xacro
- panda_arm_hand_fixed_gripper.urdf
- panda_arm_hand_no_gripper.urdf
- panda_arm_hand_no_gripper_collision_spheres_plotting.urdf
- CMakeLists.txt
- mainpage.dox
- package.xml
- rosdoc.yaml
- d435.dae
- base_link.mtl
- base_link.obj
- laser.mtl
- laser.obj
- link_arm_l0.mtl
- link_arm_l0.obj
- link_arm_l1.mtl
- link_arm_l1.obj
- link_arm_l2.mtl
- link_arm_l2.obj
- link_arm_l3.mtl
- link_arm_l3.obj
- link_arm_l4.mtl
- link_arm_l4.obj
- link_aruco_inner_wrist.STL
- link_aruco_left_base.STL
- link_aruco_right_base.STL
- link_aruco_shoulder.STL
- link_aruco_top_wrist.STL
- link_gripper_finger_left.mtl
- link_gripper_finger_left.obj
- link_gripper_finger_right.mtl
- link_gripper_finger_right.obj
- link_gripper_fingertip_left.mtl
- link_gripper_fingertip_left.obj
- link_gripper_fingertip_right.mtl
- link_gripper_fingertip_right.obj
- link_head.mtl
- link_head.obj
- link_head_pan.mtl
- link_head_pan.obj
- link_head_tilt.mtl
- link_head_tilt.obj
- link_left_wheel.mtl
- link_left_wheel.obj
- link_lift.mtl
- link_lift.obj
- link_mast.mtl
- link_mast.obj
- link_puller.mtl
- link_respeaker.mtl
- link_respeaker.obj
- link_right_wheel.mtl
- link_right_wheel.obj
- link_straight_gripper.STL
- link_wrist_pitch.STL
- link_wrist_roll.STL
- link_wrist_yaw.mtl
- link_wrist_yaw.obj
- link_wrist_yaw_bottom.STL
- omni_wheel_m.mtl
- omni_wheel_m.obj
- hab_stretch.urdf
- hab_stretch_arm_heavy.urdf
- LICENSE.txt
- link_0.stl
- link_1.stl
- link_2.stl
- link_3.stl
- link_4.stl
- link_5.stl
- link_6.stl
- link_7.stl
- link_0.stl
- link_1.stl
- link_2.stl
- link_3.stl
- link_4.stl
- link_5.stl
- link_6.stl
- link_7.stl
- iiwa7.urdf
- iiwa7_allegro.urdf
- 2_link_planar.urdf
- planar_robot_2_link.urdf
- planar_robot_4_link.urdf
- point_mass_robot_2d.urdf
- point_mass_robot_2d_collision_spheres.urdf
- point_mass_robot_3d.urdf
- shadow_hand.urdf
- tiago_dual_holobase_minimal.urdf
- tiago_dual_holobase_minimal_holonomic.urdf
- tiago_dual_holobase_prune.urdf
- ur10_base.mtl
- ur10_base.obj
- ur10_forearm.mtl
- ur10_forearm.obj
- ur10_shoulder.mtl
- ur10_shoulder.obj
- ur10_upper_arm.mtl
- ur10_upper_arm.obj
- ur10_wrist_1.mtl
- ur10_wrist_1.obj
- ur10_wrist_2.mtl
- ur10_wrist_2.obj
- ur10_wrist_3.mtl
- ur10_wrist_3.obj
- ur10.urdf
- ur10_suction.urdf
- __init__.py
- env_base.py
- env_circle_2d.py
- env_dense_2d.py
- env_empty_2d.py
- env_grid_circles_2d.py
- env_maze_boxes_3d.py
- env_narrow_passage_dense_2d.py
- env_pilars_3d.py
- env_planar2link.py
- env_planar4link.py
- env_simple_2d.py
- env_spheres_3d.py
- env_square_2d.py
- env_table_shelf.py
- env_warehouse.py
- grasped_objects.py
- grid_map_sdf.py
- occupancy_map.py
- primitives.py
- utils.py
- __init__.py
- motion_planning_envs.py
- __init__.py
- robot_base.py
- robot_panda.py
- robot_planar_link.py
- robot_point_mass.py
- torchkin_robot_wrapper.py
- __init__.py
- tasks.py
- __init__.py
- distributions.py
- euclidean.py
- frame.py
- manifold.py
- quaternion.py
- skeleton.py
- spatial_vector.py
- trajectory.py
- utils.py
- __init__.py
- LICENSE
- rigid_body.py
- robot_tree.py
- robots.py
- utils.py
- __init__.py
- files.py
- __init__.py
- __init__.py
- distance_fields.py
- __init__.py
- __init__.py
- seed.py
- torch_timer.py
- torch_utils.py
- __init__.py
- metrics.py
- utils.py
- __init__.py
- configuration_free_space.py
- plot_utils.py
- __init__.py
- .gitignore
- LICENSE
- README.md
- requirements.txt
- setup.py
- __init__.py
- trainer.py
- __init__.py
- compression.py
- decorators.py
- githash.py
- loaders.py
- patches.py
- utils_orientation.py
- __init__.py
- paths.py
- __init__.py
- flip_solution_paths.py
- generate_trajectories.py
- launch_generate_trajectories.py
- make_trajectories_gp_prior.py
- post_process_generated_dataset.py
- visualize_trajectories.py
- config_EnvNarrowPassageDense2D-RobotPointMass2D_00.yaml
- config_EnvPlanar2Link-RobotPlanar2Link_00.yaml
- config_EnvPlanar4Link-RobotPlanar4Link_00.yaml
- config_EnvSimple2D-RobotPointMass2D_00.yaml
- config_EnvSpheres3D-RobotPanda_00.yaml
- config_EnvWarehouse-RobotPanda-config_file_v01_00.yaml
- __init__.py
- inference.py
- launch_inference-experiments.py
- launch_train_cvae_models-v00.py
- launch_train_diffusion_models-EnvEmpty2D-v00.py
- launch_train_diffusion_models-v00.py
- train.py
- __init__.py
- .gitignore
- .gitmodules
- .pre-commit-config.yaml
- environment.yml
- LICENSE
- pyproject.toml
- README.md
- requirements.txt
- set_env_variables.sh
- setup.py
- setup.sh
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/joaoamcarvalho/mpd-splines-public
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd mpd-splines-public
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. CMake
보통 추천사전 준비물
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd mpd/torch_robotics/torch_robotics/data/urdf/robots/franka_description
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
mkdir build && cd build
빌드 결과물을 담을 폴더를 만들고 그 안으로 이동합니다.
cmake ..
소스코드를 분석해 빌드 설정 파일을 생성합니다 (build 폴더 안에서 실행해야 함).
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).
3. Python
쉬움사전 준비물
pip install -r mpd/motion_planning_baselines/requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python <실행할 파일명>.py # README에서 정확한 실행 파일명을 확인하세요
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
// repository documentation
Was this content helpful?
(0 ratings)
