Skip to content

Add Limelight 3A proxy and dashboard view#215

Open
mxtmx wants to merge 2 commits intoacmerobotics:masterfrom
6165-MSET-Cuttlefish:limelightProxy
Open

Add Limelight 3A proxy and dashboard view#215
mxtmx wants to merge 2 commits intoacmerobotics:masterfrom
6165-MSET-Cuttlefish:limelightProxy

Conversation

@mxtmx
Copy link
Contributor

@mxtmx mxtmx commented Mar 8, 2026

Adds support for viewing and interacting with a Limelight 3A through the FTC Dashboard on the Control Hub.

  • Adds proxy servers on the Control Hub that forward the Limelight's MJPEG stream (:5800), web UI (:5801), WebSocket (:5805), and REST API (:5807) to the browser over Wi-Fi
  • Adds a Limelight view to the custom layout view picker that displays a live camera feed, real-time device stats (CPU, RAM, temperature), and a link to open the full Limelight web dashboard
  • Unrelated fix: Bumps minSdkVersion from 23 to 24 to satisfy FTC SDK v11's RobotCore AAR, which declares minSdkVersion 24 in its manifest and caused a manifest merger build failure after the SDK v10.3.0 → v11.0.0 upgrade
Screen.Recording.2026-03-07.at.3.56.57.PM.mov

Comment on lines +60 to +67
} else {
setAvailable(false);
setStatus(null);
}
} catch {
setAvailable(false);
setStatus(null);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could return early in the okay case and put the sets in finally

* the Limelight MJPEG feed on port 5800).
*/
class HttpForwarder extends NanoHTTPD {
private static final String TAG = "dashboard:HttpFwd";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this just use the main "FtcDashboard" tag? I'm not sure I see a reason to be this granular.

@rbrott
Copy link
Member

rbrott commented Mar 15, 2026

Unrelated fix: Bumps minSdkVersion from 23 to 24 to satisfy FTC SDK v11's RobotCore AAR, which declares minSdkVersion 24 in its manifest and caused a manifest merger build failure after the SDK v10.3.0 → v11.0.0 upgrade

What's the easiest way to reproduce this build error? I typically use ./gradlew assemble which seems to pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants