├── APF_carla_1road_bound_dynamic_obstacle.py ├── APF_grid_01road_bound_dynamic_obstacle.py ├── APF_grid_02traffic_light_dynamic_obstacle.py ├── APF_grid_03circle_bound_dynamic_obstacle.py ├── APF_road.pdf ├── APF_traffic.pdf ├── APF_vehicle.pdf ├── LICENSE ├── README.md ├── carla_1lane_following.py ├── carla_1lane_following_LTI.py ├── carla_2obstacle_avoidance.py ├── carla_road_bound_dynamic_obstacle.py ├── carla_system_identification.py ├── grid_1lane_following.py ├── grid_2static_obstacle.py ├── grid_3dynamic_obstacle.py ├── grid_4carparking.py ├── grid_5carfollowing.py ├── matrix_A.npy ├── matrix_B.npy ├── official ├── __pycache__ │ ├── basic_agent.cpython-38.pyc │ ├── behavior_agent.cpython-38.pyc │ ├── behavior_types.cpython-38.pyc │ ├── controller.cpython-38.pyc │ ├── global_route_planner.cpython-38.pyc │ ├── local_planner.cpython-38.pyc │ └── misc.cpython-38.pyc ├── basic_agent.py ├── behavior_agent.py ├── behavior_types.py ├── client_bounding_boxes.py ├── config.py ├── controller.py ├── global_route_planner.py ├── local_planner.py ├── misc.py └── spawn_npc.py ├── requirements.txt ├── result ├── 20230228 │ ├── ACC │ │ └── draw_result.py │ ├── Crossroad │ │ └── draw_result.py │ └── Roundabout │ │ └── general │ │ └── draw_result.py └── draw_result.py ├── scripts ├── __pycache__ │ ├── env.cpython-38.pyc │ ├── lti_v2x.cpython-38.pyc │ ├── others_agent.cpython-38.pyc │ ├── vehicle_following.cpython-38.pyc │ ├── vehicle_obs.cpython-38.pyc │ ├── vehicle_road_obs.cpython-38.pyc │ ├── vehicle_update_obs.cpython-38.pyc │ ├── vehicle_v2x.cpython-38.pyc │ ├── vehicle_v2x_obs.cpython-38.pyc │ ├── vehicle_v2x_obs_rtfl.cpython-38.pyc │ ├── x_agent.cpython-38.pyc │ ├── x_agent_carla.cpython-38.pyc │ └── x_v2x_agent.cpython-38.pyc ├── env.py ├── others_agent.py ├── vehicle_obs.py ├── vehicle_v2x_obs.py ├── x_agent.py └── x_v2x_agent.py ├── test ├── test_birdeye_view.py ├── test_draw_point.py ├── test_get_waypoint.py ├── test_plot_APF.py └── test_round_senario.py └── utils ├── __pycache__ ├── carla_utils.cpython-38.pyc ├── display_carla.cpython-38.pyc ├── draw.cpython-38.pyc ├── draw_result.cpython-38.pyc └── interpolate.cpython-38.pyc ├── carla_utils.py ├── draw.py ├── draw_result.py └── interpolate.py /APF_carla_1road_bound_dynamic_obstacle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/APF_carla_1road_bound_dynamic_obstacle.py -------------------------------------------------------------------------------- /APF_grid_01road_bound_dynamic_obstacle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/APF_grid_01road_bound_dynamic_obstacle.py -------------------------------------------------------------------------------- /APF_grid_02traffic_light_dynamic_obstacle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/APF_grid_02traffic_light_dynamic_obstacle.py -------------------------------------------------------------------------------- /APF_grid_03circle_bound_dynamic_obstacle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/APF_grid_03circle_bound_dynamic_obstacle.py -------------------------------------------------------------------------------- /APF_road.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/APF_road.pdf -------------------------------------------------------------------------------- /APF_traffic.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/APF_traffic.pdf -------------------------------------------------------------------------------- /APF_vehicle.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/APF_vehicle.pdf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/README.md -------------------------------------------------------------------------------- /carla_1lane_following.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/carla_1lane_following.py -------------------------------------------------------------------------------- /carla_1lane_following_LTI.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/carla_1lane_following_LTI.py -------------------------------------------------------------------------------- /carla_2obstacle_avoidance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/carla_2obstacle_avoidance.py -------------------------------------------------------------------------------- /carla_road_bound_dynamic_obstacle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/carla_road_bound_dynamic_obstacle.py -------------------------------------------------------------------------------- /carla_system_identification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/carla_system_identification.py -------------------------------------------------------------------------------- /grid_1lane_following.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/grid_1lane_following.py -------------------------------------------------------------------------------- /grid_2static_obstacle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/grid_2static_obstacle.py -------------------------------------------------------------------------------- /grid_3dynamic_obstacle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/grid_3dynamic_obstacle.py -------------------------------------------------------------------------------- /grid_4carparking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/grid_4carparking.py -------------------------------------------------------------------------------- /grid_5carfollowing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/grid_5carfollowing.py -------------------------------------------------------------------------------- /matrix_A.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/matrix_A.npy -------------------------------------------------------------------------------- /matrix_B.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/matrix_B.npy -------------------------------------------------------------------------------- /official/__pycache__/basic_agent.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/__pycache__/basic_agent.cpython-38.pyc -------------------------------------------------------------------------------- /official/__pycache__/behavior_agent.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/__pycache__/behavior_agent.cpython-38.pyc -------------------------------------------------------------------------------- /official/__pycache__/behavior_types.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/__pycache__/behavior_types.cpython-38.pyc -------------------------------------------------------------------------------- /official/__pycache__/controller.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/__pycache__/controller.cpython-38.pyc -------------------------------------------------------------------------------- /official/__pycache__/global_route_planner.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/__pycache__/global_route_planner.cpython-38.pyc -------------------------------------------------------------------------------- /official/__pycache__/local_planner.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/__pycache__/local_planner.cpython-38.pyc -------------------------------------------------------------------------------- /official/__pycache__/misc.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/__pycache__/misc.cpython-38.pyc -------------------------------------------------------------------------------- /official/basic_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/basic_agent.py -------------------------------------------------------------------------------- /official/behavior_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/behavior_agent.py -------------------------------------------------------------------------------- /official/behavior_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/behavior_types.py -------------------------------------------------------------------------------- /official/client_bounding_boxes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/client_bounding_boxes.py -------------------------------------------------------------------------------- /official/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/config.py -------------------------------------------------------------------------------- /official/controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/controller.py -------------------------------------------------------------------------------- /official/global_route_planner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/global_route_planner.py -------------------------------------------------------------------------------- /official/local_planner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/local_planner.py -------------------------------------------------------------------------------- /official/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/misc.py -------------------------------------------------------------------------------- /official/spawn_npc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/official/spawn_npc.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | numpy==1.18.3 2 | tqdm 3 | simple_pid 4 | pygame 5 | networkx 6 | shapely -------------------------------------------------------------------------------- /result/20230228/ACC/draw_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/result/20230228/ACC/draw_result.py -------------------------------------------------------------------------------- /result/20230228/Crossroad/draw_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/result/20230228/Crossroad/draw_result.py -------------------------------------------------------------------------------- /result/20230228/Roundabout/general/draw_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/result/20230228/Roundabout/general/draw_result.py -------------------------------------------------------------------------------- /result/draw_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/result/draw_result.py -------------------------------------------------------------------------------- /scripts/__pycache__/env.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/env.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/lti_v2x.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/lti_v2x.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/others_agent.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/others_agent.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/vehicle_following.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/vehicle_following.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/vehicle_obs.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/vehicle_obs.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/vehicle_road_obs.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/vehicle_road_obs.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/vehicle_update_obs.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/vehicle_update_obs.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/vehicle_v2x.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/vehicle_v2x.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/vehicle_v2x_obs.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/vehicle_v2x_obs.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/vehicle_v2x_obs_rtfl.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/vehicle_v2x_obs_rtfl.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/x_agent.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/x_agent.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/x_agent_carla.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/x_agent_carla.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/__pycache__/x_v2x_agent.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/__pycache__/x_v2x_agent.cpython-38.pyc -------------------------------------------------------------------------------- /scripts/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/env.py -------------------------------------------------------------------------------- /scripts/others_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/others_agent.py -------------------------------------------------------------------------------- /scripts/vehicle_obs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/vehicle_obs.py -------------------------------------------------------------------------------- /scripts/vehicle_v2x_obs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/vehicle_v2x_obs.py -------------------------------------------------------------------------------- /scripts/x_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/x_agent.py -------------------------------------------------------------------------------- /scripts/x_v2x_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/scripts/x_v2x_agent.py -------------------------------------------------------------------------------- /test/test_birdeye_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/test/test_birdeye_view.py -------------------------------------------------------------------------------- /test/test_draw_point.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/test/test_draw_point.py -------------------------------------------------------------------------------- /test/test_get_waypoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/test/test_get_waypoint.py -------------------------------------------------------------------------------- /test/test_plot_APF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/test/test_plot_APF.py -------------------------------------------------------------------------------- /test/test_round_senario.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/test/test_round_senario.py -------------------------------------------------------------------------------- /utils/__pycache__/carla_utils.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/utils/__pycache__/carla_utils.cpython-38.pyc -------------------------------------------------------------------------------- /utils/__pycache__/display_carla.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/utils/__pycache__/display_carla.cpython-38.pyc -------------------------------------------------------------------------------- /utils/__pycache__/draw.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/utils/__pycache__/draw.cpython-38.pyc -------------------------------------------------------------------------------- /utils/__pycache__/draw_result.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/utils/__pycache__/draw_result.cpython-38.pyc -------------------------------------------------------------------------------- /utils/__pycache__/interpolate.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/utils/__pycache__/interpolate.cpython-38.pyc -------------------------------------------------------------------------------- /utils/carla_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/utils/carla_utils.py -------------------------------------------------------------------------------- /utils/draw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/utils/draw.py -------------------------------------------------------------------------------- /utils/draw_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/utils/draw_result.py -------------------------------------------------------------------------------- /utils/interpolate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HKUST-JM/Optimization-based-IDMC_CARLA/HEAD/utils/interpolate.py --------------------------------------------------------------------------------