fix(interfaces): add missing student name

Add missing string: student_name to the Exam message
This commit is contained in:
2025-10-01 09:44:13 +02:00
parent f063cb9086
commit 7850793165
2 changed files with 2 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ void ExamResultGenerator::generate_random_result() {
// Publish exam result // Publish exam result
auto exam_msg = g2_2025_interfaces::msg::Exam(); auto exam_msg = g2_2025_interfaces::msg::Exam();
exam_msg.student_name = selected.student_name;
exam_msg.course_name = selected.course_name; exam_msg.course_name = selected.course_name;
exam_msg.result = grade; exam_msg.result = grade;

View File

@@ -1,3 +1,4 @@
string student_name
string course_name string course_name
int32 result int32 result
builtin_interfaces/Time timestamp builtin_interfaces/Time timestamp