Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/vehicle_model/vehicle_model_bicycle_kinematics_no_delay.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
KinematicsBicycleModelNoDelay::KinematicsBicycleModelNoDelay |
|
1 |
7 |
33 |
2 |
KinematicsBicycleModelNoDelay::calculateDiscreteMatrix |
|
2 |
19 |
216 |
5 |
KinematicsBicycleModelNoDelay::calculateReferenceInput |
|
1 |
4 |
28 |
1 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/vehicle_model/vehicle_model_bicycle_kinematics.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
KinematicsBicycleModel::KinematicsBicycleModel |
|
1 |
8 |
42 |
3 |
KinematicsBicycleModel::calculateDiscreteMatrix |
|
4 |
27 |
325 |
5 |
KinematicsBicycleModel::calculateReferenceInput |
|
1 |
4 |
28 |
1 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/vehicle_model/vehicle_model_bicycle_dynamics.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
DynamicsBicycleModel::DynamicsBicycleModel |
|
1 |
15 |
119 |
7 |
DynamicsBicycleModel::calculateDiscreteMatrix |
|
1 |
33 |
472 |
5 |
DynamicsBicycleModel::calculateReferenceInput |
|
1 |
6 |
74 |
1 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/vehicle_model/vehicle_model_interface.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
VehicleModelInterface::VehicleModelInterface |
|
1 |
4 |
30 |
3 |
VehicleModelInterface::getDimX |
|
1 |
1 |
10 |
0 |
VehicleModelInterface::getDimU |
|
1 |
1 |
10 |
0 |
VehicleModelInterface::getDimY |
|
1 |
1 |
10 |
0 |
VehicleModelInterface::setVelocity |
|
1 |
1 |
15 |
1 |
VehicleModelInterface::setCurvature |
|
1 |
1 |
15 |
1 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/qp_solver/qp_solver_qpoases.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
QPSolverQpoasesHotstart::QPSolverQpoasesHotstart |
|
1 |
4 |
20 |
1 |
QPSolverQpoasesHotstart::solve |
|
8 |
56 |
443 |
8 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/qp_solver/qp_solver_osqp.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
QPSolverOSQP::QPSolverOSQP |
|
1 |
1 |
18 |
1 |
QPSolverOSQP::solve |
|
6 |
40 |
418 |
8 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/qp_solver/qp_solver_unconstr_fast.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
QPSolverEigenLeastSquareLLT::QPSolverEigenLeastSquareLLT |
|
1 |
1 |
7 |
0 |
QPSolverEigenLeastSquareLLT::solve |
|
2 |
11 |
97 |
8 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/interpolate.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
isIncrease |
|
3 |
9 |
62 |
1 |
isValidInput |
|
9 |
34 |
284 |
3 |
LinearInterpolate::interpolate |
|
9 |
37 |
304 |
4 |
LinearInterpolate::interpolate |
|
2 |
13 |
89 |
4 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/mpc_follower_core.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
update_param |
|
2 |
10 |
95 |
3 |
MPCFollower::MPCFollower |
|
6 |
85 |
796 |
1 |
MPCFollower::~MPCFollower |
|
1 |
5 |
23 |
0 |
MPCFollower::onTimer |
|
6 |
29 |
144 |
0 |
MPCFollower::checkData |
|
7 |
21 |
101 |
0 |
MPCFollower::calculateMPC |
|
7 |
116 |
1134 |
1 |
MPCFollower::resetPrevResult |
|
1 |
5 |
19 |
0 |
MPCFollower::getData |
|
6 |
42 |
338 |
2 |
MPCFollower::calcSteerPrediction |
|
2 |
13 |
93 |
0 |
MPCFollower::getSteerCmdSum |
|
6 |
30 |
264 |
3 |
MPCFollower::storeSteerCmd |
|
3 |
17 |
123 |
1 |
MPCFollower::resampleMPCTrajectoryByTime |
|
3 |
15 |
115 |
3 |
MPCFollower::getInitialState |
|
5 |
26 |
210 |
1 |
MPCFollower::updateStateForDelayCompensation |
|
4 |
34 |
275 |
3 |
MPCFollower::applyVelocityDynamicsFilter |
|
2 |
19 |
181 |
2 |
MPCFollower::generateMPCMatrix |
|
9 |
87 |
1000 |
1 |
MPCFollower::executeOptimization |
|
5 |
47 |
520 |
3 |
MPCFollower::addSteerWeightR |
|
5 |
36 |
433 |
1 |
MPCFollower::addSteerWeightF |
|
2 |
16 |
212 |
1 |
MPCFollower::getPredictionTime |
|
1 |
5 |
27 |
0 |
MPCFollower::isValid |
|
17 |
16 |
285 |
1 |
MPCFollower::onTrajectory |
|
12 |
71 |
563 |
1 |
MPCFollower::updateCurrentPose |
|
2 |
19 |
163 |
0 |
MPCFollower::onSteering |
|
1 |
4 |
20 |
1 |
MPCFollower::onVelocity |
|
1 |
4 |
19 |
1 |
MPCFollower::getStopControlCommand |
|
1 |
9 |
49 |
0 |
MPCFollower::getInitialControlCommand |
|
1 |
9 |
51 |
0 |
MPCFollower::isStoppedState |
|
4 |
16 |
97 |
0 |
MPCFollower::calcStopDistance |
|
6 |
27 |
253 |
1 |
MPCFollower::publishCtrlCmd |
|
1 |
13 |
91 |
1 |
MPCFollower::initTimer |
|
1 |
10 |
110 |
1 |
MPCFollower::declareMPCparameters |
|
1 |
39 |
317 |
0 |
MPCFollower::paramCallback |
|
3 |
63 |
426 |
1 |
MPCFollower::isValidTrajectory |
|
15 |
16 |
187 |
1 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/mpc_trajectory.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
MPCTrajectory::push_back |
|
1 |
13 |
102 |
8 |
MPCTrajectory::clear |
|
1 |
11 |
55 |
0 |
MPCTrajectory::size |
|
8 |
12 |
121 |
0 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/lowpass_filter.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
Butterworth2dFilter::Butterworth2dFilter |
|
1 |
4 |
19 |
2 |
Butterworth2dFilter::~Butterworth2dFilter |
|
1 |
1 |
7 |
0 |
Butterworth2dFilter::initialize |
|
1 |
15 |
126 |
2 |
Butterworth2dFilter::filter |
|
1 |
9 |
57 |
1 |
Butterworth2dFilter::filt_vector |
|
2 |
18 |
159 |
2 |
Butterworth2dFilter::filtfilt_vector |
|
2 |
11 |
126 |
2 |
Butterworth2dFilter::getCoefficients |
|
1 |
10 |
63 |
1 |
MoveAverageFilter::filt_vector |
|
6 |
26 |
201 |
2 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/src/mpc_utils.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
MPCUtils::getQuaternionFromYaw |
|
1 |
6 |
35 |
1 |
MPCUtils::convertEulerAngleToMonotonic |
|
3 |
10 |
88 |
1 |
MPCUtils::normalizeRadian |
|
3 |
6 |
52 |
1 |
MPCUtils::calcDist2d |
|
1 |
5 |
40 |
2 |
MPCUtils::calcDist2d |
|
1 |
5 |
36 |
2 |
MPCUtils::calcDist2d |
|
1 |
5 |
46 |
2 |
MPCUtils::calcSquaredDist2d |
|
1 |
7 |
55 |
2 |
MPCUtils::calcDist3d |
|
1 |
8 |
75 |
2 |
MPCUtils::calcLateralError |
|
1 |
9 |
95 |
2 |
MPCUtils::calcMPCTrajectoryArclength |
|
2 |
13 |
129 |
2 |
MPCUtils::resampleMPCTrajectoryByDistance |
|
5 |
33 |
278 |
3 |
MPCUtils::linearInterpMPCTrajectory |
|
12 |
33 |
279 |
4 |
MPCUtils::calcTrajectoryYawFromXY |
|
7 |
25 |
316 |
3 |
MPCUtils::calcTrajectoryCurvature |
|
2 |
10 |
53 |
3 |
MPCUtils::calcTrajectoryCurvature |
|
3 |
26 |
349 |
2 |
MPCUtils::convertToMPCTrajectory |
|
3 |
21 |
182 |
2 |
MPCUtils::convertToAutowareTrajectory |
|
3 |
18 |
162 |
2 |
MPCUtils::calcMPCTrajectoryTime |
|
3 |
20 |
209 |
1 |
MPCUtils::dynamicSmoothingVelocity |
|
2 |
22 |
259 |
5 |
MPCUtils::calcNearestIndex |
|
5 |
24 |
191 |
2 |
MPCUtils::calcNearestIndex |
|
5 |
25 |
232 |
2 |
MPCUtils::calcNearestPoseInterp |
|
9 |
58 |
642 |
7 |
MPCUtils::convertTrajToMarker |
|
3 |
50 |
501 |
8 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/vehicle_model/vehicle_model_bicycle_kinematics_no_delay.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/vehicle_model/vehicle_model_bicycle_kinematics.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/vehicle_model/vehicle_model_interface.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/vehicle_model/vehicle_model_bicycle_dynamics.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/qp_solver/qp_solver_osqp.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/qp_solver/qp_solver_interface.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/qp_solver/qp_solver_qpoases.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/qp_solver/qp_solver_unconstr_fast.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/mpc_trajectory.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/interpolate.hpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
LinearInterpolate::LinearInterpolate |
|
1 |
1 |
5 |
0 |
LinearInterpolate::~LinearInterpolate |
|
1 |
1 |
5 |
0 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/mpc_utils.hpp |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/mpc_follower_core.hpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
MPCFollower::isLowCurvature |
|
1 |
4 |
20 |
1 |
MPCFollower::getWeightLatError |
|
2 |
5 |
22 |
1 |
MPCFollower::getWeightHeadingError |
|
2 |
5 |
22 |
1 |
MPCFollower::getWeightHeadingErrorSqVel |
|
2 |
5 |
22 |
1 |
MPCFollower::getWeightSteerInput |
|
2 |
5 |
22 |
1 |
MPCFollower::getWeightSteerInputSqVel |
|
2 |
5 |
22 |
1 |
MPCFollower::getWeightLatJerk |
|
2 |
5 |
22 |
1 |
MPCFollower::getWeightSteerRate |
|
2 |
5 |
22 |
1 |
MPCFollower::getWeightSteerAcc |
|
2 |
5 |
22 |
1 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/mpc_follower/include/mpc_follower/lowpass_filter.hpp |