Skip to content

Commit

Permalink
urdf_parser: convert remaining files to HAVE_TINYXML
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed Feb 14, 2023
1 parent a65ae22 commit 0bca496
Show file tree
Hide file tree
Showing 10 changed files with 1,782 additions and 18 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ endif (MSVC OR MSVC90 OR MSVC10)

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

if(DISABLE_TINYXML_SUPPORT)
if(NOT DISABLE_TINYXML_SUPPORT)
find_package(tinyxml_vendor QUIET)
find_package(TinyXML)
# bionic has not cmake module, workaround
Expand Down
4 changes: 2 additions & 2 deletions urdf_parser/include/urdf_parser/urdf_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ namespace urdf{
URDFDOM_DLLAPI bool parseSensor(Sensor&, TiXmlElement*);
URDFDOM_DLLAPI bool parseModelState(ModelState&, TiXmlElement*);
#endif
URDFDOM_DLLAPI void exportURDF(ModelInterfaceSharedPtr &model, XMLDocument &doc);
URDFDOM_DLLAPI void exportURDF(const ModelInterface &model, XMLDocument &doc);
URDFDOM_DLLAPI void exportURDF(ModelInterfaceSharedPtr &model, tinyxml2::XMLDocument &doc);
URDFDOM_DLLAPI void exportURDF(const ModelInterface &model, tinyxml2::XMLDocument &doc);
URDFDOM_DLLAPI bool parsePose(Pose&, tinyxml2::XMLElement*);
URDFDOM_DLLAPI bool parseCamera(Camera&, tinyxml2::XMLElement*);
URDFDOM_DLLAPI bool parseRay(Ray&, tinyxml2::XMLElement*);
Expand Down
Loading

0 comments on commit 0bca496

Please sign in to comment.