Repository navigation
Add display - #569
Add display#569
Conversation
nbuffon
left a comment
There was a problem hiding this comment.
I really wonder why theses "examples" are barely using libits, and mostly rewriting parsing and data manipulation functions.
What's the rational behind not using the messages' structures through Message to access the values they carry for example ?
908396d to
d73a6bc
Compare
b9515eb to
702389e
Compare
nbuffon
left a comment
There was a problem hiding this comment.
Sending a CAM did correctly add a point on the map
But CPM failed
JSON parse error on topic default/outQueue/v2x/cpm/car_002/1/2/0/2/2/2/0/3/0/2/2/2/2/1/3/1/3/3/3/3/1/1/3/3/2/2: data did not match any variant of untagged enum Message at line 1 column 618
I fixed the cpm example into the description, a bad copy/paste on my side :(. |
Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com>
Precise the minor versions of dependencies. Remove useless dev dependency. Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com>
Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com>
Add comments on Rust elements. Provide a coordinate / tile converter Factorize caracter conversion. Use a Result to manage the slashes. Use "quadkey" everywhere (no "quad_key"). Add position_confidence() to Mobile trait with default implementation. Implement position_confidence() in CAM, DENM, CPM, CAM113. Add confidence_mean() to PositionConfidenceEllipse (v2.x and v1.1.3). Declare the 3 examples. Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com>
Add a log parser, a mqtt client and a web server. Describe the database. Provide the configuration file. Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com>
Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com> rust: add debug logging to display server Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com>
Changes
Close #568
Close #369
Test
How to test
Select the date (DAY) 2026-07-22. You should see 1 CAM and 1 CPM with 1 PO (3 messages).
docker run -it --rm eclipse-mosquitto mosquitto_pub -h test.mosquitto.org -p 8886 -t default/outQueue/v2x/cam/car_002_fixdate/1/2/0/2/2/2/0/3/0/2/2/2/2/1/3/1/3/3/3/3/1/1/3/3/2/2 --tls-version tlsv1.2 --capath /etc/ssl/certs/ -m '{"message_type":"cam","origin":"self","version":"2.4.0","source_uuid":"car_002_fixdate","timestamp":1784727122142,"message":{"protocol_version":1,"station_id":666,"generation_delta_time":64291,"basic_container":{"station_type":5,"reference_position":{"latitude":436005000,"longitude":14501000,"position_confidence_ellipse":{"semi_major":10,"semi_minor":50,"semi_major_orientation":1},"altitude":{"value":14750,"confidence":1}}},"high_frequency_container":{"basic_vehicle_container_high_frequency":{"heading":{"value":1800,"confidence":2},"speed":{"value":144,"confidence":3},"drive_direction":0,"vehicle_length":{"value":40,"confidence":0},"vehicle_width":20,"longitudinal_acceleration":{"value":10,"confidence":2},"curvature":{"value":11,"confidence":4},"curvature_calculation_mode":0,"yaw_rate":{"value":562,"confidence":2}}}}}' docker run -it --rm eclipse-mosquitto mosquitto_pub -h test.mosquitto.org -p 8886 -t default/outQueue/v2x/cpm/car_002_fixdate/1/2/0/2/2/2/0/3/0/2/2/2/2/1/3/1/3/3/3/3/1/1/3/3/2/2 --tls-version tlsv1.2 --capath /etc/ssl/certs/ -m '{"message_type":"cpm","origin":"self","version":"2.1.1","source_uuid":"car_002_fixdate","timestamp":1784727122143,"message":{"protocol_version":1,"station_id":666,"management_container":{"station_type":15,"reference_time":711612002143,"reference_position":{"latitude":436005000,"longitude":14501000,"position_confidence_ellipse":{"semi_major":10,"semi_minor":50,"semi_major_orientation":1},"altitude":{"value":14750,"confidence":1}}},"perceived_object_container":[{"object_id":1,"measurement_delta_time":-525,"position":{"x_coordinate":{"value":500,"confidence":4096},"y_coordinate":{"value":-200,"confidence":4096}},"velocity":{"cartesian_velocity":{"x_velocity":{"value":0,"confidence":127},"y_velocity":{"value":0,"confidence":127}}},"object_perception_quality":0}],"originating_rsu_container":[]}}'NB: if a huge traffic is on the broker, you may retry to be served.
Select the date (TODAY) , e.g 2026 09 9.
Refresh the map - you should now see 2 CAMs and 2 CPMs with 1 PO at different locations (6 messages).