Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fake_sensor_commands renamed #782

Merged
merged 6 commits into from
Oct 11, 2022

Conversation

kvkpraneeth
Copy link
Contributor

This PR resolves #774 issue to refactor all of fake_sensor_commands to mock_sensor_commands, Also adds a small deprecation warning if fake_sensor_commands is used.

mcbed
mcbed previously approved these changes Jul 19, 2022
Copy link
Member

@mcbed mcbed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@codecov-commenter
Copy link

codecov-commenter commented Jul 19, 2022

Codecov Report

Merging #782 (6416c48) into master (925f5f3) will decrease coverage by 1.99%.
The diff coverage is 38.06%.

@@            Coverage Diff             @@
##           master     #782      +/-   ##
==========================================
- Coverage   34.61%   32.62%   -2.00%     
==========================================
  Files          52       91      +39     
  Lines        2981     9268    +6287     
  Branches     1855     6229    +4374     
==========================================
+ Hits         1032     3024    +1992     
- Misses        310      720     +410     
- Partials     1639     5524    +3885     
Flag Coverage Δ
unittests 32.62% <38.06%> (-2.00%) ⬇️

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

Impacted Files Coverage Δ
controller_manager/src/controller_manager.cpp 36.63% <ø> (-3.08%) ⬇️
controller_manager/src/realtime.cpp 0.00% <0.00%> (ø)
controller_manager/src/ros2_control_node.cpp 0.00% <0.00%> (ø)
..._interface/include/hardware_interface/actuator.hpp 100.00% <ø> (ø)
...re_interface/include/hardware_interface/sensor.hpp 100.00% <ø> (ø)
...re_interface/include/hardware_interface/system.hpp 100.00% <ø> (ø)
hardware_interface/src/system.cpp 55.45% <ø> (ø)
...rface/test/mock_components/test_generic_system.cpp 8.98% <ø> (ø)
...dware_interface/test/test_component_interfaces.cpp 32.44% <ø> (+4.25%) ⬆️
hardware_interface/test/test_component_parser.cpp 8.52% <ø> (-3.13%) ⬇️
... and 107 more

@kvkpraneeth kvkpraneeth force-pushed the mock_sensor_commands branch from 8aaffb3 to 455b464 Compare July 21, 2022 09:32
destogl
destogl previously approved these changes Jul 22, 2022
Copy link
Member

@destogl destogl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@destogl
Copy link
Member

destogl commented Jul 30, 2022

@bmagyar if deprecation is in place we should merge this.

@mergify
Copy link
Contributor

mergify bot commented Sep 24, 2022

This pull request is in conflict. Could you fix it @kvkpraneeth?

bmagyar
bmagyar previously approved these changes Sep 28, 2022
@bmagyar bmagyar dismissed stale reviews from destogl, mcbed, and themself via cc40fdc October 3, 2022 13:19
destogl
destogl previously approved these changes Oct 11, 2022
@destogl destogl merged commit 1cf9bf2 into ros-controls:master Oct 11, 2022
@destogl
Copy link
Member

destogl commented Oct 11, 2022

@Mergifyio backport humble

mergify bot pushed a commit that referenced this pull request Oct 11, 2022
…ds' (#782)

Co-authored-by: Bence Magyar <[email protected]>
Co-authored-by: Denis Štogl <[email protected]>
(cherry picked from commit 1cf9bf2)

# Conflicts:
#	hardware_interface/test/mock_components/test_generic_system.cpp
@mergify
Copy link
Contributor

mergify bot commented Oct 11, 2022

backport humble

✅ Backports have been created

@destogl
Copy link
Member

destogl commented Oct 15, 2022

@Mergifyio backport humble

@mergify
Copy link
Contributor

mergify bot commented Oct 15, 2022

backport humble

✅ Backports have been created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename parameter in mock_hardware/GenericSystem
5 participants