{"id":19130327,"url":"https://github.com/mathworks/truck-platooning","last_synced_at":"2025-07-31T22:14:18.180Z","repository":{"id":92436606,"uuid":"170126041","full_name":"mathworks/Truck-Platooning","owner":"mathworks","description":"Simulink Reference example for modeling smart trucks with the intelligence to form a platoon based on certain criteria.","archived":false,"fork":false,"pushed_at":"2019-11-26T07:33:46.000Z","size":836,"stargazers_count":25,"open_issues_count":0,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T01:45:42.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathworks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-02-11T12:35:55.000Z","updated_at":"2025-02-25T01:34:41.000Z","dependencies_parsed_at":"2023-03-13T17:29:05.132Z","dependency_job_id":null,"html_url":"https://github.com/mathworks/Truck-Platooning","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mathworks/Truck-Platooning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FTruck-Platooning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FTruck-Platooning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FTruck-Platooning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FTruck-Platooning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathworks","download_url":"https://codeload.github.com/mathworks/Truck-Platooning/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathworks%2FTruck-Platooning/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268126019,"owners_count":24200286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T06:10:18.364Z","updated_at":"2025-07-31T22:14:18.163Z","avatar_url":"https://github.com/mathworks.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Truck Platooning\n\n[![View Truck-Platooning on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/70263-truck-platooning)\n\nA truck platoon consists of group of trucks moving together. One of the major motivations for truck platooning is that a truck moving behind another one faces much reduced aerodynamic drag. This can account for significant fuel savings (typically in range of 15-20 percent). In this example, a group of trucks on the same lane of the highway having their respective destinations, dynamically try to form a platoon with their respective leading trucks. A truck forms a platoon with the truck ahead only if it anticipates the platooning to be fuel saving.\n\n**Factors in favor of platooning** – A trucks saves fuel while it moves as part of platoon. So, if a truck is having a large overlapping journey patch with the truck ahead, it would save more fuel. \n\n**Factors against platooning** - Extra fuel consumption for accelerating/decelerating (for coming closer or matching speed) to form a platoon with the truck ahead.\n\nDecision to form a platoon or otherwise is largely dependent on one of the above factors outweighing the other. \nTruck platooning strategy allows a smart truck (an independent agent), to form platoon with the truck ahead (if it is fuel efficient) by taking decisions based on the belief/knowledge it has about its environment.\n\nThis demo showcases the architecture which allows creating smart-trucks having intelligence of forming a platoon with their respective preceding trucks. Configuration parameters can be set for individual trucks to observe the variations in their behavior. The plan algorithm in the smart actor supports platooning on a straight highway lane.\n\n# Prerequisites\nThis model has been tested with MATLAB R2018b. \n\nTo run this model, you need: MATLAB, Automated Driving System Toolbox (ADST), Model Predictive Control Toolbox, Simulink, Simulink Coder, and Stateflow.\n\n# Running the model\nRun the Simulink model **mTruckPlatoon.slx** and see the visualization.\n\n# Further documentation\nSee the file [Truck-Platooning.pdf](https://github.com/mathworks/Truck-Platooning/blob/master/Truck-Platooning.pdf) for detailed documentation covering - Scenario description, Simulink model description, configuration and scenario visualization.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathworks%2Ftruck-platooning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathworks%2Ftruck-platooning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathworks%2Ftruck-platooning/lists"}