Re: [robocup-rescue-s] A question about channel based communication

From: Cameron Skinner <cam@cs.auckland.ac.nz>
Date: Wed 04 Apr 2007 - 20:58:19 GMT

Nobel Huang wrote:
> channelCount = channelSayCount + channelRadioCount;
> for (INT_32 i=0; i<channelSayCount; i++)
> {
> ChannelInfo* chInfo = new ChannelInfo();
> chInfo->type = CHANNEL_SAY;
> m_channels[i] = chInfo;
> }
>
> for (INT_32 i=0; i<channelRadioCount; i++)
> {
> ChannelInfo* chInfo = new ChannelInfo();
> chInfo->type = CHANNEL_RADIO;
> m_channels[i] = chInfo;
> }
>
> You can see the two INT_32 i are both initial 0. If I had not
> misunderstood the code, I could make sure that the first channel for
> CHANNEL_SAY would be overlaid by the first RADIO channel. That is to
> say, there will not be say channel any more.

Looks like a bug. Make sure you report it on the sourceforge website
(www.sf.net/projects/roborescue) and it will get fixed.

Cheers,
Cameron.

-- 
Cameron Skinner
Artificial Intelligence Group
Department of Computer Science
The University of Auckland
email: cam@cs.auckland.ac.nz
Post:
Department of Computer Science
The University of Auckland
Private Bag 92019
Auckland
New Zealand
_______________________________________________
robocup-rescue-s mailing list
robocup-rescue-s@cc.gatech.edu
https://lists.cc.gatech.edu/mailman/listinfo/robocup-rescue-s
Received on Wed Apr 04 23:01:21 2007

This archive was generated by hypermail 2.1.8 : Wed 04 Apr 2007 - 21:01:24 GMT