Skip to content

Conversation

@christophfroehlich
Copy link
Member

This moves https://github.com/ipa320/ros_battery_monitoring/tree/main/battery_state_broadcaster to our repository.

For discsussion about this, see #1888

ottojo and others added 18 commits July 22, 2024 16:37
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
…et_dependencies

Replace ament_target_dependencies with target_link_libraries
Don't make a temporary copy of semantic component
Recent commit in realtime_tools [1] causes the following compilation
failure:

    battery_state_broadcaster/src/BatteryStateBroadcaster.cpp:28:24:
    error: ‘sensor_msgs::msg::BatteryState_<std::allocator<void> >
    realtime_tools::RealtimePublisher<sensor_msgs::msg::BatteryState_<std::allocator<void>
    > >::msg_’ is private within this context

This commit fixes that.

[1]: ros-controls/realtime_tools@9e26e41
Fix compile error with latest realtime_tools
@christophfroehlich christophfroehlich added backport-jazzy Triggers PR backport to ROS 2 jazzy. backport-kilted Triggers PR backport to ROS 2 kilted. labels Dec 31, 2025
@codecov
Copy link

codecov bot commented Dec 31, 2025

Codecov Report

❌ Patch coverage is 0% with 60 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.44%. Comparing base (cd6823b) to head (6d986a6).

Files with missing lines Patch % Lines
..._state_broadcaster/src/BatteryStateBroadcaster.cpp 0.00% 49 Missing ⚠️
...nclude/battery_state_broadcaster/BatterySensor.hpp 0.00% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2086      +/-   ##
==========================================
- Coverage   84.79%   84.44%   -0.35%     
==========================================
  Files         151      153       +2     
  Lines       14605    14665      +60     
  Branches     1266     1269       +3     
==========================================
  Hits        12384    12384              
- Misses       1763     1823      +60     
  Partials      458      458              
Flag Coverage Δ
unittests 84.44% <0.00%> (-0.35%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...nclude/battery_state_broadcaster/BatterySensor.hpp 0.00% <0.00%> (ø)
..._state_broadcaster/src/BatteryStateBroadcaster.cpp 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-jazzy Triggers PR backport to ROS 2 jazzy. backport-kilted Triggers PR backport to ROS 2 kilted.

Projects

Status: WIP

Development

Successfully merging this pull request may close these issues.

5 participants