Source file: obstacle_stop_planner_refine/include/obstacle_stop_planner/node.hpp |
Source file: obstacle_stop_planner_refine/src/adaptive_cruise_control.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
convertPointRosToBoost |
|
1 |
5 |
29 |
1 |
rpyFromQuat |
|
1 |
12 |
89 |
1 |
getPolygon |
|
1 |
22 |
281 |
5 |
getDistanceFromTwoPoint |
|
1 |
8 |
62 |
2 |
normalizeRadian |
|
3 |
11 |
112 |
3 |
sign |
|
3 |
10 |
44 |
1 |
motion_planning::AdaptiveCruiseController::AdaptiveCruiseController |
|
1 |
60 |
585 |
5 |
motion_planning::AdaptiveCruiseController::insertAdaptiveCruiseVelocity |
|
9 |
60 |
369 |
9 |
motion_planning::AdaptiveCruiseController::calcDistanceToNearestPointOnPath |
|
5 |
43 |
384 |
6 |
motion_planning::AdaptiveCruiseController::calcTrajYaw |
|
1 |
5 |
38 |
2 |
motion_planning::AdaptiveCruiseController::estimatePointVelocityFromObject |
|
4 |
32 |
225 |
4 |
motion_planning::AdaptiveCruiseController::estimatePointVelocityFromPcl |
|
6 |
39 |
285 |
4 |
motion_planning::AdaptiveCruiseController::estimateRoughPointVelocity |
|
2 |
8 |
49 |
1 |
motion_planning::AdaptiveCruiseController::calcUpperVelocity |
|
3 |
25 |
189 |
3 |
motion_planning::AdaptiveCruiseController::calcThreshDistToForwardObstacle |
|
1 |
15 |
139 |
2 |
motion_planning::AdaptiveCruiseController::calcBaseDistToForwardObstacle |
|
1 |
14 |
119 |
2 |
motion_planning::AdaptiveCruiseController::calcTargetVelocity_P |
|
2 |
12 |
55 |
2 |
motion_planning::AdaptiveCruiseController::calcTargetVelocity_I |
|
1 |
5 |
19 |
2 |
motion_planning::AdaptiveCruiseController::calcTargetVelocity_D |
|
5 |
20 |
160 |
2 |
motion_planning::AdaptiveCruiseController::calcTargetVelocityByPID |
|
1 |
16 |
155 |
3 |
motion_planning::AdaptiveCruiseController::insertMaxVelocityToPath |
|
9 |
45 |
393 |
5 |
motion_planning::AdaptiveCruiseController::registerQueToVelocity |
|
4 |
21 |
155 |
2 |
motion_planning::AdaptiveCruiseController::getMedianVel |
|
4 |
27 |
254 |
1 |
motion_planning::AdaptiveCruiseController::lowpass_filter |
|
1 |
5 |
33 |
3 |
Source file: obstacle_stop_planner_refine/src/debug_marker.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
motion_planning::ObstacleStopPlannerDebugNode::ObstacleStopPlannerDebugNode |
|
1 |
9 |
62 |
2 |
motion_planning::ObstacleStopPlannerDebugNode::pushPolygon |
|
2 |
11 |
81 |
3 |
motion_planning::ObstacleStopPlannerDebugNode::pushPolygon |
|
9 |
20 |
138 |
2 |
motion_planning::ObstacleStopPlannerDebugNode::pushPose |
|
4 |
18 |
103 |
2 |
motion_planning::ObstacleStopPlannerDebugNode::pushObstaclePoint |
|
3 |
14 |
79 |
2 |
motion_planning::ObstacleStopPlannerDebugNode::pushObstaclePoint |
|
1 |
9 |
57 |
2 |
motion_planning::ObstacleStopPlannerDebugNode::publish |
|
1 |
16 |
81 |
0 |
motion_planning::ObstacleStopPlannerDebugNode::makeVisualizationMarker |
|
27 |
441 |
4448 |
0 |
motion_planning::ObstacleStopPlannerDebugNode::makeStopReasonArray |
|
3 |
20 |
123 |
0 |
Source file: obstacle_stop_planner_refine/src/node.cpp |
Function name | |
Cyclomatic complexity
(20)
| LOC (200) |
Token count
| Parameter count (6) |
getYawFromGeometryMsgsQuaternion |
|
1 |
7 |
61 |
1 |
jsonDumpsPose |
|
1 |
10 |
96 |
1 |
makeStopReasonDiag |
|
1 |
13 |
84 |
2 |
motion_planning::ObstacleStopPlannerNode::ObstacleStopPlannerNode |
|
1 |
55 |
523 |
0 |
motion_planning::ObstacleStopPlannerNode::obstaclePointcloudCallback |
|
2 |
19 |
207 |
1 |
motion_planning::ObstacleStopPlannerNode::pathCallback |
|
37 |
234 |
1813 |
1 |
motion_planning::ObstacleStopPlannerNode::externalExpandStopRangeCallback |
|
1 |
7 |
45 |
1 |
motion_planning::ObstacleStopPlannerNode::insertStopPoint |
|
2 |
17 |
201 |
4 |
motion_planning::ObstacleStopPlannerNode::searchInsertPoint |
|
5 |
22 |
170 |
4 |
motion_planning::ObstacleStopPlannerNode::createTargetPoint |
|
3 |
30 |
282 |
5 |
motion_planning::ObstacleStopPlannerNode::createSlowDownStartPoint |
|
4 |
35 |
319 |
6 |
motion_planning::ObstacleStopPlannerNode::insertSlowDownStartPoint |
|
2 |
21 |
178 |
3 |
motion_planning::ObstacleStopPlannerNode::insertSlowDownVelocity |
|
5 |
26 |
266 |
4 |
motion_planning::ObstacleStopPlannerNode::calcSlowDownTargetVel |
|
1 |
6 |
36 |
1 |
motion_planning::ObstacleStopPlannerNode::dynamicObjectCallback |
|
1 |
5 |
20 |
1 |
motion_planning::ObstacleStopPlannerNode::currentVelocityCallback |
|
1 |
5 |
20 |
1 |
motion_planning::ObstacleStopPlannerNode::decimateTrajectory |
|
1 |
7 |
49 |
3 |
motion_planning::ObstacleStopPlannerNode::getExtendTrajectoryPoint |
|
1 |
19 |
139 |
2 |
motion_planning::ObstacleStopPlannerNode::extendTrajectory |
|
2 |
18 |
116 |
3 |
motion_planning::ObstacleStopPlannerNode::decimateTrajectory |
|
4 |
43 |
456 |
4 |
motion_planning::ObstacleStopPlannerNode::trimTrajectoryWithIndexFromSelfPose |
|
5 |
25 |
219 |
4 |
motion_planning::ObstacleStopPlannerNode::trimTrajectoryFromSelfPose |
|
1 |
9 |
46 |
3 |
motion_planning::ObstacleStopPlannerNode::searchPointcloudNearTrajectory |
|
4 |
17 |
149 |
4 |
motion_planning::ObstacleStopPlannerNode::createOneStepPolygon |
|
1 |
61 |
734 |
4 |
motion_planning::ObstacleStopPlannerNode::convexHull |
|
4 |
28 |
290 |
2 |
motion_planning::ObstacleStopPlannerNode::getSelfPose |
|
2 |
22 |
182 |
3 |
motion_planning::ObstacleStopPlannerNode::getBackwardPointFromBasePoint |
|
1 |
9 |
68 |
5 |
motion_planning::ObstacleStopPlannerNode::getNearestPoint |
|
4 |
22 |
195 |
4 |
motion_planning::ObstacleStopPlannerNode::getLateralNearestPoint |
|
3 |
21 |
201 |
4 |
motion_planning::ObstacleStopPlannerNode::getVehicleCenterFromBase |
|
1 |
13 |
114 |
1 |