Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
autumn_rrs
autumn_agent_2023
Commits
cc741d52
Commit
cc741d52
authored
Nov 15, 2023
by
Ryosuke Suzuki
Browse files
Merge branch 'modify_subscriber' into 'develop'
complete See merge request
!4
parents
b6aaede1
c26a7378
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/autumn_2023/module/comm/CentralizedControlChannelSubscriber.java
View file @
cc741d52
...
...
@@ -13,7 +13,7 @@ public class CentralizedControlChannelSubscriber extends ChannelSubscriber {
public
void
subscribe
(
AgentInfo
agentInfo
,
WorldInfo
worldInfo
,
ScenarioInfo
scenarioInfo
,
MessageManager
messageManager
)
{
// subscribe only once at the beginning
if
(
agentInfo
.
getTime
()
==
1
)
{
if
(
agentInfo
.
getTime
()
==
scenarioInfo
.
getKernelAgentsIgnoreuntil
()
)
{
int
numChannels
=
scenarioInfo
.
getCommsChannelsCount
()
-
1
;
// 0th channel
// is the
// voice
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment