Repository navigation
2.21.0: lewei:// slots for toy drones with a Lewei camera (#262) - #267
Conversation
H.264 over TCP port 7060, with the one byte the camera inverts in each frame of stream type 1 restored. Only video is asked for: no flight commands.
PR Summary by QodoAdd lewei:// video slots for Lewei toy drones
AI Description
Diagram
High-Level Assessment
Files changed (12)
|
Code Review by Qodo
1.
|
…shows buffering (Qodo on #267)
|
Fixed in ab8ed71:
Full build, 395 unit tests and lint pass in the CI image. |
|
/review |
|
Code review by qodo was updated up to the latest commit ab8ed71 |
|
Fixed in 8a64898: |
|
/review |
|
Code review by qodo was updated up to the latest commit 8a64898 |
|
/review |
|
Fixed in dee9922, with unit tests, lint and the debug build passing in the container (395 tests).
|
|
/review |
…ays Lewei works (Qodo on #267)
|
Fixed in e4cf651, with unit tests, lint and the debug build passing in the container (396 tests).
|
|
/review |
|
The toy is never told to stop its video: correct, the stop command is not reached today, and the toy learns of the end from the TCP close. Left as it is for this release, on purpose: that is the behaviour checked on a real VISUO drone. Sending it from a later point could reach the toy after a new session has started, and that can't be checked without the toy. It stays open as a follow-up. |
Refs #262 (stays open until the reporter has tried it on the toy).
lewei://192.168.0.1is for the VISUO drone of #262 (vendor app WiFi UFO). The protocol comes from a PCAPdroid capture of the vendor app; pylwdrone (Apache-2.0), used as a description only, names the fields.Lewei.java: URL, a message reader that resynchronises after damage, one session (start, a heartbeat every second, stop, a new session after 5 s without video).Checked by replaying the 184 frames of the capture from a fake toy on the development machine, not on a real toy:
OMX.google.h264.decoderfails withDecoder failed: -2; the cause is not found yet, and it is not known whether other H.264 streams fail there too.Version 2.21.0. Both this and #266 move versionCode to 51: whichever merges second takes the next number.