Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Commit 7bff988

Browse files
author
Olav de Haas
committed
Add march_pdb_state_controller to roslint
1 parent 4e60093 commit 7bff988

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ catkin build --no-deps --verbose march_hardware_builder --no-notify --catkin-mak
3636
catkin build --no-deps --verbose march_hardware_interface --no-notify --catkin-make-args roslint || build_failed "Roslint failed in march_hardware_interface"
3737
catkin build --no-deps --verbose march_temperature_sensor_controller --no-notify --catkin-make-args roslint || build_failed "Roslint failed in march_temperature_sensor_controller"
3838
catkin build --no-deps --verbose march_hardware_state_controller --no-notify --catkin-make-args roslint || build_failed "Roslint failed in march_hardware_state_controller"
39+
catkin build --no-deps --verbose march_pdb_state_controller --no-notify --catkin-make-args roslint || build_failed "Roslint failed in march_hardware_state_controller"
3940

4041
# Run all tests in the workspace, including roslaunch-checks if they exist
4142
catkin build --summarize --catkin-make-args run_tests && catkin_test_results build/ --verbose || build_failed "Tests failed"

march_pdb_state_controller/src/march_pdb_state_controller.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ bool MarchPdbStateController::init(march_hardware_interface::MarchPdbStateInterf
7575
realtime_pubs_ = rt_pub;
7676
}
7777

78-
enable_disable_high_voltage_service = controller_nh.advertiseService("enable_all_high_voltage",
79-
&MarchPdbStateController::serviceDisableEnableHighVoltage, this);
78+
enable_disable_high_voltage_service =
79+
controller_nh.advertiseService("enable_all_high_voltage",
80+
&MarchPdbStateController::serviceDisableEnableHighVoltage, this);
8081

8182
sub_master_shutdown_allowed =
8283
controller_nh.subscribe("shutdown_allowed", 1000, &MarchPdbStateController::masterShutdownAllowedCallback, this);

0 commit comments

Comments
 (0)