Back to Apollo

task-manager

modules/task_manager/README.md

11.0.02.6 KB
Original Source

task-manager

Introduction

Task manager generates a series of tasks, including path planning, obstacle avoidance, traffic rule compliance, etc., based on the input map data and routing instructions (start and end positions). These tasks will be scheduled and executed in the form of Cyber concatenation to ensure that the vehicle is able to make correct driving decisions based on the real-time traffic conditions while traveling.

Directory Structure

shell
modules/task_manager
├── BUILD
├── common
├── conf
├── cyberfile.xml
├── cycle_routing_manager.cc
├── cycle_routing_manager.h
├── dag
├── parking_routing_manager.cc
├── parking_routing_manager.h
├── proto
├── README.md
├── task_manager_component.cc
└── task_manager_component.h

Input

NameTypeDescription
msgapollo::task_manager::Tasktask
msgapollo::localization::LocalizationEstimatelocalization
msgapollo::planning::PlanningCommandplanning command
msgplanning::ADCTrajectoryplanning trajectory

Output

NameTypeDescription
msgapollo::external_command::LaneFollowCommandlane follow command

configs

file pathtype / structDescription
modules/task_manager/conf/task_manager_config.pb.txtapollo::task_manager::TaskManagerConfigtask manager config
modules/task_manager/conf/task_manager.confgflagsgflags config

Flags

flagfiletypeDescription
modules/task_manager/common/task_manager_gflags.cccctask manager flags define
modules/task_manager/common/task_manager_gflags.hhtask manager flags header

How to Launch

bash
cyber_launch start modules/task_manager/launch/task_manager.launch