Coder Social home page Coder Social logo

Comments (9)

eacousineau avatar eacousineau commented on August 19, 2024

Good find! I'll add a check when it's parsing the transmission object specifically. I will spend an hour on it tomorrow.
Can you post the URDF you're parsing so I have it to work off of?

And for a manual overlay, maybe you can run CMake such that it installs to your local site packages, something like:

cd urdfdom
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/.local
# Install all of urdfdom to local usr setup
make install

It looks like it might install it to dist-packages, though, so I can't speak to it working like that.

from urdfdom.

v4hn avatar v4hn commented on August 19, 2024

Thanks in advance!

We work with calvin[0].
I uploaded the fully generated urdf to [1].


[0] - http://wiki.ros.org/calvin_robot
[1] - http://files.v4hn.de/calvin_description.urdf

from urdfdom.

eacousineau avatar eacousineau commented on August 19, 2024

Started work on it.
You can piggy back off of the devel or install-space for overlaying the install of the package, even though it does not use catkin:

cd urdfdom
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$(dirname $(catkin_find --first-only))
make install

(This assumes that catkin_find --first-only will return a directory in your devel-space)

Tested it out with the following command:

python -c 'import urdf_parser_py; print urdf_parser_py.__file__'

Should print out to the directory you specified.

from urdfdom.

eacousineau avatar eacousineau commented on August 19, 2024

I've implemented the code, but it is not yet ready. I need to be test and debug it tomorrow: https://github.com/eacousineau/urdfdom/compare/feature;issue-22?expand=1
For the URDF you've posted, it looks like a straight dump from rosparam. Could you regenerate with the following comand?

python -c 'import rospy; open("/tmp/calvin.urdf", "w").write(rospy.get_param("robot_description"))'

Thanks!

from urdfdom.

eacousineau avatar eacousineau commented on August 19, 2024

I apologize, I was unable to work on it today. I will address it either tomorrow or Tuesday.

from urdfdom.

v4hn avatar v4hn commented on August 19, 2024

I'm sorry for not answering in time.

At the moment I'm experiencing technical difficulties
much more severe than a failing python module (failing workstation).

I hope to get back to you soon!

from urdfdom.

v4hn avatar v4hn commented on August 19, 2024

I just uploaded the properly formatted patch to [0].
Thanks for your time.


[0] - http://v4hn.de/files/calvin_description.urdf

from urdfdom.

eacousineau avatar eacousineau commented on August 19, 2024

Thank you! I finished up the tests and submitted the pull requests.

You can see the diff patch when it parses calvin and then spits it back out to a string: gen.patch

from urdfdom.

isucan avatar isucan commented on August 19, 2024

merged #23

from urdfdom.

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.