Package Summary
Tags | No category tags. |
Version | 0.9.4 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros2/examples.git |
VCS Type | git |
VCS Version | foxy |
Last Updated | 2020-12-08 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Jacob Perron
Authors
- Mikael Arguedas
- Morgan Quigley
Minimal subscriber cookbook recipes
This package contains a few different strategies for creating nodes which receive messages:
* lambda.cpp
uses a C++11 lambda function
* member_function.cpp
uses a C++ member function callback
* not_composable.cpp
uses a global function callback without a Node subclass
Note that not_composable.cpp
instantiates a rclcpp::Node
without subclassing it.
This was the typical usage model in ROS 1, but this style of coding is not compatible with composing multiple nodes into a single process.
Thus, it is no longer the recommended style for ROS 2.
All of these nodes do the same thing: they create a node called minimal_listener
and subscribe to a topic named topic
which is of datatype std_msgs/String
.
When a message arrives on that topic, the node prints it to the screen.
We provide multiple examples of different coding styles which achieve this behavior in order to demonstrate that there are many ways to do this in ROS 2.
Changelog for package examples_rclcpp_minimal_subscriber
0.9.4 (2020-12-08)
- Added common linters (#265)
- Contributors: Alejandro Hern
Wiki Tutorials
Source Tutorials
Package Dependencies
Deps | Name | |
---|---|---|
1 | rclcpp | |
2 | std_msgs | |
1 | ament_cmake | |
1 | ament_lint_auto | |
1 | ament_lint_common |
System Dependencies
Dependant Packages
Name | Repo | Deps |
---|---|---|
desktop | github-ros2-variants |
Launch files
Messages
Services
Plugins
Recent questions tagged examples_rclcpp_minimal_subscriber at answers.ros.org
Package Summary
Tags | No category tags. |
Version | 0.7.5 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros2/examples.git |
VCS Type | git |
VCS Version | dashing |
Last Updated | 2020-11-25 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Jacob Perron
Authors
- Mikael Arguedas
- Morgan Quigley
Minimal subscriber cookbook recipes
This package contains a few different strategies for creating nodes which receive messages:
* lambda.cpp
uses a C++11 lambda function
* member_function.cpp
uses a C++ member function callback
* not_composable.cpp
uses a global function callback without a Node subclass
Note that not_composable.cpp
instantiates a rclcpp::Node
without subclassing it.
This was the typical usage model in ROS 1, but this style of coding is not compatible with composing multiple nodes into a single process.
Thus, it is no longer the recommended style for ROS 2.
All of these nodes do the same thing: they create a node called minimal_listener
and subscribe to a topic named topic
which is of datatype std_msgs/String
.
When a message arrives on that topic, the node prints it to the screen.
We provide multiple examples of different coding styles which achieve this behavior in order to demonstrate that there are many ways to do this in ROS 2.
Changelog for package examples_rclcpp_minimal_subscriber
0.7.5 (2020-11-24)
- Add common linters. (#265)
- Contributors: Alejandro Hern
Wiki Tutorials
Source Tutorials
Package Dependencies
Deps | Name | |
---|---|---|
1 | rclcpp | |
2 | std_msgs | |
1 | ament_cmake | |
1 | ament_lint_auto | |
1 | ament_lint_common |
System Dependencies
Dependant Packages
Name | Repo | Deps |
---|---|---|
desktop | github-ros2-variants |
Launch files
Messages
Services
Plugins
Recent questions tagged examples_rclcpp_minimal_subscriber at answers.ros.org
Package Summary
Tags | No category tags. |
Version | 0.4.0 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros2/examples.git |
VCS Type | git |
VCS Version | ardent |
Last Updated | 2017-12-09 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Morgan Quigley
Authors
Minimal subscriber cookbook recipes
This package contains a few different strategies for creating nodes which receive messages:
* lambda.cpp
uses a C++11 lambda function
* member_function.cpp
uses a C++ member function callback
* not_composable.cpp
uses a global function callback without a Node subclass
Note that not_composable.cpp
instantiates a rclcpp::Node
without subclassing it.
This was the typical usage model in ROS 1, but unfortunately this style of coding is not compatible with composing multiple nodes into a single process.
Thus, it is no longer the recommended style for ROS 2.
All of these nodes do the same thing: they create a node called minimal_listener
and subscribe to a topic named topic
which is of datatype std_msgs/String
.
When a message arrives on that topic, the node prints it to the screen.
We provide multiple examples of different coding styles which achieve this behavior in order to demonstrate that there are many ways to do this in ROS 2.
Wiki Tutorials
Source Tutorials
Dependant Packages
Name | Repo | Deps |
---|---|---|
desktop | github-ros2-variants |
Launch files
Messages
Services
Plugins
Recent questions tagged examples_rclcpp_minimal_subscriber at answers.ros.org
Package Summary
Tags | No category tags. |
Version | 0.5.1 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros2/examples.git |
VCS Type | git |
VCS Version | bouncy |
Last Updated | 2018-06-27 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Mikael Arguedas
Authors
- Morgan Quigley
Minimal subscriber cookbook recipes
This package contains a few different strategies for creating nodes which receive messages:
* lambda.cpp
uses a C++11 lambda function
* member_function.cpp
uses a C++ member function callback
* not_composable.cpp
uses a global function callback without a Node subclass
Note that not_composable.cpp
instantiates a rclcpp::Node
without subclassing it.
This was the typical usage model in ROS 1, but unfortunately this style of coding is not compatible with composing multiple nodes into a single process.
Thus, it is no longer the recommended style for ROS 2.
All of these nodes do the same thing: they create a node called minimal_listener
and subscribe to a topic named topic
which is of datatype std_msgs/String
.
When a message arrives on that topic, the node prints it to the screen.
We provide multiple examples of different coding styles which achieve this behavior in order to demonstrate that there are many ways to do this in ROS 2.
Changelog for package examples_rclcpp_minimal_subscriber
0.5.1 (2018-06-27)
- make Mikael Arguedas the maintainer (#212)
- Contributors: Mikael Arguedas
0.5.0 (2018-06-26)
- Change the not_composable example to destroy subscription first. (#210)
- Contributors: Chris Lalancette
0.4.0 (2017-12-08)
- use global node not local (#195)
- Use logging (#190)
- 0.0.3
- call shutdown before exiting (#179)
- 0.0.2
- rename executables with shorter names (#177)
- install executables in package specific path #173
- use CMAKE_X_STANDARD and check compiler rather than platform
- add pedantic flag
- Cpp14 (#147)
- Minimal service and client (#138)
- Add examples_ prefix to package names to avoid future collisions. (#137)
- attempt to improve indentation which includes a c++11 lambda
- fix cmake indentation and c++11 flag ordering
- change talker/listener to minimal_publisher/minimal_subscriber
- Contributors: Dirk Thomas, Mikael Arguedas, Morgan Quigley
Wiki Tutorials
Source Tutorials
Dependant Packages
Name | Repo | Deps |
---|---|---|
desktop | github-ros2-variants |
Launch files
Messages
Services
Plugins
Recent questions tagged examples_rclcpp_minimal_subscriber at answers.ros.org
Package Summary
Tags | No category tags. |
Version | 0.6.3 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros2/examples.git |
VCS Type | git |
VCS Version | crystal |
Last Updated | 2019-03-10 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Jacob Perron
Authors
- Mikael Arguedas
- Morgan Quigley
Minimal subscriber cookbook recipes
This package contains a few different strategies for creating nodes which receive messages:
* lambda.cpp
uses a C++11 lambda function
* member_function.cpp
uses a C++ member function callback
* not_composable.cpp
uses a global function callback without a Node subclass
Note that not_composable.cpp
instantiates a rclcpp::Node
without subclassing it.
This was the typical usage model in ROS 1, but this style of coding is not compatible with composing multiple nodes into a single process.
Thus, it is no longer the recommended style for ROS 2.
All of these nodes do the same thing: they create a node called minimal_listener
and subscribe to a topic named topic
which is of datatype std_msgs/String
.
When a message arrives on that topic, the node prints it to the screen.
We provide multiple examples of different coding styles which achieve this behavior in order to demonstrate that there are many ways to do this in ROS 2.
Changelog for package examples_rclcpp_minimal_subscriber
0.6.3 (2019-03-09)
0.6.2 (2019-02-08)
- Updated documentation. (#225)
- Contributors: Dirk Thomas
0.6.0 (2018-11-20)
- Added semicolons to all RCLCPP and RCUTILS macros. (#214)
- Contributors: Chris Lalancette
0.5.1 (2018-06-27)
- make Mikael Arguedas the maintainer (#212)
- Contributors: Mikael Arguedas
0.5.0 (2018-06-26)
- Change the not_composable example to destroy subscription first. (#210)
- Contributors: Chris Lalancette
0.4.0 (2017-12-08)
- use global node not local (#195)
- Use logging (#190)
- 0.0.3
- call shutdown before exiting (#179)
- 0.0.2
- rename executables with shorter names (#177)
- install executables in package specific path #173
- use CMAKE_X_STANDARD and check compiler rather than platform
- add pedantic flag
- Cpp14 (#147)
- Minimal service and client (#138)
- Add examples_ prefix to package names to avoid future collisions. (#137)
- attempt to improve indentation which includes a c++11 lambda
- fix cmake indentation and c++11 flag ordering
- change talker/listener to minimal_publisher/minimal_subscriber
- Contributors: Dirk Thomas, Mikael Arguedas, Morgan Quigley
Wiki Tutorials
Source Tutorials
Dependant Packages
Name | Repo | Deps |
---|---|---|
desktop | github-ros2-variants |
Launch files
Messages
Services
Plugins
Recent questions tagged examples_rclcpp_minimal_subscriber at answers.ros.org
Package Summary
Tags | No category tags. |
Version | 0.8.3 |
License | Apache License 2.0 |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/ros2/examples.git |
VCS Type | git |
VCS Version | eloquent |
Last Updated | 2020-12-04 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Jacob Perron
Authors
- Mikael Arguedas
- Morgan Quigley
Minimal subscriber cookbook recipes
This package contains a few different strategies for creating nodes which receive messages:
* lambda.cpp
uses a C++11 lambda function
* member_function.cpp
uses a C++ member function callback
* not_composable.cpp
uses a global function callback without a Node subclass
Note that not_composable.cpp
instantiates a rclcpp::Node
without subclassing it.
This was the typical usage model in ROS 1, but this style of coding is not compatible with composing multiple nodes into a single process.
Thus, it is no longer the recommended style for ROS 2.
All of these nodes do the same thing: they create a node called minimal_listener
and subscribe to a topic named topic
which is of datatype std_msgs/String
.
When a message arrives on that topic, the node prints it to the screen.
We provide multiple examples of different coding styles which achieve this behavior in order to demonstrate that there are many ways to do this in ROS 2.
Changelog for package examples_rclcpp_minimal_subscriber
0.8.3 (2020-12-04)
- Added common linters (#265)
- Contributors: Alejandro Hern
Wiki Tutorials
Source Tutorials
Package Dependencies
Deps | Name | |
---|---|---|
1 | rclcpp | |
2 | std_msgs | |
1 | ament_cmake | |
1 | ament_lint_auto | |
1 | ament_lint_common |
System Dependencies
Dependant Packages
Name | Repo | Deps |
---|---|---|
desktop | github-ros2-variants |