No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro kilted. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
![]() |
example_waypoint_flier_simple package from ros2_examples repoexample_plugin_manager example_plugins vision_examples vision_examples_utils example_waypoint_flier example_waypoint_flier_simple ros2_examples ros2_lib sub_pub_torture_test |
Package Summary
Tags | No category tags. |
Version | 1.0.0 |
License | MIT |
Build type | AMENT_CMAKE |
Use | RECOMMENDED |
Repository Summary
Description | Examples for individual ROS2 functionalities inc. Subscribers, Publishers, Timers, Services, Parameters. ... |
Checkout URI | https://github.com/ctu-mrs/ros2_examples.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-23 |
Dev Status | UNKNOWN |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | cpp examples robot-operating-system ros2 |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Example for the Simple Waypoint Flier
Additional Links
No additional links.
Maintainers
- Daniel Hert
Authors
- Daniel Hert
WaypointFlier Simple - ROS2 simple example
This package was created as an example of how to write a very simple ROS2 node.
You can test the program in simulation run from ./tmux/start.sh
.
Functionality
- Once activated, the node will command an UAV to fly through random waypoints
- Service
start_waypoint_following
will activate the node - The area in which random waypoints are generated is configurable with a separate config file See .yaml files
How to start
./tmux/start.sh
Then, call the services prepared in the terminal window either by:
- Pressing tmux binding (
Ctrl + b
orCtrl + a
) - Pressing the down arrow to change to the terminal below
- Pressing the up arrow to bring up the prepared terminal command
Or typing the following command into a terminal connected to the ROS server:
ros2 service call /uav1/waypoint_flier_simple/start std_srvs/srv/Trigger
Package structure
See ROS2 packages
-
src
directory contains all source files -
launch
directory contains.py
launch files which are used to parametrize the node. Command-line arguments, as well as environment variables, can be loaded from the launch files, the node can be put into the correct namespace (each UAV has its namespace to allow multi-robot applications), config files are loaded, and parameters passed to the node. See launch files -
config
directory contains parameters in.yaml
files. See .yaml files -
package.xml
defines properties of the package, such as package name and dependencies. See package.xml - CMakeLists.txt contains instructions for building the package using the colcon build tool
More complex example
- To see a similar node with more functionality and features, see the
waypoint_flier
example.
CHANGELOG
No CHANGELOG found.
Wiki Tutorials
This package does not provide any links to tutorials in it's rosindex metadata.
You can check on the ROS Wiki Tutorials page for the package.
Package Dependencies
Deps | Name |
---|---|
ament_cmake | |
ament_cmake_ros | |
rclcpp | |
rclcpp_components | |
rclcpp_lifecycle | |
launch | |
launch_ros | |
std_msgs | |
std_srvs | |
geometry_msgs | |
nav_msgs | |
mrs_msgs |
System Dependencies
No direct system dependencies.
Dependant Packages
No known dependants.
Launch files
No launch files found
Messages
No message files found.
Services
No service files found
Plugins
No plugins found.
Recent questions tagged example_waypoint_flier_simple at Robotics Stack Exchange
No version for distro noetic. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.