Commit Graph

41 Commits

Author SHA1 Message Date
Chris Lalancette 4d03177186 Do a few cleanup tasks in collada_urdf (#183)
* Style cleanup within collada_urdf.

No functional change, just style.

Signed-off-by: Chris Lalancette <clalancette@osrfoundation.org>

* Make sure to quit out of urdf_to_collada when invalid file is found.

Otherwise, we'll just end up segfaulting later on.

Signed-off-by: Chris Lalancette <clalancette@osrfoundation.org>

* Re-enable one of the collada-urdf tests.

In point of fact, we delete the rest of the tests because
they don't make much sense anymore.  Just enable this one
for now; we'll enable further ones in the future.

Signed-off-by: Chris Lalancette <clalancette@osrfoundation.org>

* Add in another test for collada_urdf.

Signed-off-by: Chris Lalancette <clalancette@osrfoundation.org>
2017-02-01 16:53:04 -05:00
Jackie Kay fc71f00e33 remove divide by 2 when writing boxes to collada format (#133) 2017-02-01 21:29:28 +00:00
Jochen Sprickerhof 409c4b923c Use urdf::*ShredPtr instead of boost::shared_ptr (#144)
* Use urdf::*SharedPtr instead of boost::shared_ptr

urdfdom_headers uses C++ std::shared_ptr. As it exports it as a custom
*SharedPtr type, we can use them to stay compatible.

* Add compatibility urdf::VoidSharedPtr

* Use urdfdom compatibility header

* Build kinetic for kinetic branch

* Add missing namespace and includes

* Revert "Build kinetic for kinetic branch"

This reverts commit f1c085ccdbe282de8f17b2150aa0ba6ba453db64.

* Add build dependency

* Revert "Add build dependency"

This reverts commit 94175094ffc656e9173c3a46684116471e68279f.

* Export urdfdom version to header

* Add dummy version in case it's not set by urdfdom_headers

* Add missing header
2017-01-04 16:41:49 -08:00
William Woodall dbd8907ce1 compile collada_urdf with c++11 standard (redux) (#145)
* compile collada_urdf with c++11 standard

as the gnu-specific keyword "typeof" is used in the code,
the gnu 11 standard has to be specified.

cmake_minimum_required increased to have add_compile_options around.

* use decltype and check for flag before passing it

* disable some warnings and fix cxx flag check
2016-08-23 14:33:38 -07:00
Ioan A Sucan cca530eb54 Merge pull request #69 from YoheiKakiuchi/indigo-devel-store-original-mesh-name
storing original mesh file name and location
2014-04-17 00:18:35 -07:00
YoheiKakiuchi e308ae141d storing original mesh file name and location 2014-04-16 23:35:57 +09:00
Ioan Sucan 3d1243d1ce use new urdfdom_headers API 2014-03-22 13:08:49 -07:00
Scott K Logan 85b2019767 Better feature detection for assimp version
The unified headers were introduced in Assimp 2.0.1150, so checking for Assimp 3.0.0 is not quite the best solution.

See 6fa251c2f2
2014-01-26 02:05:24 -07:00
Ioan Sucan 98b0927cb1 remove superfluous output 2013-06-07 17:49:38 +03:00
YoheiKakiuchi 77717c68bc resolve conflict 2013-06-07 17:49:28 +03:00
Ioan Sucan 4ed52cd6f7 no longer construct aiScene directly; instead build and parse an STL; this avoids the linking problem due to hidden symbols in aiScene 2013-04-21 23:11:46 +02:00
Ioan Sucan 2b21505721 use references for point args 2013-04-16 14:05:30 +03:00
Kei Okada e9ebddba55 rename Point->Triangle, use heuristic sphere vertices generation, add const 2013-04-16 14:02:23 +03:00
Kei Okada d98c6d3532 support cylinder, box, https://code.ros.org/trac/ros-pkg/ticket/4276 2013-04-16 14:02:13 +03:00
Kei Okada ff7c4f4ace fix segfault on groovy, not tested on fuerte see #4 2013-02-15 11:03:45 +09:00
Ioan Sucan 213ff1c8fb fix #5 2013-01-23 23:27:43 -08:00
Vincent Rabaud 8ab5cc7d8c use the proper angles package name 2012-09-16 02:10:27 +02:00
Ioan Sucan d32c31f946 added using namespace directive + update deps in stack.yaml 2012-08-14 20:32:13 -07:00
Ioan Sucan 0bbe586ef5 switching to catkin 2012-08-02 17:51:31 -07:00
Rosen Diankov 4ffd7658d7 update to collada 2.4.0 support and assimp3.0 support. collada_parser now including urdf_model/X.h (from urdfdom) instead of urdf_interface/X.h 2012-06-21 14:14:09 +09:00
rdiankov bb64384ba8 fixed second_partial derivative export for collada 2012-05-20 18:28:47 +09:00
Ioan Sucan 791f756659 undoing changes to mimic joints (simple version is sufficient) 2011-11-16 19:03:57 +00:00
Ioan Sucan 08a6ecc59f forgot to commit this as part of the previous change 2011-11-10 00:31:28 +00:00
Ioan Sucan 5ddcc7da5e replacing #include <ros/ros.h> by #include <ros/console.h> where possible 2011-11-08 18:22:47 +00:00
rdiankov 34cb8a5af5 collada exporter minor change: made all links dynamic 2011-07-15 15:16:17 +09:00
rdiankov 3ce4c70c5b added exporting of physics parameters to collada 2011-07-15 00:08:16 +09:00
rdiankov 46e173e0bf saving both soft and hard limits in collada 2011-07-12 21:01:25 +09:00
rdiankov c463e9e6e0 collada exporter using soft limits if they exist (thanks to Kei Okada) 2011-07-12 20:07:37 +09:00
Wim Meeussen 9c91719870 do not include deprecated headers 2011-07-07 11:58:51 -07:00
rdiankov 701b17c423 collada exporter: forgot one place to update the id 2011-01-06 04:25:05 +00:00
rdiankov 7512d26196 collada exporter: forgot one place to update the id 2011-01-06 04:22:15 +00:00
rdiankov 0dcc5b0f8b collada urdf exporter: remove / and . from ids 2011-01-06 02:03:40 +00:00
rdiankov e2cb0826da updated collada_urdf with openrave profile formulas (partial derivative info) 2011-01-03 04:28:56 +00:00
rdiankov e92227f894 put back old collada_urdf (thanks to Tim Field for noticing this) 2010-12-21 22:47:56 +00:00
rdiankov 697db704d3 added more patches to collada, fixed several problems in collada export/import that led to invalid files, added a program to annotate the pr2 file with extra robot information 2010-12-20 10:03:36 +00:00
rdiankov 37e10c333c fixed bind/newparam problem in collada writer 2010-12-17 03:02:51 +00:00
rdiankov 2a6e9665bb collada urdf uses link/joint names for sids (easier referencing) 2010-12-08 02:56:20 +00:00
rdiankov 0c6cec8356 major update on collada exporter, now supports writing articulated systems along with parsing the dae meshes 2010-12-07 12:47:01 +00:00
tfield de6ad90cf1 collada_urdf: ColladaWriterException -> ColladaUrdfException 2010-04-26 19:00:40 +00:00
tfield 3ab12d3c7f collada_urdf: added colladaToFile 2010-04-24 18:22:25 +00:00
tfield 51126cf458 collada_urdf: split top-level API functions into own header 2010-04-24 17:46:20 +00:00