Skip to content

Commit

Permalink
feat: apply autoware_ prefix for vehicle_door_simulator (#9997)
Browse files Browse the repository at this point in the history
Signed-off-by: Junya Sasaki <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
sasakisasaki and pre-commit-ci[bot] authored Jan 23, 2025
1 parent 4b6a342 commit 9c39d3f
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ simulator/fault_injection/** [email protected]
simulator/learning_based_vehicle_model/** [email protected] [email protected]
simulator/simple_planning_simulator/** [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
simulator/tier4_dummy_object_rviz_plugin/** [email protected]
simulator/vehicle_door_simulator/** [email protected]
simulator/autoware_vehicle_door_simulator/** isamu.takagi@tier4.jp junya.sasaki@tier4.jp
system/autoware_component_monitor/** [email protected] [email protected] [email protected]
system/autoware_default_adapi/** [email protected] [email protected] [email protected]
system/autoware_processing_time_checker/** [email protected] [email protected]
Expand Down
2 changes: 1 addition & 1 deletion launch/tier4_simulator_launch/launch/simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@

<!-- Dummy doors -->
<group if="$(var launch_dummy_doors)">
<include file="$(find-pkg-share vehicle_door_simulator)/launch/vehicle_door_simulator.launch.xml"/>
<include file="$(find-pkg-share autoware_vehicle_door_simulator)/launch/vehicle_door_simulator.launch.xml"/>
</group>

<!-- Simulator Adapter -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.14)
project(vehicle_door_simulator)
project(autoware_vehicle_door_simulator)

find_package(autoware_cmake REQUIRED)
autoware_package()

ament_auto_add_executable(dummy_doors
ament_auto_add_executable(${PROJECT_NAME}_node
src/dummy_doors.cpp
)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# vehicle_door_simulator
# autoware_vehicle_door_simulator

This package is for testing operations on vehicle devices such as doors.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<launch>
<node pkg="vehicle_door_simulator" exec="dummy_doors" name="dummy_doors">
<node pkg="autoware_vehicle_door_simulator" exec="autoware_vehicle_door_simulator_node">
<remap from="~/doors/command" to="/vehicle/doors/command"/>
<remap from="~/doors/layout" to="/vehicle/doors/layout"/>
<remap from="~/doors/status" to="/vehicle/doors/status"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>vehicle_door_simulator</name>
<name>autoware_vehicle_door_simulator</name>
<version>0.40.0</version>
<description>The vehicle_door_simulator package</description>
<maintainer email="[email protected]">Takagi, Isamu</maintainer>
<maintainer email="[email protected]">Junya Sasaki</maintainer>
<license>Apache License 2.0</license>

<buildtool_depend>ament_cmake_auto</buildtool_depend>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

#include <memory>

namespace vehicle_door_simulator
namespace autoware::vehicle_door_simulator
{

DummyDoors::DummyDoors() : Node("dummy_doors")
DummyDoors::DummyDoors() : Node("vehicle_door_simulator_node")
{
using std::placeholders::_1;
using std::placeholders::_2;
Expand Down Expand Up @@ -112,13 +112,13 @@ void DummyDoors::on_timer()
pub_status_->publish(message);
}

} // namespace vehicle_door_simulator
} // namespace autoware::vehicle_door_simulator

int main(int argc, char ** argv)
{
rclcpp::init(argc, argv);
rclcpp::executors::SingleThreadedExecutor executor;
auto node = std::make_shared<vehicle_door_simulator::DummyDoors>();
auto node = std::make_shared<autoware::vehicle_door_simulator::DummyDoors>();
executor.add_node(node);
executor.spin();
executor.remove_node(node);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include <array>

namespace vehicle_door_simulator
namespace autoware::vehicle_door_simulator
{

class DummyDoors : public rclcpp::Node
Expand Down Expand Up @@ -57,6 +57,6 @@ class DummyDoors : public rclcpp::Node
std::array<LocalStatus, 4> statuses_;
};

} // namespace vehicle_door_simulator
} // namespace autoware::vehicle_door_simulator

#endif // DUMMY_DOORS_HPP_

0 comments on commit 9c39d3f

Please sign in to comment.