Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Jul 26, 2023
1 parent bdd7dcf commit cba6d6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/v2i-hub/CARMAStreetsPlugin/src/CARMAStreetsPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ void CARMAStreetsPlugin::SubscribeSSMKafkaTopic(){

void CARMAStreetsPlugin::HandleSimulatedSensorDetectedMessage(simulation::SensorDetectedObject &msg, routeable_message &routeableMsg)
{
PLOG(logINFO) << "Produce sensor detected message in JSON format: " << msg.to_string() <<std::endl;
PLOG(logDEBUG) << "Produce sensor detected message in JSON format: " << msg.to_string() <<std::endl;
produce_kafka_msg( msg.to_string(), _transmitSimSensorDetectedObjTopic);
}

Expand Down
17 changes: 4 additions & 13 deletions src/v2i-hub/CDASimAdapter/scripts/send_sim_detected_object_udp.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,14 @@ def generate_sim_external_object():
"isSimulated": True
},
"payload": {
"sensor": {
"id": "SomeID",
"type": "SematicLidar",
"location": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"proj_string": "+proj=tmerc +lat_0=38.95197911150576 +lon_0=-77.14835128349988 +k=1 +x_0=0 +y_0=0 +datum=WGS84 +units=m +geoidgrids=egm96_15.gtx +vunits=m +no_defs"
},
"sensor_id": "sensor1",
"type": "Car",
"confidence": "0.7",
"objectId": "Object1",
"position": {
"x": 1.0,
"y": 2.5,
"z": 1.1
"x": 1.0,
"y": 2.5,
"z": 1.1
},
"positionCovariance" : [12,12,2, 34, 34, 55],
"velocity": {
Expand Down

0 comments on commit cba6d6b

Please sign in to comment.