Skip to content

Commit

Permalink
Renames yaml_util to swri_yaml_util. Refs swri-robotics#231.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Venator authored and Edward Venator committed Aug 8, 2016
1 parent 01a1ccf commit cce92b7
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 13 deletions.
6 changes: 3 additions & 3 deletions swri_transform_util/CMakeLists.txt
Expand Up @@ -11,8 +11,8 @@ find_package(catkin REQUIRED COMPONENTS
gps_common
diagnostic_msgs
swri_math_util
yaml_util
)
swri_yaml_util
)

find_package(OpenCV REQUIRED)

Expand All @@ -29,7 +29,7 @@ catkin_package(
gps_common
diagnostic_msgs
swri_math_util
yaml_util
swri_yaml_util
)

include_directories(include ${catkin_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS})
Expand Down
5 changes: 4 additions & 1 deletion swri_transform_util/package.xml
Expand Up @@ -23,7 +23,10 @@
<depend>gps_common</depend>
<depend>diagnostic_msgs</depend>
<depend>swri_math_util</depend>
<depend>yaml_util</depend>
<depend>swri_yaml_util</depend>
<depend>libgeos++-dev</depend>
<depend>proj</depend>
<test_depend>rostest</test_depend>

<export>
<swri_transform_util plugin="${prefix}/transformer_plugins.xml" />
Expand Down
4 changes: 2 additions & 2 deletions swri_transform_util/src/georeference.cpp
Expand Up @@ -36,7 +36,7 @@

// ROS libraries
#include <ros/ros.h>
#include <yaml_util/yaml_util.h>
#include <swri_yaml_util/yaml_util.h>

namespace swri_transform_util
{
Expand Down Expand Up @@ -84,7 +84,7 @@ namespace swri_transform_util
bool GeoReference::Load()
{
YAML::Node doc;
if (!yaml_util::LoadFile(path_, doc))
if (!swri_yaml_util::LoadFile(path_, doc))
{
ROS_ERROR("Failed to load file: %s", path_.c_str());
return false;
Expand Down
2 changes: 1 addition & 1 deletion yaml_util/CMakeLists.txt → swri_yaml_util/CMakeLists.txt
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 2.8.3)
project(yaml_util)
project(swri_yaml_util)

find_package(catkin REQUIRED)

Expand Down
File renamed without changes.
Expand Up @@ -35,7 +35,7 @@

#include <yaml-cpp/yaml.h>

#include <yaml_util/version.h>
#include <swri_yaml_util/version.h>

#ifndef YAMLCPP_OLD_API
namespace YAML
Expand All @@ -52,7 +52,7 @@ namespace YAML
}
#endif // YAMLCPP_OLD_API

namespace yaml_util
namespace swri_yaml_util
{
bool LoadFile(const std::string& path, YAML::Node& yaml);
bool FindValue(const YAML::Node& node, const std::string& name);
Expand Down
4 changes: 2 additions & 2 deletions yaml_util/package.xml → swri_yaml_util/package.xml
@@ -1,9 +1,9 @@
<package format="2">
<name>yaml_util</name>
<name>swri_yaml_util</name>
<version>0.0.1</version>
<description>

yaml_util
swri_yaml_util

</description>
<author>Marc Alban</author>
Expand Down
Expand Up @@ -27,7 +27,7 @@
//
// *****************************************************************************

#include <yaml_util/yaml_util.h>
#include <swri_yaml_util/yaml_util.h>

// C++ standard libraries
#include <sstream>
Expand Down Expand Up @@ -86,7 +86,7 @@ namespace YAML
}
#endif // YAMLCPP_OLD_API

namespace yaml_util
namespace swri_yaml_util
{
bool LoadFile(const std::string& path, YAML::Node& yaml)
{
Expand Down
File renamed without changes.

0 comments on commit cce92b7

Please sign in to comment.