Skip to content

Commit

Permalink
Create sensors.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 15, 2024
1 parent b42b196 commit be79ea7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions advanced_ai_pilot/pilot.modules/sensors.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
class Sensors {
constructor() {
this.type = 'lidar';
this.range = 100;
}

async init() {
// Initialize the sensor system
}

async read() {
// Read the sensor data
const sensorData = [];
//...
return sensorData;
}
}

export default Sensors;

0 comments on commit be79ea7

Please sign in to comment.