Giter Club home page Giter Club logo

openrave-motion-planner's Introduction

OpenRAVE motion planner for dVRK

This repository contains a motion planner for a model dVRK using OMPL and Trajopt The dVRK robot model and obstacles are found in the env.xml file

Motion planning is done on a single arm which can be controlled by setting the manip parameter to either "left_arm" or "right_arm" We can define the joint angles for each arm by setting the 3DOF values of "joint_start1" and "joint_start2" The robot then plans from its starting joint DOF to the target joint DOF

The script IK.py contains the IK and FK analytical solutions for each arm of the robot.

To launch the planner:

$ python raveInterface.py

openrave-motion-planner's People

Contributors

jkok005 avatar yjen avatar ryanli-me avatar

Stargazers

 avatar kevin avatar Ermano Arruda avatar QinjieLin avatar Alphonsus Adu-Bredu avatar Kache avatar

Watchers

James Cloos avatar Jeff Mahler avatar Animesh Garg avatar Jay Patel avatar David Lin avatar  avatar  avatar  avatar

openrave-motion-planner's Issues

'NoneType' object has no attribute 'PlannerParameters'

when I run

python raveInterface.py

You can set logging level with TRAJOPT_LOG_THRESH. Valid values: FATAL ERROR WARN INFO DEBUG TRACE. Defaulting to INFO
2019-03-29 12:53:02,375 openrave [WARN] [fclspace.h:248 FCLSpace::KinBodyInfoPtr fclrave::FCLSpace::InitKinBody] Initializing link dvrk/dummy0 with 0 geometries (env 1) (userdatakey fclcollision0x2903550)
2019-03-29 12:53:02,375 openrave [WARN] [fclspace.h:248 FCLSpace::KinBodyInfoPtr fclrave::FCLSpace::InitKinBody] Initializing link dvrk/dummy1 with 0 geometries (env 1) (userdatakey fclcollision0x2903550)
2019-03-29 12:53:02,375 openrave [WARN] [fclspace.h:248 FCLSpace::KinBodyInfoPtr fclrave::FCLSpace::InitKinBody] Initializing link dvrk/dummy0 with 0 geometries (env 1) (userdatakey fclcollision0x2903550)
2019-03-29 12:53:02,375 openrave [WARN] [fclspace.h:248 FCLSpace::KinBodyInfoPtr fclrave::FCLSpace::InitKinBody] Initializing link dvrk/dummy1 with 0 geometries (env 1) (userdatakey fclcollision0x2903550)
2019-03-29 12:53:02,534 openrave [WARN] [plugindatabase.h:577 InterfaceBasePtr OpenRAVE::RaveDatabase::Create] Failed to create name OMPL_RRTConnect, interface planner
2019-03-29 12:53:02,534 openrave [WARN] [plugindatabase.h:577 InterfaceBasePtr OpenRAVE::RaveDatabase::Create] Failed to create name OMPL_Simplifier, interface planner
Traceback (most recent call last):
File "raveInterface.py", line 312, in
planner.optimize(manip, joint_target, algorithm="RRTConnect")
File "raveInterface.py", line 192, in optimize
trajectory = self._init_traj(manip=manip, joint_target=joint_target, algorithm=algorithm) # Performs initial OMPL*** planning
File "raveInterface.py", line 254, in __init_traj
params = planner.PlannerParameters() # Creates an empty param to be filled
AttributeError: 'NoneType' object has no attribute 'PlannerParameters'
Segmentation fault (core dumped)

Kindly please help me how to solve this error

'NoneType' object has no attribute 'InitPlan'

I am tried launching the planner by following command
python raveinterface,py

I get following error:
Traceback (most recent call last):
File "raveInterface.py", line 319, in
planner.optimize(manip, joint_target, algorithm="RRTConnect")
File "raveInterface.py", line 192, in optimize
trajectory = self._init_traj(manip=manip, joint_target=joint_target, algorithm=algorithm) # Performs initial OMPL*** planning
File "raveInterface.py", line 272, in __init_traj
planner.InitPlan(self.get_robot(), params)

Kindly suggest me to solve the error.

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.