Skip to content

Commit fd1d40e

Browse files
code refined
1 parent d50fdcb commit fd1d40e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/FusionEKF.cpp

+8-8
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ void FusionEKF::ProcessMeasurement(const MeasurementPackage &measurement_pack) {
108108
return;
109109
}
110110

111-
/**
112-
* Prediction
113-
*/
111+
/*******************************************************
112+
Prediction
113+
*******************************************************/
114114

115115
/**
116116
* TODO: Update the state transition matrix F according to the new elapsed time.
@@ -139,9 +139,9 @@ void FusionEKF::ProcessMeasurement(const MeasurementPackage &measurement_pack) {
139139

140140
ekf_.Predict();
141141

142-
/**
143-
* Update
144-
*/
142+
/**********************************************************
143+
Update
144+
**********************************************************/
145145

146146
/**
147147
* TODO:
@@ -164,6 +164,6 @@ void FusionEKF::ProcessMeasurement(const MeasurementPackage &measurement_pack) {
164164
}
165165

166166
// print the output
167-
cout << "x_ = " << ekf_.x_ << endl;
168-
cout << "P_ = " << ekf_.P_ << endl;
167+
cout << "New x_ = " << ekf_.x_ << endl;
168+
cout << "New P_ = " << ekf_.P_ << endl;
169169
}

0 commit comments

Comments
 (0)