Zum Artikel springen
Filme für Kinder und Jugendliche
g a
BJF-Clubfilmothek

Jav [new] - Sky-266

// Register a camera callback Camera cam = sky.getSensors().camera(); cam.setOnImage(img -> // Process image on the ground via a REST endpoint HttpClient.newHttpClient() .sendAsync(HttpRequest.newBuilder() .uri(URI.create("https://api.myserver.com/analyze")) .POST(HttpRequest.BodyPublishers.ofByteArray(img.getBytes())) .build(), HttpResponse.BodyHandlers.discarding()) .thenAccept(r -> System.out.println("Image processed, status " + r.statusCode())); );

// Upload a single waypoint at 150 m altitude Waypoint wp = new Waypoint(48.8584, 2.2945, 150.0); // Eiffel Tower sky.getNav().setRoute(Collections.singletonList(wp)); sky-266 jav

The UAV autonomously flies to the Eiffel Tower, hovers at 150 m, streams each frame to the cloud for analysis, and returns home on command or when the battery drops below 20 %. 5. Development Workflow | Phase | Tools | Description | |-------|-------|-------------| | Prototype | IntelliJ IDEA / Eclipse, Maven/Gradle | Write Java modules, run unit tests with JUnit 5, mock sensor data using sky266-mock . | | Simulation | Gazebo + sky266-sim plugin, Docker | Deploy the same JAR inside a simulated UAV; verify flight dynamics without hardware. | | Hardware‑In‑Loop (HIL) | Remote‑Desktop to OBC, sky266-cli | Upload compiled JAR to the OBC, run under RT‑Java, view live telemetry on a web dashboard. | | Continuous Integration | GitHub Actions, SonarQube, Docker registry | Build, test, and push container images automatically on each PR. | | Deployment | OTA update via sky266-updater | Over‑the‑air (OTA) Java bytecode updates; rollback is a single click. | // Register a camera callback Camera cam = sky

Whether you are a researcher building a new sensor suite, an agritech startup looking for rapid prototyping, or a university classroom teaching autonomous systems, Sky‑266 JAV offers a single language, single ecosystem to take ideas from the IDE straight to the sky. | | Simulation | Gazebo + sky266-sim plugin,

public class HoverCaptureMission public static void main(String[] args) throws Exception // Initialise the SDK Sky266 sky = Sky266.connect("192.168.1.10"); // OBC IP sky.getSafety().enableFailsafe(true);

Gefördert vom:

Bundesministerium für Bildung, Familie, Senioren, Frauen und Jugend

Im Rahmen des:

Kinder- und Jugendplan des Bundes

Weitere Förderer:

Logo: Stiftung Deutsche Jugendmarke e.V.