Added profiling type everywhere.
Change-Id: I8d63d1088931898f9666621e33eb5a3a5335fb83
diff --git a/frc971/actors/fridge_profile_lib.h b/frc971/actors/fridge_profile_lib.h
index ae816d8..a86881d 100644
--- a/frc971/actors/fridge_profile_lib.h
+++ b/frc971/actors/fridge_profile_lib.h
@@ -36,6 +36,7 @@
ProfileParams arm_parameters, bool top_grabbers,
bool front_grabbers, bool back_grabbers) {
auto new_fridge_goal = control_loops::fridge_queue.goal.MakeMessage();
+ new_fridge_goal->profiling_type = 0;
new_fridge_goal->max_velocity = elevator_parameters.velocity;
new_fridge_goal->max_acceleration = elevator_parameters.acceleration;
new_fridge_goal->height = height;
@@ -68,6 +69,7 @@
should_cancel = true;
LOG(INFO, "Canceling fridge movement\n");
auto new_fridge_goal = control_loops::fridge_queue.goal.MakeMessage();
+ new_fridge_goal->profiling_type = 0;
new_fridge_goal->max_velocity = elevator_parameters.velocity;
new_fridge_goal->max_acceleration = elevator_parameters.acceleration;
new_fridge_goal->height =
diff --git a/frc971/joystick_reader.cc b/frc971/joystick_reader.cc
index 8b6cf97..c16026d 100644
--- a/frc971/joystick_reader.cc
+++ b/frc971/joystick_reader.cc
@@ -334,6 +334,7 @@
auto new_fridge_goal = fridge_queue.goal.MakeMessage();
new_fridge_goal->max_velocity = elevator_params_.velocity;
new_fridge_goal->max_acceleration = elevator_params_.acceleration;
+ new_fridge_goal->profiling_type = 0;
new_fridge_goal->height = elevator_goal_;
new_fridge_goal->velocity = 0.0;
new_fridge_goal->max_angular_velocity = arm_params_.velocity;