-
Notifications
You must be signed in to change notification settings - Fork 3
3.1.1 Run script
The project can be started by executing run.py
. The launcher has various mode it can start in which are:
- Debugging
- Testing
- Webservice
Click here for more information on the modes the launch has.
The launcher first does the loading of the config.properties
file and saves it in a dictionary to be
passed to the generator scripts. Then it checks for any flags passed when it was executed. The launcher then
executes various functions some like roscore and ros_run are executed on a new process using the subprocess module from the python libraries or are executed directly on the main process. These functions can be grouped into various sections which are:
- Generation of files
- Generate Entity*
- Generate World
- Generate Obstacle
- Starts roscore
- Starts ros_stage
- Starts the GUI
- Starts webservice
*Note: The entity scripts are executed by the generate entity script.
In normal & debugging mode, the launcher executes all section except Section 5.
In testing mode, the launcher executes the first section only.
In webservice mode, all the sections are executed.
When the launcher is terminated, the launcher calls various functions to clear the temporary files written by the generate scripts and the GUI and terminates the new processes that were made.
###Launch overview
##1.0 Introduction
##2.0 User Manual
##2.5 Testing
3.1 Launch Infrastructure
3.2 Entities and behaviours (Robots, humans, animals)
- 3.2.1 Entity Superclass
- 3.2.1.1 Entity Movement
- 3.2.2 Robot Entity
- 3.2.2.1 Robot Entity Detection
- 3.2.2.2 Robot Path Finding
- 3.2.3 Robot Pickers
- 3.2.4 Robot Carriers
- 3.2.4.1 Carrier Queue
- 3.2.5 Humans
- 3.2.6 Animals
- 3.2.7 Entity Topics
3.3 Special services and features
##4.0 Project Planning and management
- 4.1 Project plan
- 4.2 Git Branching and Merging Etiquette
- 4.3 Design Requirements, System requirements and Technical specifications
- 4.4 Key Factors and Constraints
- 4.5 System Design
- 4.6 Time spent
- 4.7 Testing and integration overview
- 4.8 Meeting minutes
##Miscellaneous resources