-
Notifications
You must be signed in to change notification settings - Fork 1
f/690 - Wrote pressure_sensor node #9
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
base: sauvc26
Are you sure you want to change the base?
Conversation
src/wika_pressure_sensor/include/wika_pressure_sensor/wika_sensor_node.hpp
Outdated
Show resolved
Hide resolved
src/wika_pressure_sensor/include/wika_pressure_sensor/wika_sensor_node.hpp
Outdated
Show resolved
Hide resolved
346b003 to
85d70bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
давай попробуем переписать на ament_auto https://github.com/ament/ament_cmake/tree/humble/ament_cmake_auto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
в конце нет пробела, надо добавить. и настроить форматер, он такое сам будет исправлять
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не очень понял, на что ты ссылаешься
src/pressure_sensor/include/pressure_sensor/pressure_sensor_impl.hpp
Outdated
Show resolved
Hide resolved
src/pressure_sensor/include/pressure_sensor/pressure_sensor_impl.hpp
Outdated
Show resolved
Hide resolved
src/pressure_sensor/include/pressure_sensor/pressure_sensor.hpp
Outdated
Show resolved
Hide resolved
| rclcpp::node_interfaces::NodeBaseInterface::SharedPtr | ||
| get_node_base_interface() { | ||
| return node_->get_node_base_interface(); | ||
| } | ||
|
|
||
| rclcpp::Logger get_logger() const { return node_->get_logger(); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Очень похоже, что мы такое можем вынести в общею библиотеку по типу stingray_base_cpp и там создать интерфейс INodeWrapper, который и будет создавать ноду и предоставлять эти методы
З.Ы. get_logger нигде не используется
No description provided.