You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: control/autoware_smart_mpc_trajectory_follower/autoware_smart_mpc_trajectory_follower/src/proxima_calc.cpp
+18-18
Original file line number
Diff line number
Diff line change
@@ -178,15 +178,15 @@ class transform_model_to_eigen
178
178
Eigen::VectorXd bias_linear_finalize_;
179
179
Eigen::MatrixXd A_linear_reg_;
180
180
Eigen::VectorXd b_linear_reg_;
181
-
int deg_;
182
-
int acc_delay_step_;
183
-
int steer_delay_step_;
184
-
int acc_ctrl_queue_size_;
185
-
int steer_ctrl_queue_size_;
186
-
int steer_ctrl_queue_size_core_;
187
-
double vel_normalize_;
188
-
double acc_normalize_;
189
-
double steer_normalize_;
181
+
int deg_{};
182
+
int acc_delay_step_{};
183
+
int steer_delay_step_{};
184
+
int acc_ctrl_queue_size_{};
185
+
int steer_ctrl_queue_size_{};
186
+
int steer_ctrl_queue_size_core_{};
187
+
double vel_normalize_{};
188
+
double acc_normalize_{};
189
+
double steer_normalize_{};
190
190
staticconstexprdouble max_acc_error_ = 20.0;
191
191
staticconstexprdouble max_steer_error_ = 20.0;
192
192
@@ -611,15 +611,15 @@ class transform_model_with_memory_to_eigen
Copy file name to clipboardexpand all lines: localization/autoware_pose2twist/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
# pose2twist
1
+
# autoware_pose2twist
2
2
3
3
## Purpose
4
4
5
-
This `pose2twist` calculates the velocity from the input pose history. In addition to the computed twist, this node outputs the linear-x and angular-z components as a float message to simplify debugging.
5
+
This `autoware_pose2twist` calculates the velocity from the input pose history. In addition to the computed twist, this node outputs the linear-x and angular-z components as a float message to simplify debugging.
6
6
7
7
The `twist.linear.x` is calculated as `sqrt(dx * dx + dy * dy + dz * dz) / dt`, and the values in the `y` and `z` fields are zero.
8
8
The `twist.angular` is calculated as `relative_rotation_vector / dt` for each field.
0 commit comments