TeamSunergy / chase-ui

2 stars 1 forks source link

Setup SSH data retrieval #14

Open matthew-ia opened 6 years ago

matthew-ia commented 6 years ago

This will be necessary for track races. We will have canpi connected to a wireless hotspot, and the ChaseUI laptop also connected to internet. ChaseUI will ssh into the pi, and sftp a data log file. The updates will be less frequent than the normal socket method, but it's the best method I can think of without the AP's being in range.

I found an ssh/sftp node module that we can use; it seems like it'll work pretty well and isn't too complex.

stevesoaress commented 6 years ago

If the two computers are on the same local network, a connection to the internet is not needed.

matthew-ia commented 6 years ago

@stevesoaress This is solely for FSGP, the track race, during which we are not likely to have connection between the track and car via the local network. We were thinking about getting routers to place around the track to extend the connection, but I decided (with Cristian & Andrew's input) to go this route instead because:

We will still use the local network connection for ASC, the road race.


Here's a map for reference of the distance between the balcony and the track (this shoes 129 ft. and the shortest distance I could measure is still about 112 ft).

mph-map-distance