From 6e186aff7ac2e5700d32eade18a7c0049680a369 Mon Sep 17 00:00:00 2001 From: ShisatoYano Date: Tue, 18 Feb 2025 15:11:03 +0000 Subject: [PATCH] function to install is implemented --- doc/3_sensor_models/3_3_sensors.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/3_sensor_models/3_3_sensors.md b/doc/3_sensor_models/3_3_sensors.md index 5cc7f60..73a9293 100644 --- a/doc/3_sensor_models/3_3_sensors.md +++ b/doc/3_sensor_models/3_3_sensors.md @@ -22,4 +22,16 @@ class Sensors: """ self.lidar = lidar +``` + +## 3.3.2 Installation +A function to install each sensors is implemented to compute the global position coordinate on the vehicle. It is computed only when the object of LiDAR class is given to the constructor. +```python + def install(self, state): + """ + Function to calculate each sensor's installation position on vehicle + state: vehicle's state object + """ + + if self.lidar: self.lidar.install(state) ``` \ No newline at end of file