Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
1 result

rospy2_pkg

  • Clone with SSH
  • Clone with HTTPS
  • Vladislav Vlasuk's avatar
    Vladislav Vlasuk authored
    1b67b76c
    History

    ros2py

    Python-Modul für vereinfachte Knotenerstellung unter Python.

    Voraussetzung

    • ROS2
    • Python3

    Installation

    1. Ins ros2 workspace ins /src Verzeichnis navigieren
    2. Repository klonen (git clone ... .html)
    3. Repository aus dem Workspace-Hauptverzeichnis bauen 'colcon build'

    Beispiele

    Aus dem /src Verzeichnis aufrufen

    Publisher + Subscriber

        python3 ros2_pub.py     # Terminal 1 
    
        python3 ros2_sub.py     # Terminal 2

    Client + Server

        python3 ros2_service.py     # Terminal 1
    
        python3 ros2_client.py      # Terminal 2

    Fehler

    noch keine