Coder Social home page Coder Social logo

Comments (9)

mlautman avatar mlautman commented on August 20, 2024

Good catch! This helped me find a bug in chomp where it was requesting the parent joint of a fixed base joint without checking for Null.

I opened a PR to MoveIt that fixes the issue.

moveit/moveit#870

from moveit_tutorials.

ashBabu avatar ashBabu commented on August 20, 2024

Thank you @mlautman for the reply. But unfortunately the same error " [move_group-4] process has died [pid 11986, exit code -11," repeats.
I have replaced the src/moveit/moveit_planners/chomp/chomp_motion_planner/src/chomp_optimizer.cpp with the file given in https://github.com/PickNikRobotics/moveit/blob/6da46b9741dd32e77a215d4019ccd24c94dabbf3/moveit_planners/chomp/chomp_motion_planner/src/chomp_optimizer.cpp
Is there any other place I need to make a change? I'm still learning ROS.

from moveit_tutorials.

mlautman avatar mlautman commented on August 20, 2024

It's hard to debug your issue unless you have a reproducible setup. I wouldn't overwrite the file but instead check out the branch from the picknikrobotics fork. Also, are you using the panda_moveit_config from picknikrobotics/panda_moveit_config or from the frankaemika/franka_ros/panda_moveit_config?

Maybe a full rebuild?
catkin clean -y
catkin build

from moveit_tutorials.

ashBabu avatar ashBabu commented on August 20, 2024

I was using frankaemika/franka_ros/panda_moveit_config.
This probably may sound stupid. But I have a 7-dof kuka robot arm model for which the chomp works perfectly where as the above error comes for 7-dof franka arm (did not load the gripper). So I used Meld to compare the folders kuka_moveit_config and panda_moveit_config. The only major difference that I could find is that kuka generates urdf from xml whereas franka does the same from xacro (inside franka_description/robots). So I tried replacing the working kuka urdf with franka xacro and found that the error comes whereas viceversa appears to work properly. Very minor changes like some names of arms are different. I still could not pinpoint where exactly the problem is. If the above rings a bell, kindly let me know.
If nothing works, then as you suggested a full rebuild seems to be the only option.
Thanks

from moveit_tutorials.

ashBabu avatar ashBabu commented on August 20, 2024

@mlautman : The panda_arm.xacro does not have a fixed joint which as per your first post should be corrected by adding those lines in the chomp_optimizer.cpp. But for me the error repeated. So I simply added a dummy world_link with no mass and inertia and fixed it with panda_link0 and it solved the error.

The chomp motion planner now works for Franka robot arm but some strange things happen. If I use the " Select Goal State -->random valid --Update" in Rviz, the chomp fails with the following terminal output
warning

For chomp motion planner to be successful, I have to move the interactive marker at the end-effector with mouse and then click Plan -- execute in Rviz. Still there is an error (Found empty Joint State Message) but the output displays successfull execution of the trajectory and is as follows
chomp_successful

I guess this is something specific to chomp algorithm as none of this happens with OMPL

from moveit_tutorials.

mlautman avatar mlautman commented on August 20, 2024

I don't have the same issue with the franka_ros/panda_moveit_config package... can you provide a .rosinstall with the repos and branches in your workspace?

from moveit_tutorials.

ashBabu avatar ashBabu commented on August 20, 2024

Sorry for the delay.
The fixed joint problem is eliminated when I built moveit from source yesterday (without adding any dummy world link)
The rosinstall file is
THIS IS AN AUTOGENERATED FILE, LAST GENERATED USING wstool ON 2018-05-08

The libfranka and franka_ros are from
https://github.com/frankaemika/libfranka
https://github.com/frankaemika/franka_ros

As I mentioned in my previous reply, When I click the 'plan and execute button' on the motion planning interface, it returns the error 'Start state is empty'. I had updated the start state through the interface 'Query-->Select start state--> update'. Also, another 'Warning: Fail:ABORTED Unknown event' happens when I try 'Query-->Select goal state--> update' and 'Plan'.
screenshot from 2018-05-09 09-42-32

from moveit_tutorials.

UyaSong avatar UyaSong commented on August 20, 2024

Hello,
Is this problem solved?
I'm using abb irb1200+kinetic. I met the same problem when I want to use OMPL as a pre-processor for CHOMP, following the official MoveIt tutorial. But when I use the CHOMP alone, everything runs correctly.
Any suggestion would be grateful

from moveit_tutorials.

rhaschke avatar rhaschke commented on August 20, 2024

This should have been fixed in #1473 for master branch.

from moveit_tutorials.

Related Issues (20)

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.