Skip to content

How to write and test a script #22

@GregHsr

Description

@GregHsr

On my branch packages/action_sequencer :

Script are written in the folder Ros2_base_cdf/src/opossum_action_sequencer/opossum_action_sequencer/match
You can add actions in the main function run, they are defined in the node src/opossum_action_sequencer/opossum_action_sequencer/scripts/action_sequencer_node.py (at this moment only move_to is defined)

To run script1.py : run ros2 run opossum_action_sequencer action_sequencer_node.py and ros2 param set /ihm_node script_number 1 in another terminal.

Metadata

Metadata

Labels

ROSdocumentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions