Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

31 no vision percepts (chestboard disconnect? #88

Closed
Tracked by #29
h3ndrk opened this issue Feb 1, 2023 · 6 comments
Closed
Tracked by #29

31 no vision percepts (chestboard disconnect? #88

h3ndrk opened this issue Feb 1, 2023 · 6 comments
Labels
is:Bug This is a bug and should be prioritised.

Comments

@h3ndrk
Copy link
Member

h3ndrk commented Feb 1, 2023

HULK service was still running.

Log output from the NAO:

2023-02-01 17:00:00  communication::server::parameters::directory  DEBUG  Reading "etc/configuration/default.json"...
2023-02-01 17:00:00  communication::server::parameters::directory  DEBUG  Reading "etc/configuration/nao_location/default.json"...
2023-02-01 17:00:00  communication::server::parameters::directory  DEBUG  Reading "etc/configuration/body.P0000073A10S9A900008.json"...
2023-02-01 17:00:00  communication::server::parameters::directory  DEBUG  Reading "etc/configuration/head.P0000074A06S9A900006.json"...
2023-02-01 17:15:43  tungstenite::handshake::server  DEBUG  Server handshake done.
2023-02-01 17:16:38  tungstenite::protocol  DEBUG  Received close frame: None
2023-02-01 17:16:38  tungstenite::protocol  DEBUG  Replying to close with Frame { header: FrameHeader { is_final: true, rsv1: false, rsv2: false, rsv3: false, opcode: Control(Close), mask: None }, payload: [] }

   0: failed to execute cycle of cycler `SplNetwork`
   1: failed to execute cycle of node `MessageReceiver`
   2: failed to read from network
   3: termination requested

Location:
   crates/hulk/src/network.rs:64

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

   0: failed to execute cycle of cycler `VisionBottom`
   1: failed to execute cycle of node `ImageReceiver`
   2: failed to wait for device
   3: failed to reset
   4: failed to open
   5: failed to set focus_absolute to 0
   6: failed to set control
   7: EIO: I/O error

Location:
   crates/hulk/src/nao/camera.rs:91

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Cameras seem to exist, maybe the camera reconnection did not work correctly?

nao@tuhhnao31:~$ ls -al /dev/video
video-bottom           video-top              video0                 video2                 
video-bottom-metadata  video-top-metadata     video1                 video3
@h3ndrk h3ndrk mentioned this issue Feb 1, 2023
16 tasks
@oleflb
Copy link
Contributor

oleflb commented Feb 1, 2023

Had a similar error

Error: 
   0: failed to create hardware interface
   1: failed to initialize bottom camera
   2: failed to reset
   3: failed to open
   4: failed to set focus_absolute to 0
   5: failed to set control
   6: EIO: I/O error

Location:
   crates/hulk/src/nao/camera.rs:91

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

@h3ndrk
Copy link
Member Author

h3ndrk commented Feb 2, 2023

This is probably caused by the new nao_camera crate that got rewritten for Framework v2. Probably it should catch some errors and try to reconnect the camera instead of throwing an error to our framework.

Nevertheless we should check why this happens that often. I heard that even slight vibrations cause these errors. We should check whether a connector is loose or broken and whether we need to hand the NAO in for repair.

@h3ndrk h3ndrk added the is:Bug This is a bug and should be prioritised. label Mar 8, 2023
@oleflb oleflb closed this as completed Nov 8, 2023
@h3ndrk
Copy link
Member Author

h3ndrk commented Nov 8, 2023

How was this issue fixed?

@oleflb
Copy link
Contributor

oleflb commented Nov 8, 2023

This behavior was not observed anymore in Bordeaux/Leipzig or Rome

@h3ndrk
Copy link
Member Author

h3ndrk commented Nov 9, 2023

My intention back then was to keep this issue open to reevaluate the resetting of the cameras. 🤔

@oleflb oleflb reopened this Nov 12, 2023
@schluis schluis changed the title 31 no vision percepts (chestboard disconnect?) Automatically reset camera Dec 7, 2023
@schluis schluis changed the title Automatically reset camera 31 no vision percepts (chestboard disconnect? Dec 7, 2023
@schluis
Copy link
Contributor

schluis commented Apr 23, 2024

This seems to be resolved ;)

@schluis schluis closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:Bug This is a bug and should be prioritised.
Projects
Archived in project
Development

No branches or pull requests

3 participants