[x] The implementation follows the project style conventions
[x] All project unit tests are passing
[x] If relevant, documentation has been provided or updated to discuss the changes made
[x] System integration tests were performed successfully
Changes Made
This PR replaces instances of std::bind with lambda functions. This improves the system readability while also eliminating the need to maintain small one-off methods.
Associated Issues
Fixes #37
Files Changed
alpha_driver/include/alpha_driver/driver.hpp: Removed the updateLastHeartbeatCb method in-favor of a lambda
alpha_driver/src/driver.cpp: Removed the updateLastHeartbeatCb method in-favor of a lambda
alpha_hardware/src/hardware.cpp: Replaced std::bind instances with lambdas
Checklist
Changes Made
This PR replaces instances of
std::bind
with lambda functions. This improves the system readability while also eliminating the need to maintain small one-off methods.Associated Issues
Files Changed
alpha_driver/include/alpha_driver/driver.hpp
: Removed theupdateLastHeartbeatCb
method in-favor of a lambdaalpha_driver/src/driver.cpp
: Removed theupdateLastHeartbeatCb
method in-favor of a lambdaalpha_hardware/src/hardware.cpp
: Replaced std::bind instances with lambdasTesting
Regression testing and CI