Skip to content

Commit

Permalink
Merge pull request #1692 from PRUBHTEJ/master
Browse files Browse the repository at this point in the history
Update controller-start-up.md:- Corrects a few grammatical errors
  • Loading branch information
PRUBHTEJ authored May 25, 2020
2 parents 9ed9a04 + aa83d54 commit 4f67f02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/guide/controller-start-up.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

The .wbt file contains the name of the controller that needs to be started for each robot.
The controller name is a platform and language independent field; for example when a controller name is specified as "xyz\_controller" in the .wbt file, this does not say anything about the controller's programming language or platform.
This is done deliberately to ensure the platform and programming language independence of .wbt files.
This is done deliberately to ensure the independence between platform and programming language of .wbt files.

So when Webots tries to start a controller it must first determine what programming language is used by this controller.
So, Webots looks in the project's "controllers" directory for a subdirectory that matches the controller name.
Now, when Webots tries to start a controller it must determine what programming language is used by that controller initially.
So, Webots looks in the project's "controllers" directory for a subdirectory that matches the controller's name.
Then, in this controller directory, it looks for a file that matches the controller's name.
For example if the controller's name is "xyz\_controller", then Webots looks for these files in the specified order, in the "PROJECT\_DIRECTORY/controllers/xyz\_controller" directory.

Expand Down

0 comments on commit 4f67f02

Please sign in to comment.