Swarm In Blocks
  • ▶️introduction
    • Swarm in Blocks
    • What's new?
    • The Atena Team
  • ⚙️Installation
    • How to install Swarm in Blocks?
      • Virtual Machine
      • Native Installation
      • Network configuration
  • 💻Usability
    • Python API
      • Starting modes
      • Basic swarm operations
      • LED operations
      • Formations operations
      • Transformations operations
    • Web API
      • Homepage
      • Swarm Clover Blocks
      • Swarm Station
    • Launch modes
  • 📚Background theory
    • Overview
      • Swarm manipulation
      • ROS architecture
      • Clover adaptation
    • Systems
      • Formations
        • Alphabet
        • Formation 3D
      • Transformations
      • Collision Avoidance
      • LED Effects
      • Swarm Preview
      • First Person View (new)
  • 📖Cases
    • Examples
    • Show-off
  • 🚀Applications
    • Education
    • Commercial
  • 🔒CLOSURE
    • Conclusion
    • References
Powered by GitBook
On this page
  1. Usability
  2. Python API

Starting modes

PreviousPython APINextBasic swarm operations

Last updated 3 years ago

Function
Description

Starts the Planning Mode

Starts the Simulation Mode

Starts the Navigation Mode

Swarm.startPlanning()

  • Parameters:

    • None

  • Result: Sets the operation mode as Planning and opens the initial window.

Swarm.startSimulation(launch=False)

  • Parameters:

    • launch: bool, optional

      Set launch boolean to 'True' in order to allow running the simulation with the standard initial formation

The standard initial formations are:

  • Line for up to three drones;

  • Full square for four and more drones.

  • Result: Starts all the ROS necessary nodes, the Gazebo, Swarm Checker, and launches the simulation with the already defined params.

Swarm.startNavigation()

  • Parameters:

    • None

  • Result: Sets the operation mode as Navigation.

The modes are detailed in the section

💻
Swarm Preview
Launch modes
startPlanning
startSimulation
startNavigation