Adding lidar sensor handling
This commit is contained in:
@@ -16,4 +16,4 @@ func _update_data():
|
||||
if sprite == null or label == null:
|
||||
return
|
||||
sprite.rotation = host_vehicle.pitch_rad
|
||||
label.text = str(round(rad_to_deg(host_vehicle.pitch_rad)*10)/10) + " \u00B0"
|
||||
label.text = str(int(rad_to_deg(host_vehicle.pitch_rad))) + " \u00B0"
|
||||
|
||||
Reference in New Issue
Block a user