/ros2_py_trigger

Publishes state of a pin with certain period.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

            .                         
            |       o                 
;-. . .     |-  ;-. . ,-: ,-: ,-. ;-. 
| | | |     |   |   | | | | | |-' |   
|-' `-|     `-' '   ' `-| `-| `-' '   
'   `-' ---           `-' `-'         

A ros2 module to publish the state of a pin.

Setup

The pin, the topic and the polling time an be configured with the following parameters:

    trigger_pin (default: 'D4')
    trigger_topic (default: 'trigger')       
    polling_time (default: 0.5)

Dependencies

  • Adafruit Blinka
  • CiruitPython

Supported Boards

Tested on jetson nano, but should work on all boards supported by Blinka + ROS2.