Comments (11)
@willstott101 Great work!
What is your plan to reuse the code?
from urdf-rs.
That link was something someone else had worked on as a fork from this repo. But it looks abandoned and incorrectly licensed to me.
My initial bit of work was here: willstott101@03a64c8
Basic idea was to split this crate up into three main modules: pub urdf
, pub sdf
and common
, then I moved utils
to ros_utils
too cause they're very ROS-specific.
What we can end up re-using is Error types, some of the simple structs, and the vector parsing code.
There would also be scope to convert from one->other for particular constrained files, to make it easier to create programs which can import both.
from urdf-rs.
Resource resolution (stuff currently in utils
is generally very shareable).
from urdf-rs.
Opened #32 as it's easier to keep track of and comment on changes.
from urdf-rs.
Hi,
I would like to push any contributions to add this feature. Please let me know if there are any open tasks
from urdf-rs.
Hi, that would be most welcome. My branch with a pull request open is the latest thing I've worked on. Step one towards being able to have multiple people work on this would be to have a few tests for loading very simple SDF strings in the funcs.rs
file.
If we can have a few small tests for each basic part of an SDF it should be easy for people to contribute the parsing of elements they're interested in. I think very rarely do people require the entire spec, so small tests should help us grow the functionality at whatever rate we need.
from urdf-rs.
I'm happy to merge PRs into my fork for now, if that's the most convenient.
from urdf-rs.
Hi @willstott101,
Great. I think it makes sense to start adding tests which only have the main model of the robot. Later we can start adding sensor in the SDF. Let me know if this works for you.
I'll start going through your code
from urdf-rs.
Lovely. What's there is pretty much a suggestion for crate layout more than anything functional. As a warning :)
from urdf-rs.
I've pushed a version which is actually able to parse an SDF file now. Lots to learn about serde_xml_rs... but finally got a top-level enum for different kinds of SDF files working. Could alternatively always return a list of Worlds, and just create a World for files without one, if the enum proves to be a bit awkward.
from urdf-rs.
Thanks. Will take a look at it. I was on vacation over the past few days. Haven't had a chance to look at the code
from urdf-rs.
Related Issues (13)
- `Option` type for optional tags HOT 6
- Improve xacro error HOT 1
- Rust error from {argument} HOT 1
- Sort collision and visual in link
- Inertial Data ignored HOT 1
- Add support for passing arguments to xacro files HOT 1
- write_to_string exports with "Robot" tag instead of "robot" HOT 3
- Bad namespace HOT 3
- [BUG] If <origin> is below <geometry> in a urdf file, then <origin> doesn't load. HOT 7
- Color in material doesn't seem to parse. HOT 8
- Consider moving away from yaserde HOT 4
- [Feature Request] JointLimit should be inferred to be unlimited if a urdf has no explicitely defined JointLimit. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from urdf-rs.