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

ROS 2 add Roboteq Battery #206

Merged
merged 108 commits into from
Nov 14, 2023
Merged

ROS 2 add Roboteq Battery #206

merged 108 commits into from
Nov 14, 2023

Conversation

KmakD
Copy link
Contributor

@KmakD KmakD commented Nov 6, 2023

No description provided.

KmakD and others added 30 commits June 27, 2023 12:18
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
KmakD and others added 11 commits October 23, 2023 07:29
* update adc_data_reader

* add battery_publisher class

* clean up battery class

* separate headers for bat publishers

* add adc_battery subclass

* update battery publisher

* fix ADCBattery

* fix error logging

* add battery tests

* add battery_publisher test

* add single and dual battery publisher tests

* Update panther_battery/src/adc_node.cpp

Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>

* review fixes

* formating and small fixes

* update readme

* Update panther_battery/src/battery_publisher.cpp

Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>

* Update panther_battery/src/battery_publisher.cpp

Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>

* Update panther_battery/src/battery_publisher.cpp

Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>

* Update panther_battery/src/battery_publisher.cpp

Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>

* Update panther_battery/include/panther_battery/adc_data_reader.hpp

Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>

* review fixes

* add MergeBatteryPowerSupplyHealth method

* code formatting

* fix bat params order

* review fixes

* update test_utils and add test for it

* update tests

* remove unnecessary try catch

* update battery virtual methods

* review fixes

* small fix

* fixes again

* change MergeBatteryPowerSupplyStatus logic

---------

Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
@KmakD KmakD requested a review from Kotochleb November 7, 2023 12:04
Copy link
Contributor

@Kotochleb Kotochleb left a comment

Choose a reason for hiding this comment

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

Some comments start with upper case and some with lower case. I think starting all comments that start at the beginning of a sentence with an upper case letter would be a good idea

panther_battery/README.md Outdated Show resolved Hide resolved
panther_battery/README.md Outdated Show resolved Hide resolved
panther_battery/README.md Outdated Show resolved Hide resolved
panther_battery/README.md Outdated Show resolved Hide resolved
panther_battery/src/battery_node.cpp Outdated Show resolved Hide resolved
panther_battery/src/roboteq_battery.cpp Outdated Show resolved Hide resolved
panther_battery/src/roboteq_battery.cpp Show resolved Hide resolved
panther_battery/test/test_roboteq_battery.cpp Outdated Show resolved Hide resolved
KmakD and others added 5 commits November 14, 2023 09:19
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
Co-authored-by: Krzysztof Wojciechowski <49921081+Kotochleb@users.noreply.github.com>
@KmakD KmakD requested a review from Kotochleb November 14, 2023 09:54
Copy link
Contributor

@Kotochleb Kotochleb left a comment

Choose a reason for hiding this comment

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

Comments in lines 64-66 in adc_battery.hpp could be better formatted. Other comments are also not beginning with upper case letters.

@KmakD KmakD requested a review from Kotochleb November 14, 2023 12:35
@Kotochleb Kotochleb merged commit 58aea63 into ros2-devel Nov 14, 2023
@Kotochleb Kotochleb deleted the ros2-roboteq-battery branch November 14, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants