PX4 Triggers#

This section walks you through how to create a trigger to automatically process PX4 ULog files.

Triggers allow you to run actions whenever new files are uploaded to your Roboto account.

Enable existing trigger#

During sign-up, you may have opted to automatically create a trigger in your account. If so, there’s no need to create a new one—just ensure it’s enabled.

  1. Go to your account’s triggers page: Triggers

  2. Look for a trigger named px4_ulog_ingestion_trigger. If it’s there, ensure the toggle button is switched to enabled (green).

PX4 Trigger Enabled

Create a trigger#

If your trigger list is empty or you don’t have one set up for PX4 logs, you can easily create a new one.

  1. Click the + Create button on the Triggers page.

PX4 Create Trigger Button
  1. Fill out the trigger creation form: give the trigger a name, leave Trigger Type on Event-Driven and Trigger On set to File Uploaded, then under Action select Action Hub to locate the ulog_ingestion action, and set Required Inputs to match your log file type, e.g. **/*.ulg. The optional Invoke For Each setting already defaults to dataset_file, so each uploaded log is processed individually.

PX4 Create Trigger Form
  1. Once the form is completed, click the Create Trigger button.

After creating the trigger, continue with the Get Started guide to begin working with PX4 ULog files.