File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if(NOT CMAKE_CXX_STANDARD)
11
11
endif ()
12
12
13
13
if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
14
- add_compile_options (-Wall -Wextra)
14
+ add_compile_options (-Wall -Wextra -Wpedantic -Wshadow -Wold-style-cast )
15
15
endif ()
16
16
17
17
set (THIS_PACKAGE_INCLUDE_DEPENDS
@@ -44,7 +44,6 @@ generate_parameter_library(
44
44
45
45
add_library (mecanum_drive_controller SHARED src/mecanum_drive_controller.cpp
46
46
src/odometry.cpp)
47
- target_compile_features (mecanum_drive_controller PUBLIC cxx_std_17)
48
47
target_include_directories (
49
48
mecanum_drive_controller
50
49
PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /include >
@@ -57,6 +56,8 @@ ament_target_dependencies(mecanum_drive_controller PUBLIC
57
56
pluginlib_export_plugin_description_file(controller_interface
58
57
mecanum_drive_plugin.xml)
59
58
59
+ install (DIRECTORY include / DESTINATION include /mecanum_drive_controller)
60
+
60
61
install (
61
62
TARGETS mecanum_drive_controller mecanum_drive_controller_parameters
62
63
EXPORT export_mecanum_drive_controller
Original file line number Diff line number Diff line change @@ -2,18 +2,34 @@ mecanum_drive_controller:
2
2
front_left_wheel_name : {
3
3
type : string,
4
4
description : " Link name of the front left side wheel" ,
5
+ read_only : true,
6
+ validation : {
7
+ not_empty<> : null,
8
+ }
5
9
}
6
10
front_right_wheel_name : {
7
11
type : string,
8
12
description : " Link name of the front right side wheel" ,
13
+ read_only : true,
14
+ validation : {
15
+ not_empty<> : null,
16
+ }
9
17
}
10
18
rear_left_wheel_name : {
11
19
type : string,
12
20
description : " Link name of the rear left side wheel" ,
21
+ read_only : true,
22
+ validation : {
23
+ not_empty<> : null,
24
+ }
13
25
}
14
26
rear_right_wheel_name : {
15
27
type : string,
16
28
description : " Link name of the rear right side wheel" ,
29
+ read_only : true,
30
+ validation : {
31
+ not_empty<> : null,
32
+ }
17
33
}
18
34
wheel_separation_x : {
19
35
type : double,
You can’t perform that action at this time.
0 commit comments