Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 4 additions & 40 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,43 +49,20 @@ include("${JRL_CMAKE_MODULES}/python.cmake")
compute_project_args(PROJECT_ARGS LANGUAGES CXX)
project(${PROJECT_NAME} ${PROJECT_ARGS})

add_project_dependency("hpp-manipulation-corba" REQUIRED)
add_project_dependency("hpp-manipulation" REQUIRED)
add_project_dependency("example-robot-data" REQUIRED)
add_project_dependency("hpp-gepetto-viewer" REQUIRED)

if(NOT FINDPYTHON_ALREADY_CALLED)
findpython()
endif()

add_subdirectory(src)

set(CATKIN_PACKAGE_SHARE_DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME})

install(
FILES urdf/box.urdf
urdf/cup.urdf
urdf/door.urdf
urdf/kitchen_area.urdf
urdf/kitchen_area_obstacle.urdf
urdf/box_color.urdf
urdf/rod.urdf
urdf/table.urdf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/urdf)
install(FILES srdf/box.srdf srdf/cup.srdf srdf/kitchen_area.srdf srdf/rod.srdf
srdf/door.srdf srdf/table.srdf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/srdf)
install(FILES meshes/box.dae
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/meshes)
install(FILES src/hpp/corbaserver/pr2/robot.py
src/hpp/corbaserver/pr2/__init__.py
DESTINATION ${PYTHON_SITELIB}/hpp/corbaserver/pr2)
install(FILES src/hpp/corbaserver/rod/robot.py
src/hpp/corbaserver/rod/__init__.py
DESTINATION ${PYTHON_SITELIB}/hpp/corbaserver/rod)
install(FILES src/hpp/corbaserver/manipulation/pr2/robot.py
src/hpp/corbaserver/manipulation/pr2/__init__.py
DESTINATION ${PYTHON_SITELIB}/hpp/corbaserver/manipulation/pr2)
install(DIRECTORY urdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
install(DIRECTORY srdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
install(DIRECTORY meshes DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

install(
FILES Media/models/meshes/glasses/__Color_A05_4.png
Expand All @@ -106,19 +83,6 @@ install(
Media/materials/textures/mittig_neben_roboterplakat.png
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/Media/materials/textures)

# Installation for documentation
if(INSTALL_DOCUMENTATION)
install(
FILES urdf/box.urdf
DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/doxygen-html/urdf)
install(
FILES script/tutorial_1.py script/tutorial_2.py script/tutorial_3.py
script/tutorial_4.py
DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME}/doxygen-html/script)
endif(INSTALL_DOCUMENTATION)

add_library(${PROJECT_NAME} INTERFACE)
install(
TARGETS ${PROJECT_NAME}
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Tutorial for humanoid path planner platform.

This package provides some tutorials to learn how to use [Humanoid Path Planner](https://humanoid-path-planner.github.io/hpp-doc) software.
The various tutorials are:

1. [tutorial 1](./tutorial_1/README.md) How to install and run the software.
2. [tutorial 2](./tutorial_2/README.md) How to define and solve a simple pick and place problem.
3. [tutorial 3](./tutorial_3/README.md) How to use HPP in manufacturing.
4. [tutorial 4](./tutorial_4/README.md) How to control the trajectory of a tool.
5. [tutorial 5](./tutorial_5/README.md)
6. [tutorial 6](./tutorial_6/README.md) How to execute motions on a real robot.

[![Pipeline status](https://gitlab.laas.fr/humanoid-path-planner/hpp_tutorial/badges/master/pipeline.svg)](https://gitlab.laas.fr/humanoid-path-planner/hpp_tutorial/commits/master)
[![Coverage report](https://gitlab.laas.fr/humanoid-path-planner/hpp_tutorial/badges/master/coverage.svg?job=doc-coverage)](https://gepettoweb.laas.fr/doc/humanoid-path-planner/hpp_tutorial/master/coverage/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
Expand Down
83 changes: 53 additions & 30 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added meshes/drill.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/collision/base_link.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/collision/link_1.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/collision/link_2.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/collision/link_3.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/collision/link_4.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/collision/link_5.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/collision/link_6.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/visual/base_link.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/visual/link_1.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/visual/link_2.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/visual/link_3.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/visual/link_4.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/visual/link_5.stl
Binary file not shown.
Binary file added meshes/staubli-tx2-90/visual/link_6.stl
Binary file not shown.
85 changes: 0 additions & 85 deletions script/hpp_python_tutorial_1.py

This file was deleted.

Loading
Loading