No version for distro humble. 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 rolling. Known supported distros are highlighted in the buttons above.
![]() |
swarm_behaviors_flocking package from swarm_behaviors reposwarm_behaviors_flocking swarm_behaviors_position swarm_behaviors_velocity swarm_behaviors uav_coverage uav_tracking ugv_random_walk |
|
Package Summary
Tags | No category tags. |
Version | 1.3.0 |
License | Apache License 2.0 |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/cpswarm/swarm_behaviors.git |
VCS Type | git |
VCS Version | noetic-devel |
Last Updated | 2023-07-06 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | UNRELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
A package that provides flocking related functionalities.
Additional Links
Maintainers
- Micha Sende
- Micha Sende
Authors
No additional authors.
swarm_behaviors_flocking
This package provides functionalities for flocking and formation flight. It is a library package of the swarm behaviors library.
Dependencies
This package depends on the following message definitions: * geometry_msgs * cpswarm_msgs
The following library packages of the swarm behaviors library are required: * position * velocity
The following packages of the swarm functions library are required: * kinematics_exchanger
The following packages of the sensing and actuation library are required: * area_provider
Further required packages are: * roscpp
Libraries
flocking
The flocking
library provides functionalities for flocking and formation flight. It calculates the required velocity for a CPS to either stay in a flock or to create a specific formation with a swarm of CPSs.
Subscribed Topics
-
swarm_position_rel
(cpswarm_msgs/ArrayOfVectors) Relative positions of the other swarm members -
swarm_position
(cpswarm_msgs/ArrayOfPositions) Absolute positions of the other swarm members. -
swarm_velocity_rel
(cpswarm_msgs/ArrayOfVectors) Relative velocities of the other swarm members.
Services Called
-
area/get_center
(cpswarm_msgs/GetPoint) Get the center of the area.
Parameters
-
~loop_rate
(real, default:5.0
) The frequency in Hz at which to run the control loops. -
~queue_size
(integer, default:1
) The size of the message queue used for publishing and subscribing to topics. -
~start_delay
(real, default:1.0
) The Time in seconds to wait during startup for other CPSs. -
~equi_dist
(real, default:10.0
) Equilibrium distance between CPSs in meter. -
~repulse_spring
(real, default:1.0
) Repulsion spring constant of half-spring per square second. -
~repulse_max
(real, default:1.0
) Maximum repulsion between CPSs in meter in order to avoid over excitation. -
~align_frict
(real, default:20.0
) Velocity alignment viscous friction coefficient in square meter per second. Higher values result in slower but more stable flocks. -
~align_slope
(real, default:1.0
) Constant slope around equilibrium distance in meter. -
~align_min
(real, default:1.0
) Minimum alignment between CPS in meter in order to avoid over excitation. -
~wall_frict
(real, default:20.0
) Bounding area viscous friction coefficient in square meter per second. -
~wall_decay
(real, default:1.0
) Softness of wall as decay width in meter. -
~accel_time
(real, default:1.0
) Characteristic time needed by the CPS to reach the target velocity in seconds. -
~flocking/flock_vel
(real, default:0.5
) Target velocity of the flock in meter per second. -
~formation/formation
(string) The type of formation to create. Can be grid, ring, or line. -
~formation/form_vel
(real, default:0.5
) Maximum velocity during formation flight in meter per second. -
~formation/form_shape
(real, default:1.0
) Strength of the shape forming velocity component in formation flight. -
~formation/form_track
(real, default:1.0
) Strength of the tracking velocity component in formation flight. -
~formation/form_decay
(real, default:1.0
) Softness of shape in meter.
Code API
CHANGELOG
No CHANGELOG found.
Wiki Tutorials
See ROS Wiki Tutorials for more details.
Source Tutorials
Not currently indexed.
Package Dependencies
Deps | Name | |
---|---|---|
1 | catkin | |
2 | roscpp | |
3 | tf2 | |
2 | geometry_msgs | |
1 | cpswarm_msgs | |
1 | swarm_behaviors_position | |
1 | swarm_behaviors_velocity |
System Dependencies
No direct system dependencies.
Dependant Packages
Launch files
No launch files found
Messages
No message files found.
Services
No service files found
Plugins
No plugins found.
Recent questions tagged swarm_behaviors_flocking at answers.ros.org
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. 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 foxy. Known supported distros are highlighted in the buttons above.
No version for distro lunar. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.