Skip to content

initial attempt at 2 ToFs - #39

Open
PaulaScharf wants to merge 3 commits into
mainfrom
try-2ToFs
Open

initial attempt at 2 ToFs#39
PaulaScharf wants to merge 3 commits into
mainfrom
try-2ToFs

Conversation

@PaulaScharf

@PaulaScharf PaulaScharf commented Nov 26, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

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

@PaulaScharf

Copy link
Copy Markdown
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