fix(cleanup): remove unused param, fix formatting

remove unused parameter and fix formatting to be like the rest of the
project
This commit is contained in:
2025-10-01 15:53:37 +02:00
parent 1b0f04b8be
commit a7a51337be
2 changed files with 2 additions and 4 deletions

View File

@@ -24,8 +24,8 @@ FinalGradeDeterminator::FinalGradeDeterminator() : Node("final_grade_determinato
}
void FinalGradeDeterminator::exam_results_callback(const g2_2025_interfaces::msg::Exam::SharedPtr msg){
studentCourseCombo_.student_name = msg->student_name;
studentCourseCombo_.course_name = msg->course_name;
studentCourseCombo_.student_name = msg->student_name;
studentCourseCombo_.course_name = msg->course_name;
dataMap_[studentCourseCombo_].push_back(msg->result);
if (dataMap_[studentCourseCombo_].size() == static_cast<unsigned long>(grade_collection_ammount_))

View File

@@ -14,8 +14,6 @@
#include "database/DatabaseManager.hpp"
#include "database/StudentCourse.hpp"
#define PARAM 5
namespace assignments::one::final_grade_determinator {
class FinalGradeDeterminator : public rclcpp::Node {