We need a way of accessing the lidar from the rover. Implement a server that will read the lidar output and allow it to be accessed from the API. The endpoint should be GET /lidar/, and the output should be {angle: distance_to_object}.
1) See dummy_server.js and any *_server.js for examples of how to implement a server.
2) Add a lidar server that feeds random data to make sure it works
3) Connect the physical lidar to the server.
We need a way of accessing the lidar from the rover. Implement a server that will read the lidar output and allow it to be accessed from the API. The endpoint should be
GET /lidar/
, and the output should be{angle: distance_to_object}
.1) See
dummy_server.js
and any*_server.js
for examples of how to implement a server. 2) Add a lidar server that feeds random data to make sure it works 3) Connect the physical lidar to the server.Lidar documentation: scanse.io