m12watanabe1a 2022-06-01
Dualsense -> DualSense
@bf8e5fb59ab3af08b8b269b823bbf8c6cfc038ef
README.md
--- README.md
+++ README.md
@@ -4,18 +4,18 @@
 
 ## Supported controllers
 
-| Status | Hardware Name |
-| ------ | ------------- |
+| Status               | Hardware Name |
+| -------------------- | ------------- |
 | :white_large_square: | `DualShock3`  |
 | :white_large_square: | `DualShock4`  |
-| :heavy_check_mark: | `Dualsense`   |
+| :heavy_check_mark:   | `DualSense`   |
 
 
 ## How to use the interface library
 1. Initialize controller interface with the specific hardware type.
 ```cpp
 // Initialize Interface
-const std::string hw_type = "Dualsense";
+const std::string hw_type = "DualSense";
 ps_interface =
   std::make_unique<p9n_interface::PlayStationInterface>(hw_type);
 ```
p9n_example/launch/display.launch.py
--- p9n_example/launch/display.launch.py
+++ p9n_example/launch/display.launch.py
@@ -28,7 +28,7 @@
     launch_args = [
         DeclareLaunchArgument(
             'hw_type',
-            default_value=TextSubstitution(text='Dualsense')
+            default_value=TextSubstitution(text='DualSense')
         )
     ]
     nodes = [
p9n_interface/include/p9n_interface/hw_types.hpp
--- p9n_interface/include/p9n_interface/hw_types.hpp
+++ p9n_interface/include/p9n_interface/hw_types.hpp
@@ -30,6 +30,6 @@
 {
 const char DUALSHOCK3[] = "DualShock3";
 const char DUALSHOCK4[] = "DualShock4";
-const char DUALSENSE[] = "Dualsense";
+const char DUALSENSE[] = "DualSense";
 }  // namespace HW_NAME
 }  // namespace p9n_interface
p9n_test/README.md
--- p9n_test/README.md
+++ p9n_test/README.md
@@ -5,7 +5,7 @@
 ![Image](../media/test.png)
 
 ```bash
-ros2 launch p9n_test test.launch.py hw_type:=Dualsense
+ros2 launch p9n_test test.launch.py hw_type:=DualSense
 ```
 
 This process asks you to press the specific key. Then you need to press the actual hardware button of your controller and check all button interface step by step.
@@ -14,4 +14,5 @@
 And this repository supports following hardware.
 - `DualShock3`
 - `DualShock4`
-- `Dualsense`
+- `Dual
+- Sense`
p9n_test/launch/test.launch.py
--- p9n_test/launch/test.launch.py
+++ p9n_test/launch/test.launch.py
@@ -28,7 +28,7 @@
     launch_args = [
         DeclareLaunchArgument(
             'hw_type',
-            default_value=TextSubstitution(text='Dualsense')
+            default_value=TextSubstitution(text='DualSense')
         )
     ]
     nodes = [
Add a comment
List