What Can You Do with the SDK and the Apps

Overview

The Rogue Cortex platform gives you two ways to work with your robots: the SDK for programmatic control and the Apps for visual, no-code operation. Most teams use both — the apps for day-to-day operations and the SDK for custom automation.

This guide gives you a practical tour of what's possible with each.

Control Your Robot

With the SDK

Write code that directly commands your robot. Arm it, take off, move, and land — all from a few lines of C++.

auto& ctrl = vehicle->main_controller();
ctrl.Arm(true);
ctrl.Takeoff();
ctrl.SetVelocity({.vx = 2.0f, .vy = 0, .vz = 0, .yaw_rate = 0});
ctrl.Land();

You get synchronous calls for simple scripts and async variants (ArmAsync, TakeoffAsync, LandAsync) for non-blocking pipelines.

With the Apps

Use the Ground Control App to arm, take off, and fly manually via on-screen controls or a connected joystick. No code required — just tap and go.

Capture Photos and Video

With the SDK

Access the camera directly. Start a live stream, grab individual frames for processing, take photos, or record video — all while flying.

auto& cam = vehicle->camera();
cam.Start(5600);
cam.TakePhoto("/data/shot.jpg");
cam.StartRecording("/data/clip.mp4");

You can also route captures to the onboard computer for higher quality recording, or to both ground and onboard simultaneously.

With the Apps

The Ground Control App shows a live video feed and gives you buttons for photo, start/stop recording, and switching between ground and onboard capture. The Media Manager App lets you browse, preview, and export everything that was captured.

Build Autonomous Missions

With the SDK

Define mission logic as a function and assign it to a vehicle or an entire fleet. Your code runs in the SDK's update loop with full access to telemetry and control.

app.SetMission([](const std::vector<VehicleSharedPtr>& fleet) {
    for (auto& v : fleet) {
        v->main_controller().Takeoff();
        // custom waypoint logic, sensor checks, etc.
    }
});

app.StartMission();

This is where the SDK shines — you can implement any behavior you can think of, from simple survey patterns to adaptive algorithms that respond to sensor data in real time.

With the Apps

The Ground Control App provides a visual mission planner where you draw waypoints on a map, set altitudes and speeds, and launch the mission with a single tap. Great for standard operations that don't need custom logic.

Monitor Telemetry

With the SDK

Read position, orientation, velocity, and battery data at any time. Use callbacks to react to state changes like connection loss.

auto pose = vehicle->main_controller().GetPose();
auto telem = vehicle->GetTelemetry();

vehicle->main_controller().OnConnectionChanged([](bool connected) {
    if (!connected) {
        // handle failsafe
    }
});

The telemetry struct is also available as a plain-C type for FFI bridges, so you can feed data into Flutter, Python, or web dashboards.

With the Apps

The Ground Control App displays live telemetry overlays — altitude, speed, heading, battery, GPS status, and connection quality — updated in real time for every vehicle in your fleet.

Manage a Fleet

With the SDK

The Application class manages all vehicles. Get a single vehicle by ID or iterate over the entire fleet. Each vehicle is independent — you can run different missions on different robots simultaneously.

auto all = app.GetAllVehicles();
auto scout = app.GetVehicle(1);
auto carrier = app.GetVehicle(2);

With the Apps

The Ground Control App shows all connected vehicles on a single map view with individual telemetry panels. Switch between vehicles to control them individually, or launch a fleet-wide mission from one screen.

Control the Gimbal

With the SDK

Set the gimbal to a specific orientation or drive it with angular rates for smooth joystick-style control.

auto& gimbal = vehicle->gimbal();
gimbal.SetAttitude(pitch, yaw, roll);
gimbal.SetSpeed(pitch_rate, yaw_rate, roll_rate);

With the Apps

The Ground Control App maps gimbal control to a second joystick or on-screen slider, letting operators point the camera while flying.

Run Headless Services

This is SDK-only. Build daemons or background services that run on the robot's companion computer without any UI. Useful for:

  • Autonomous operations — The robot powers on, loads a config, and executes its mission
  • Edge processing — Run computer vision, object detection, or SLAM alongside the SDK
  • Data collection — Log telemetry, sensor data, and video to disk automatically
roguesdk::Application app;
app.Init("mission_config.yml");
app.Start();
app.Run(); // blocks until shutdown

Cross-Platform Integration

The SDK provides a plain-C FFI layer (telemetry.h, media_manager.h) that you can call from any language:

  • Flutter / Dart — Build custom mobile ground stations
  • Python — Prototype algorithms or run ML inference on telemetry
  • Web — Feed data into WebSocket-based dashboards

The apps themselves are built on these same bridges, proving the pattern works at production scale.

Summary

Capability SDK Apps
Direct robot control Yes Yes
Photo and video capture Yes Yes
Custom autonomous missions Yes Visual planner
Real-time telemetry Yes Yes
Fleet management Yes Yes
Gimbal control Yes Yes
Headless / daemon mode Yes —
Cross-platform FFI Yes —
No-code operation — Yes

Next Steps