Skip to content

Commit

Permalink
package name and file name changed
Browse files Browse the repository at this point in the history
- unity_ros_init -> unity_ros
  • Loading branch information
hyunseok-yang committed Jan 6, 2021
1 parent 5cbd2d1 commit 6c9b3b3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions bringup/launch/unity_ros.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def generate_launch_description():

_package_name = 'unity_ros'

start_unity_ros_init_cmd = Node(
start_unity_ros_cmd = Node(
package=_package_name,
executable=_package_name,
name=_name,
Expand All @@ -49,6 +49,6 @@ def generate_launch_description():
ld.add_action(declare_launch_argument_nn)

# Add the actions to launch all of the navigation nodes
ld.add_action(start_unity_ros_init_cmd)
ld.add_action(start_unity_ros_cmd)

return ld
2 changes: 1 addition & 1 deletion unity_ros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ include_directories(include)

add_executable(${PROJECT_NAME}
src/main.cpp
src/unity_ros_init.cpp)
src/unity_ros.cpp)

ament_target_dependencies(${PROJECT_NAME}
${dependencies}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file unity_ros_init.hpp
* @file unity_ros.hpp
* @date 2020-04-08
* @author Hyunseok Yang
* @brief
Expand All @@ -14,8 +14,8 @@
* SPDX-License-Identifier: MIT
*/

#ifndef _UnityRosInit_H_
#define _UnityRosInit_H_
#ifndef _UnityRos_HPP_
#define _UnityRos_HPP_

#include <sim_bridge/sim_bridge.hpp>
#include <rclcpp/rclcpp.hpp>
Expand Down
2 changes: 1 addition & 1 deletion unity_ros/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT
*/
#include "unity_ros/unity_ros_init.hpp"
#include "unity_ros/unity_ros.hpp"

using namespace std::chrono_literals;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file unity_ros_init.cpp
* @file unity_ros.cpp
* @date 2020-04-08
* @author Hyunseok Yang
* @brief
Expand All @@ -14,7 +14,7 @@
* SPDX-License-Identifier: MIT
*/

#include "unity_ros/unity_ros_init.hpp"
#include "unity_ros/unity_ros.hpp"
#include <protobuf/param.pb.h>
#include <protobuf/any.pb.h>
#include <protobuf/time.pb.h>
Expand All @@ -26,7 +26,7 @@ using namespace UnityRos;
using namespace gazebo;

UnityRosInit::UnityRosInit()
: Node("unity_ros_init",
: Node("unity_ros",
rclcpp::NodeOptions()
.parameter_overrides(vector<rclcpp::Parameter>{rclcpp::Parameter("use_sim_time", true)})
.allow_undeclared_parameters(true)
Expand Down

0 comments on commit 6c9b3b3

Please sign in to comment.