Skip to content

Commit d405bce

Browse files
authored
Merge pull request #78 from ISSUIUC/commanding-merge-fix
Merge fix for commanding flight
2 parents c0bd92d + 9928bde commit d405bce

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

MIDAS/src/finite-state-machines/fsm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ FSMState FSM::tick_fsm(FSMState& state, StateEstimate state_estimate, CommandFla
167167

168168
case FSMState::STATE_BURNOUT:
169169
// if low acceleration is too brief than go on to the previous state
170-
if ((state_estimate.acceleration >= sustainer_coast_detection_acceleration_threshold) && ((current_time - burnout_time) < sustainer_first_boost_to_burnout_time_threshold)) {
170+
if ((state_estimate.acceleration >= sustainer_coast_detection_acceleration_threshold) && ((current_time - burnout_time) < sustainer_coast_time)) {
171171
state = FSMState::STATE_FIRST_BOOST;
172172
break;
173173
}

MIDAS/src/hardware/Orientation.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ Orientation OrientationSensor::read()
210210
if (initial_flag == 0)
211211
{
212212
initial_orientation = sensor_reading;
213-
initial_quaternion = quat;
214213
initial_flag = 1;
215214
}
216215

0 commit comments

Comments
 (0)