update manual for multicommand feature#126
Open
naderzare wants to merge 1 commit intorcsoccersim:masterfrom
Open
update manual for multicommand feature#126naderzare wants to merge 1 commit intorcsoccersim:masterfrom
naderzare wants to merge 1 commit intorcsoccersim:masterfrom
Conversation
wduminy
reviewed
Feb 18, 2024
Contributor
wduminy
left a comment
There was a problem hiding this comment.
Thanks for sharing this information about multi-commands
| * Dash, Turn | ||
| * Turn, Dash | ||
|
|
||
| Multi Command idea is implemented in server v.18 to allow players to send more than one main command per cycle. |
Contributor
There was a problem hiding this comment.
Consider The multi command idea ...
| * Turn, Dash | ||
|
|
||
| Multi Command idea is implemented in server v.18 to allow players to send more than one main command per cycle. | ||
| The server v18 can support the belowing combinations: |
| So, the server stores Dash and Turn commands' parameters in *M_main_commands_done*, | ||
| then will apply them on the player in applying step. | ||
|
|
||
| Because of the last two reasons and the structure of the server, |
Contributor
There was a problem hiding this comment.
This paragraph seems to be a duplicate
| -------------------------------------------------- | ||
| Dash Turn Model | ||
| -------------------------------------------------- | ||
| When a player send dash and turn commands respectively, and Turn/Dash pair is exists in *M_possible_commands_pairs*, |
| -------------------------------------------------- | ||
| Kick Dash Model | ||
| -------------------------------------------------- | ||
| When a player send kick and dash commands respectively, and Kick/Turn pair is exists in *M_possible_commands_pairs*, |
| -------------------------------------------------- | ||
| Kick Turn Model | ||
| -------------------------------------------------- | ||
| When a player send kick and turn commands respectively, and Kick/Dash pair is exists in *M_possible_commands_pairs*, |
| first, the server processes the kick command to updates ball's accel based on player's information (distance to ball, the difference angle between ball-player and player's body), | ||
| then, it process the turn command to calculate player's body angle based on player's velocity and finally updates player's velocity, and player's possition. | ||
|
|
||
| In :numref:`multicommand` you can see some example regarding multicommands and how they effect on player and ball. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.