Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix copycat example source_uuid and station id management #157

Open
nbuffon opened this issue Oct 1, 2024 · 0 comments
Open

Fix copycat example source_uuid and station id management #157

nbuffon opened this issue Oct 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working Rust Rust code

Comments

@nbuffon
Copy link
Member

nbuffon commented Oct 1, 2024

  • The copycat example sends a copy using the same station_id as the message it received
  • The topic used to send copy messages is buit using the same component name each time, which does not allow to identify the originating component
jkch6473@yd-3957dy3 ~/d/v/o/its-client.sdk (rust_sdk)> mosquitto_pub -h test.mosquitto.org -p 1884 -u rw -P readwrite -t default/outQueue/v2x/cam/ora_car_testcon1/1/2/0/2/2/2/0/2/3/1/0/3/1/1/2/1/0/0/0 -m '{"type":"cam","origin":"self","version":"1.2.0","source_uuid":"ora_car_4044","timestamp":1618591358923,"message":{"protocol_version":2,"station_id":1077952580,"generation_delta_time":31571,"basic_container":{"station_type":5,"reference_position":{"latitude":486230934,"longitude":22419064,"altitude":10000},"confidence":{"position_confidence_ellipse":{"semi_major_confidence":0,"semi_minor_confidence":0,"semi_major_orientation":0},"altitude":1}},"high_frequency_container":{"heading":2375,"speed":137,"drive_direction":0,"vehicle_length":47,"vehicle_width":24,"longitudinal_acceleration":1,"lateral_acceleration":0,"vertical_acceleration":0,"yaw_rate":-27,"lane_position":0,"curvature":0,"confidence":{"heading":2,"speed":3,"vehicle_length":1,"vehicle_width":1,"longitudinal_acceleration":5,"yaw_rate":6,"lane_position":1,"curvature":7}},"low_frequency_container":{"vehicle_role":0,"exterior_lights":"00000000","path_history":[{"path_position":{},"path_delta_time":1}]}}}'
default/inQueue/v2x/cam/com_orange_its-client_10000/1/2/0/2/2/2/0/2/3/1/0/3/1/1/2/1/0/0/0 {"type":"cam","origin":"mec_application","version":"1.2.0","source_uuid":"com_orange_its-client_10000","timestamp":1727773879518,"message":{"protocol_version":2,"station_id":1077952580,"generation_delta_time":31571,"basic_container":{"station_type":5,"reference_position":{"latitude":486230934,"longitude":22419064,"altitude":10000},"confidence":{"position_confidence_ellipse":{"semi_major_confidence":0,"semi_minor_confidence":0,"semi_major_orientation":0},"altitude":1}},"high_frequency_container":{"heading":2375,"speed":137,"drive_direction":0,"vehicle_length":47,"vehicle_width":24,"curvature":0,"longitudinal_acceleration":1,"yaw_rate":-27,"lane_position":0,"lateral_acceleration":0,"vertical_acceleration":0,"confidence":{"heading":2,"speed":3,"vehicle_length":1,"yaw_rate":6,"longitudinal_acceleration":5,"curvature":7}},"low_frequency_container":{"vehicle_role":0,"exterior_lights":"00000000","path_history":[{"path_position":{},"path_delta_time":1}]}}}
@nbuffon nbuffon added bug Something isn't working Rust Rust code labels Oct 1, 2024
@nbuffon nbuffon self-assigned this Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Rust Rust code
Projects
Status: No status
Development

No branches or pull requests

1 participant