generated from wessel/boilerplate
fix(interfaces): add missing student name
Add missing string: student_name to the Exam message
This commit is contained in:
@@ -65,6 +65,7 @@ void ExamResultGenerator::generate_random_result() {
|
||||
|
||||
// Publish exam result
|
||||
auto exam_msg = g2_2025_interfaces::msg::Exam();
|
||||
exam_msg.student_name = selected.student_name;
|
||||
exam_msg.course_name = selected.course_name;
|
||||
exam_msg.result = grade;
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
string student_name
|
||||
string course_name
|
||||
int32 result
|
||||
builtin_interfaces/Time timestamp
|
||||
|
||||
Reference in New Issue
Block a user