Coder Social home page Coder Social logo

loco-3d / multicontact-locomotion-planning Goto Github PK

View Code? Open in Web Editor NEW
54.0 54.0 13.0 1.75 MB

MLP : a Decoupled and Modular Framework for Multicontact Locomotion Planning

License: BSD 2-Clause "Simplified" License

Dockerfile 0.45% Shell 1.23% Python 97.13% CMake 1.19%

multicontact-locomotion-planning's People

Contributors

jasonchmn avatar nim65s avatar pfernbach avatar stonneau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

multicontact-locomotion-planning's Issues

Ros pack fails to load robot model in tsid whobody motion generation

Here https://github.com/loco-3d/multicontact-locomotion-planning/blob/master/python/mlp/wholebody/tsid.py#L375
Apparently the method getPath is not able to handle slashes "/" when retrieving packages.
Subsequently the loading of a wholebody motion method with Talos leads to the following error:


  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/media/data/dev/linux/hpp/src/multicontact-locomotion-planning/python/mlp/__main__.py", line 29, in <module>
    loco_planner.run()
  File "/media/data/dev/linux/hpp/src/multicontact-locomotion-planning/python/mlp/loco_planner.py", line 239, in run
    self.run_wholebody(iter_dynamic_filter)
  File "/media/data/dev/linux/hpp/src/multicontact-locomotion-planning/python/mlp/loco_planner.py", line 135, in run_wholebody
    self.cs_wb = generate_wholebody(self.cfg, self.cs_ref, self.fullBody, self.viewer)
  File "/media/data/dev/linux/hpp/src/multicontact-locomotion-planning/python/mlp/wholebody/tsid.py", line 375, in generate_wholebody_tsid
    package_path = rp.get_path(cfg.Robot.packageName)
  File "/home/stevet/.local/lib/python3.6/site-packages/rospkg/rospack.py", line 207, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: example-robot-data/robots/talos_data

@nim65s as discussed yesterday.

This is temporarily fixed by directly inputing the urdf path manually:

urdf = "/opt/openrobots/share/example-robot-data/robots/talos_data"+'/urdf/' + cfg.Robot.urdfName + cfg.Robot.urdfSuffix + '.urdf'

Thank you very much !

limb-rrt not working without predefined phases

multicontact-locomotion-planning/python/mlp/end_effector/limb_rrt_optimized.py in generate_effector_trajectory_limb_rrt_optimized(cfg, time_interval, placement_init, placement_end, numTry, q_t, phase_previous, phase, phase_next, fullBody, eeName, viewer)
    128     logger.info("t end   : %f", t_end)
    129     q_init = q_t(t_begin)
--> 130     q_end = q_t(t_end)

multicontact-api version problem

I have installed the package :
robotpkg-multicontact-api_2.0.0_amd64.deb
it is 2.0.0 version but when I compiled the code multicontact-locomotion-planning, it told me that I had a new version 3.0.3, So is it possible that robotpkg-multicontact-api_2.0.0_amd64.deb have some errors ?
`
CMake Error at cmake/package-config.cmake:84 (find_package):
Could not find a configuration file for package "multicontact-api" that is
compatible with requested version "2.0".

The following configuration files were considered but not accepted:

/opt/openrobots/lib/cmake/multicontact-api/multicontact-apiConfig.cmake, version: 3.0.3

Call Stack (most recent call first):
CMakeLists.txt:38 (ADD_PROJECT_DEPENDENCY)

`

Installation issues

Hi
I use python 3.6 and ubuntu 18.04.
I installed dependencies like this way.
"sudo apt update && sudo apt install robotpkg-py36-pinocchio robotpkg-py36-multicontact-api"

After that, there is a error message when I import pinocchio.

image

hppfcl is installed, but there is no libhpp-fcl.so in the folder
/opt/openrobots/lib/python3.6/site-packages/hppfcl/

Remove strong dependencie to rbprm

RBPRM should only be one of the possible method for contact generation.
In the current state of the project, nothing can run without having rbprm installed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.