-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
constructor of sensor class is implemented
- Loading branch information
1 parent
0e58ec4
commit 6907f9b
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,25 @@ | ||
## 3.3 Sensors | ||
In this section, Sensors class is implemented for managing and processing data of each sensor models. This class can initialize, update and draw the data of each sensor models. | ||
In this section, Sensors class is implemented for managing and processing data of each sensor models. This class can initialize, update and draw the data of each sensor models. | ||
|
||
## 3.3.1 Constructor | ||
An object of [LiDAR class](/doc/3_sensor_models/3_2_lidar.md) is given to a constructor of this class as an argument. The argument is None as default and is stored as a member variable. | ||
```python | ||
""" | ||
sensors.py | ||
Author: Shisato Yano | ||
""" | ||
|
||
class Sensors: | ||
""" | ||
Each sensors logic class | ||
""" | ||
|
||
def __init__(self, lidar=None): | ||
""" | ||
Constructor | ||
lidar: lidar object | ||
""" | ||
|
||
self.lidar = lidar | ||
``` |