humanoid-path-planner / hpp_tutorial

Tutorial for humanoid path planner platform
BSD 2-Clause "Simplified" License
7 stars 12 forks source link

Understanding HPP #15

Closed teguhSL closed 5 years ago

teguhSL commented 5 years ago

Hi, I have tried the hpp_tutorial (tutorial 1 and 2). Could anyone suggest on how to proceed, in order to understand how to use HPP better? To give a context, I am interested in using HPP to plan motion for a humanoid, while considering collision checking, balance, etc.

I'd like to understand a few things in HPP:

so basically to understand further about setting up the environments, the robots, the optimization problem, and the solver. Thank you!

jmirabel commented 5 years ago

For reference, this follows https://github.com/Gepetto/gepetto-viewer-corba/issues/87.

jmirabel commented 5 years ago

On tutorial 3, I get the following error, and the hpp-manipulation-server gives me segmentation fault.

On the devel branch, I have no SEGV. I'll try the stable version.

How to add another robot or a new environment

Have a look at hpp_tutorial/src/hpp/corbaserver/pr2/robot.py. This file is included in tutorial 1 with from hpp.corbaserver.pr2 import Robot. For the manipulation stack, see hpp_tutorial/src/hpp/corbaserver/manipulation/pr2/robot.py

For the environment, check the documentation of the functions used in tutorial 1 and 3 to load the obstacles. Use the search bar in the doc of hpp_tutorial (link 'tutorial' on the left side of the doc).

jmirabel commented 5 years ago

From Gepetto/gepetto-viewer-corba#87

On tutorial 3, I get the following error, and the hpp-manipulation-server gives me segmentation fault.

I recompiled everything from scratch and ran tutorial 3. It worked fine on my computer.

florent-lamiraux commented 5 years ago

I close this issue. Please feel free to reopen it.