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

initial attempt at 2 ToFs #39

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

initial attempt at 2 ToFs #39

wants to merge 3 commits into from

Conversation

PaulaScharf
Copy link
Member

@PaulaScharf PaulaScharf commented Nov 26, 2024

I disconnected the already installed ToF from the sensor chain and connected it together with another ToF to a senseBox multiplexer-board.

I am not sure if its possible to know beforehand which ToF has which address on the multiplexer. I think it is independent of the connectors on the board.
Will investigate that a bit more, but otherwise we would need a hack for identifying which address is which ToF...

edit:
nvm, I guess I was confused. The address on the multiplexer does in fact depend on the connector

@PaulaScharf
Copy link
Member Author

the senseBox multiplexer is quite big. Adafruit sells a smaller one for example
image

@PaulaScharf
Copy link
Member Author

I tried to compare implementing the 2 ToFs solution both on the feather s3 and the sensebox s2. I did some speed tests with just the ToFs connected and nothing else. i got the following times:

feather s3:

  • run overtaking prediction on both sides: 124ms
  • overtaking prediction on one side and the other just distance: 81ms

sensebox s2:

  • run overtaking prediction on both sides: 165ms
  • overtaking prediction on one side and the other just distance: 98ms

In general the s3 takes 42ms for a single inference while the s2 takes 64ms

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.

1 participant