Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/vehicle_cmd_gate/src/vehicle_cmd_gate.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
fillFrameId |
|
2 |
6 |
31 |
2 |
getGateModeName |
|
3 |
11 |
51 |
1 |
VehicleCmdGate::VehicleCmdGate |
|
1 |
108 |
1163 |
1 |
VehicleCmdGate::isHeartbeatTimeout |
|
3 |
12 |
67 |
2 |
VehicleCmdGate::onAutoCtrlCmd |
|
2 |
8 |
43 |
1 |
VehicleCmdGate::onAutoTurnSignalCmd |
|
1 |
4 |
22 |
1 |
VehicleCmdGate::onAutoShiftCmd |
|
1 |
4 |
22 |
1 |
VehicleCmdGate::onRemoteCtrlCmd |
|
2 |
8 |
43 |
1 |
VehicleCmdGate::onRemoteTurnSignalCmd |
|
1 |
5 |
22 |
1 |
VehicleCmdGate::onRemoteShiftCmd |
|
1 |
4 |
22 |
1 |
VehicleCmdGate::onEmergencyCtrlCmd |
|
3 |
8 |
35 |
1 |
VehicleCmdGate::onEmergencyTurnSignalCmd |
|
1 |
5 |
22 |
1 |
VehicleCmdGate::onEmergencyShiftCmd |
|
1 |
5 |
22 |
1 |
VehicleCmdGate::onTimer |
|
12 |
65 |
367 |
0 |
VehicleCmdGate::publishControlCommands |
|
10 |
38 |
261 |
1 |
VehicleCmdGate::publishEmergencyStopControlCommands |
|
1 |
37 |
265 |
0 |
VehicleCmdGate::filterControlCommand |
|
1 |
13 |
85 |
1 |
VehicleCmdGate::createStopControlCmd |
|
1 |
9 |
46 |
0 |
VehicleCmdGate::createEmergencyStopControlCmd |
|
1 |
9 |
48 |
0 |
VehicleCmdGate::onEmergencyState |
|
3 |
9 |
78 |
1 |
VehicleCmdGate::onExternalEmergencyStopHeartbeat |
|
1 |
5 |
38 |
1 |
VehicleCmdGate::onGateMode |
|
2 |
10 |
61 |
1 |
VehicleCmdGate::onEngage |
|
1 |
4 |
21 |
1 |
VehicleCmdGate::onEngageService |
|
1 |
7 |
46 |
2 |
VehicleCmdGate::onSteering |
|
1 |
4 |
21 |
1 |
VehicleCmdGate::getDt |
|
2 |
11 |
70 |
0 |
VehicleCmdGate::onExternalEmergencyStopService |
|
3 |
18 |
147 |
3 |
VehicleCmdGate::onSetExternalEmergencyStopService |
|
1 |
10 |
74 |
3 |
VehicleCmdGate::onClearExternalEmergencyStopService |
|
3 |
20 |
117 |
3 |
VehicleCmdGate::checkExternalEmergencyStop |
|
3 |
17 |
88 |
1 |
VehicleCmdGate::StartRequest::StartRequest |
|
2 |
19 |
131 |
2 |
VehicleCmdGate::StartRequest::onCurrentTwist |
|
1 |
5 |
22 |
1 |
VehicleCmdGate::StartRequest::isAccepted |
|
2 |
4 |
15 |
0 |
VehicleCmdGate::StartRequest::publishStartAccepted |
|
2 |
10 |
48 |
0 |
VehicleCmdGate::StartRequest::checkStopped |
|
5 |
15 |
91 |
1 |
VehicleCmdGate::StartRequest::checkStartRequest |
|
6 |
26 |
167 |
1 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/vehicle_cmd_gate/src/vehicle_cmd_filter.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
VehicleCmdFilter::VehicleCmdFilter |
|
1 |
1 |
7 |
0 |
VehicleCmdFilter::limitLongitudinalWithVel |
|
1 |
5 |
38 |
1 |
VehicleCmdFilter::limitLongitudinalWithAcc |
|
1 |
6 |
61 |
2 |
VehicleCmdFilter::VehicleCmdFilter::limitLongitudinalWithJerk |
|
1 |
5 |
40 |
2 |
VehicleCmdFilter::limitLateralWithLatAcc |
|
3 |
10 |
94 |
2 |
VehicleCmdFilter::limitLateralWithLatJerk |
|
3 |
13 |
98 |
2 |
VehicleCmdFilter::calcSteerFromLatacc |
|
1 |
5 |
44 |
2 |
VehicleCmdFilter::calcLatAcc |
|
1 |
5 |
39 |
1 |
VehicleCmdFilter::limitDiff |
|
1 |
6 |
46 |
3 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/vehicle_cmd_gate/include/vehicle_cmd_gate/vehicle_cmd_filter.hpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
VehicleCmdFilter::setWheelBase |
|
1 |
1 |
11 |
1 |
VehicleCmdFilter::setVelLim |
|
1 |
1 |
11 |
1 |
VehicleCmdFilter::setLonAccLim |
|
1 |
1 |
11 |
1 |
VehicleCmdFilter::setLonJerkLim |
|
1 |
1 |
11 |
1 |
VehicleCmdFilter::setLatAccLim |
|
1 |
1 |
11 |
1 |
VehicleCmdFilter::setLatJerkLim |
|
1 |
1 |
11 |
1 |
VehicleCmdFilter::setPrevCmd |
|
1 |
1 |
17 |
1 |
Source file: /home/runner/work/autoware-iv-metrics-dashboard/autoware-iv-metrics-dashboard/ros_ws/src/src/tier4/autoware.iv/control/vehicle_cmd_gate/include/vehicle_cmd_gate/vehicle_cmd_gate.hpp |