MCPcopy Create free account

hub / github.com/Tinker-Twins/Self_Driving_Car_Trajectory_Tracking / functions

Functions60 in github.com/Tinker-Twins/Self_Driving_Car_Trajectory_Tracking

↓ 11 callersMethodadd_graph
(self, name, label="", window_size=10, x0=None, y0=None, linestyle='-', linewidth=1, marker=
Live_Plotter.py:134
↓ 9 callersMethodroll
(self, name, new_x, new_y)
Live_Plotter.py:146
↓ 7 callersMethodcreate_var
(self, var_name, value)
CUtils.py:5
↓ 6 callersFunctionsend_control_command
Send control command to CARLA client Args: client: The CARLA client object throttle: Throttle command for the sim car [0, 1]
Drive.py:177
↓ 5 callersFunctionstore_trajectory_plot
Store the Resulting Plot
Drive.py:207
↓ 5 callersMethodupdate
(self, name, new_x_vec, new_y_vec, new_colour='k')
Live_Plotter.py:84
↓ 4 callersFunctioncreate_controller_output_dir
(output_folder)
Drive.py:203
↓ 4 callersMethodget_crosstrack_error
(self, x, y, waypoints)
Controller.py:151
↓ 4 callersMethodplot_new_dynamic_figure
(self, title="", **kwargs)
Live_Plotter.py:252
↓ 4 callersMethodrescale
(self)
Live_Plotter.py:97
↓ 3 callersMethodget_lookahead_point_index
(self, x, y, waypoints, lookahead_dis)
Controller.py:125
↓ 3 callersMethodplot_figure
(self, fig)
Live_Plotter.py:214
↓ 2 callersMethodelapsed_seconds_since_lap
(self)
Drive.py:138
↓ 2 callersFunctionget_current_pose
Obtains current x,y,yaw pose from the client measurements Args: measurement: The CARLA client measurements (from read_data()) R
Drive.py:141
↓ 2 callersMethodget_distance
(self, x1, y1, x2, y2)
Controller.py:122
↓ 2 callersMethodget_heading_error
(self, waypoints, current_yaw)
Controller.py:142
↓ 2 callersMethodget_steering_direction
(self, v1, v2)
Controller.py:136
↓ 2 callersMethodrefresh
(self)
Live_Plotter.py:308
↓ 1 callersMethodcalculate_acceleration
(self, t, v, v_desired, steer_output)
Controller.py:171
↓ 1 callersMethodcalculate_steering
(self, t, x, y, yaw, waypoints, v)
Controller.py:192
↓ 1 callersFunctionexec_waypoint_nav_demo
Executes Waypoint Navigation
Drive.py:236
↓ 1 callersMethodget_alpha
(self, v1, v2, lookahead_dis)
Controller.py:132
↓ 1 callersMethodget_commands
(self)
Controller.py:94
↓ 1 callersMethodget_lookahead_dis
(self, v)
Controller.py:119
↓ 1 callersMethodget_predicted_vehicle_location
(self, x, y, steering_angle, yaw, v)
Controller.py:166
↓ 1 callersMethodget_shifted_coordinate
(self, x, y, yaw, length)
Controller.py:114
↓ 1 callersMethodhas_exceeded_lap_period
(self)
Drive.py:124
↓ 1 callersMethodinit_pygame
(self)
Live_Plotter.py:277
↓ 1 callersMethodlap
(self)
Drive.py:130
↓ 1 callersFunctionmain
Main function Args: -v, --verbose: print debug information --host: IP of the host server (default: localhost) -p, --
Drive.py:756
↓ 1 callersFunctionmake_carla_settings
Make a CarlaSettings Object with the Required Settings
Drive.py:87
↓ 1 callersMethodplot_new_dynamic_2d_figure
(self, title="", **kwargs)
Live_Plotter.py:259
↓ 1 callersMethodrefresh_figure
(self, fig)
Live_Plotter.py:266
↓ 1 callersMethodrescale
(self)
Live_Plotter.py:157
↓ 1 callersMethodset_axis_equal
(self)
Live_Plotter.py:37
↓ 1 callersMethodset_brake
(self, input_brake)
Controller.py:109
↓ 1 callersMethodset_invert_x_axis
(self)
Live_Plotter.py:31
↓ 1 callersMethodset_steer
(self, input_steer_in_rad)
Controller.py:102
↓ 1 callersMethodset_throttle
(self, input_throttle)
Controller.py:97
↓ 1 callersMethodupdate_controls
(self)
Controller.py:281
↓ 1 callersMethodupdate_desired_speed
(self)
Controller.py:74
↓ 1 callersMethodupdate_values
(self, x, y, yaw, speed, timestamp, frame, closest_distance)
Controller.py:63
↓ 1 callersMethodupdate_waypoints
(self, new_waypoints)
Controller.py:91
↓ 1 callersFunctionwrite_error_log
(cte_list, he_list)
Drive.py:222
↓ 1 callersFunctionwrite_latency_log
(latency_list)
Drive.py:229
↓ 1 callersFunctionwrite_trajectory_file
(x_list, y_list, v_list, t_list)
Drive.py:214
Method__init__
(self, figsize=(8,8), edgecolor="black", rect=[0.1, 0.1, 0.
Live_Plotter.py:13
Method__init__
(self, *args, **kwargs)
Live_Plotter.py:126
Method__init__
(self, tk_title=None, win_pos=[None,None])
Live_Plotter.py:180
Method__init__
(self, waypoints, lateral_controller, longitudinal_controller)
Controller.py:11
Method__init__
(self)
CUtils.py:2
Method__init__
(self, period)
Drive.py:115
Methodadd_graph
(self, name, label="", window_size=10, x0=None, y0=None, linestyle='-', linewidth=1, marker=
Live_Plotter.py:40
Functionget_start_pos
Obtains player start x,y, yaw pose from the scene Args: scene: The CARLA scene object Returns: (x, y, yaw) x: X positio
Drive.py:159
Methodplot_new_figure
(self)
Live_Plotter.py:244
Methodplot_surface
(self, surf)
Live_Plotter.py:288
Methodroll
(self, name, new_x, new_y)
Live_Plotter.py:67
Methodset_invert_y_axis
(self)
Live_Plotter.py:34
Methodtick
(self)
Drive.py:121
Methodticks_per_second
(self)
Drive.py:134