Code Monkey home page Code Monkey logo

Comments (2)

mhmukadam avatar mhmukadam commented on July 21, 2024

Hi, the convention used to represent the robot inside GPMP2 is different than the one used in rviz. That is why the PR2 spheres look off. If you visualize your spheres in matlab using GPMP2 function 'gpmp2/matlab/+gpmp2/plotRobotModel.m' they will appear correctly (we have also recently tried the ros toolbox in matlab that nicely visualizes the robot from a urdf, then you can work out sphere placements in there by visualizing the spheres with 'plotRobotModel' on top of it).

The sphere positions are defined relative to a joint's coordinate frame. For example, a simple two link planar arm:
b ==== 0 ==== 1
(b - base/origin, 0 - joint 0, 1 - joint 1/end effector) all spheres here are defined wrt frames 0 and 1.

from piper.

lounick avatar lounick commented on July 21, 2024

Hi thanks,

I'll try with the matlab approach as you suggested. I thought that it is different than RViz I just tried to find out what are the differences and transform the spheres accordingly but wasn't that successful. I'll report back.

Thank you again for your time! 😄

from piper.

Related Issues (13)

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.