`rawLidar.lua`
> This Source Code Form is subject to the terms of the bCDDL, v. 1.1.
This Source Code Form is subject to the terms of the bCDDL, v. 1.1. If a copy of the bCDDL was not distributed with this file, You can obtain one at http://beamng.com/bCDDL-1.1.txt
Module variable: M
Hooks
onInitonRemoveonUpdate
Exported Functions
M.onInit(args)
Line 24
Public interface.
Returns: initData -- Send the setup data back to the system.
M.onRemove()
Line 89
This function is called once when the Raw LiDAR sensor is removed.
M.onUpdate(dt, depth1, depth2, depth3, depth4, annot1, annot2, annot3, annot4)
Line 94
This function is called in every frame, and contains the latest Raw LiDAR sensor readings.
Returns: M
Internal Functions
Show internal functions
onInit(args)(line 24)User callbacks. This function is called once when the Raw LiDAR sensor is first created.
onRemove()(line 89)This function is called once when the Raw LiDAR sensor is removed.
onUpdate(dt, depth1, depth2, depth3, depth4, annot1, annot2, annot3, annot4)(line 94)This function is called in every frame, and contains the latest Raw LiDAR sensor readings.