Skip to content

Commit

Permalink
Merge pull request #9 from marrts/integration_fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 authored Nov 7, 2024
2 parents 520d563 + dfcb431 commit fe9cb66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/data_collection_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def save_cb(self,
with open(os.path.join(save_dir, 'cal_data.yaml'), 'w') as f:
yaml.dump({'data': cal_data}, f)

res.message = f"Saved data to: '{self.parent_path}'"
res.message = save_dir
res.success = True
except Exception as ex:
res.message = f"Failed to save data: '{ex}'"
Expand Down
2 changes: 1 addition & 1 deletion src/target_detector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class TargetDetector
}
catch (const std::runtime_error& ex)
{
RCLCPP_ERROR(node_->get_logger(), "%s", ex.what());
RCLCPP_ERROR_THROTTLE(node_->get_logger(), *node_->get_clock(), 2000, "%s", ex.what());
}
}

Expand Down

0 comments on commit fe9cb66

Please sign in to comment.