Repository navigation
Add supervised iPhone 16 and UNO R4 cane demo - #2
Merged
Merged
Conversation
Separate hazard, unavailable, and manual route cues from a board-side link watchdog, and test that the camera path cannot invent an obstacle distance or a safe direction. Co-authored-by: pschmeln <pschmeln@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the first working slice of a supervised cane demo for a body-mounted standard iPhone 16 and an Arduino UNO R4 WiFi. Collaboration docs stay in place. The phone does not invent an obstacle distance or a safe direction. A human still merges this pull request.
The existing cane remains the mobility aid. This is not a field test for a blind traveler.
Implementation and simulation
sceneDepththat this build never enables, camera-step readout between consecutive normal frames, and an optional existing-plane hit shown only as context. The hazard claim stays "no claim". The route cue stays off.No metric obstacle distance, velocity, or time-to-contact is produced. No depth model is included. No random avoidance is included. The left/right control is a demo label, not a claim that the direction is clear.
Validation
make -C prototype testpassed on this machine. The tests cover assessment rules, CRC and packet admissibility, watchdog timing, and the separation of plane-hit context from actuator outputs.python3 scripts/check_workflow.py --externalpassed, including the official Apple and Arduino links indocs/PROTOTYPE.md.Check workflow scaffoldingpassed on this pull request. That job runs the doc checker and the same host logic tests.Manual steps
prototype/ios/CaneDemo/CaneDemo.xcodeprojon the standard iPhone 16. Confirm the screen reports that scene depth is not supported.prototype/firmware/uno_r4_wifi/uno_r4_wifi.inoto an UNO R4 WiFi with ArduinoBLE. Wire four external drivers. Do not power actuators from GPIO. The datasheet limit is 8 mA per pin.Details, wiring, and the list of what is not implemented are in
docs/PROTOTYPE.md.