Skip to content

Commit e354494

Browse files
Use correct state interface again
1 parent 6e2a152 commit e354494

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

picknik_reset_fault_controller/src/picknik_reset_fault_controller.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ controller_interface::return_type PicknikResetFaultController::update(
6464
{
6565
if (realtime_publisher_)
6666
{
67-
auto state_op =
68-
command_interfaces_[CommandInterfaces::RESET_FAULT_ASYNC_SUCCESS].get_optional();
67+
auto state_op = state_interfaces_[StateInterfaces::IN_FAULT].get_optional();
6968
if (state_op.has_value())
7069
{
7170
state_.data = static_cast<bool>(state_op.value());

0 commit comments

Comments
 (0)