Run your first action (UI)#

This guide shows how to invoke a Roboto Action on files in a dataset. In this example, we will run the YOLOv8 object detection algorithm on image frames in a rosbag, using a publicly available action from the Roboto Action Hub.

We will be using sample data from nuScenes by Motional, a well-known collection of autonomous driving imagery. While this example involves object detection, Roboto Actions are highly versatile and can be used to automate any type of data transformation, processing, or analysis workflow, tailored to your specific needs.

Preparation#

Create a dataset#

  1. After logging in, you can create a dataset using the + icon in the top navigation bar.

Create a dataset
  1. Once created, download this sample bag (nuscenes-tiny.bag) and upload it to your dataset.

  2. After uploading the file, Roboto will automatically trigger the ingestion process. A blue spinner next to the Actions tab indicates that ingestion is in progress. This may take a few seconds to appear if Roboto is under heavy load.

Note

If you don’t see the spinner appear, you may not have a ROS ingestion trigger configured in your account. Follow the steps at ROS Triggers to add one.

Log ingesting
  1. Once the file has been ingested, you can click the blue chevron next to the file to view its metadata and topics. For the nuscenes-tiny.bag there is just a single image topic called /cam_front/raw.

Log ingesting

Run an action#

  1. Proceed to the Action Hub using the left navigation menu. A compilation of accessible actions will be displayed. Apply the ROS1 filter and click the run_yolov8_rosbag action:

Action Hub selection
  1. An overview of the action, inclusive of its applicable parameters, will be presented. A GitHub link is also provided for direct access to the action’s source code.

Action Details

Run the action by clicking the Invoke button, located on the side of the page, leading you to the invocation form.

  1. In the Dataset field, choose the example dataset you created previously, and input *.bag into the Input Data field.

Invoking the Action
  1. Now click the Invoke button at the bottom of the page to run the action. The action will be initiated on the dataset and eventually move to the Completed state if successful.

Invoking the Action

Review the results#

  1. Navigate back to the dataset you created. You will notice that a new nuscenes-tiny directory was created next to the original bag file.

Invoking the Action

Inside it, you can find the following files:

  • cam_front_raw/video.mp4: video showing the YOLOv8 detections.

  • cam_front_raw/imgs/*.jpg: image frames extracted from the /cam_front/raw topic.

  • cam_front_raw/imgs/detections.json: file containing the detections in JSON format.

  1. When you navigate to the imgs directory, you can visualize the bounding box detections directly on the images by clicking on the image icon next to the search bar.

Detections generated from action

Conclusion#

And that’s it! We’ve successfully invoked a Roboto Action on a rosbag file, running the YOLOv8 object detection algorithm and generating detections on the image frames.

From here, you can further inspect the detection results, visualize objects identified in each frame, or use this workflow as a template to run other actions on different datasets. Roboto Actions make it easy to automate and scale data processing—ready to fit whatever your project needs.

See the next user guide to learn how to run actions using the CLI.