usdot-fhwa-stol / carma-utils

Utility libraries for hardware drivers in the CARMA Platform
2 stars 5 forks source link

fix logging and increase resolution of sensors #209

Closed MishkaMN closed 9 months ago

MishkaMN commented 9 months ago

PR Details

Description

Fixed the syntax error that is breaking the call. Previously we were not getting the logs, because the function was silently failing at the start of the function. Now I am able to see the log and create the sensor:

WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API WARNING: Client API version = 784d9b9f WARNING: Simulator API version = 0.9.10 INFO:root:Starting sensorlib XML-RPC server. INFO:root:Received request to create sensor at [263.799988, 178.050003, 10.0] INFO:root:Updated sensor position to [263.799988, -178.050003, 10.0] CarlaCDASimAPI: Creating sensor in CARLA at sensor_position: Location(x=0.000000, y=0.000000, z=0.000000) Created a dummy lidar for visualization with id: 220


Starting sensorlib compute.


172.2.0.2 - - [08/Jan/2024 17:45:26] "POST /RPC2 HTTP/1.1" 200 - 172.2.0.2 - - [08/Jan/2024 17:45:26] "POST /RPC2 HTTP/1.1" 200 - 172.2.0.2 - - [08/Jan/2024 17:45:26] "POST /RPC2 HTTP/1.1" 200 - 172.2.0.2 - - [08/Jan/2024 17:45:26] "POST /RPC2 HTTP/1.1" 200 -

Another change here is to increase the resolution of the sensors to better detect objects

Related GitHub Issue

Apply fix intended here https://github.com/usdot-fhwa-stol/carma-utils/pull/207

Related Jira Key

Motivation and Context

How Has This Been Tested?

cdasim computer 1

Types of changes

Checklist:

sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud