Documentation/P600 UAV WikiEnglish · Allspark2
Browse documentation
Additional documentation

Launch a Custom Feature with One Click

1. Click System Settings . 2. Click Script Settings . 3. Click Add . 4. Enter the command that you want to run with one click from a button.

1 min read · English documentation
  1. Click System Settings.
  2. Click Script Settings.
  3. Click Add.
  4. Enter the command that you want to run with one click from a button.

1718785848474.jpg

  • Enter the information in step 4 above. For Run Command, you can directly enter a roslaunch command or the path to a script file (a .sh shell script). For other commands, refer to the following example:
# gnome-terminal -- command to run
# The command below closes all nodes except the main node and communication node.
gnome-terminal -- rosnode kill ‘rosnode list | grep -v /communication_bridge | grep -v /rosout’
  • Click the Generate button after Run Command. A corresponding button is created under Custom Demo in Debugging Help.
  • Use Send Method to start the feature on all UAVs, or click Delete to remove the button.

1718785925043.jpg