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

From: Tomoichi Takahashi <ttaka_at_ccmfs.meijo-u.ac.jp>
Date: Mon, 30 Apr 2007 17:34:57 +0900

Dear All,

Is there anyone who have tried 0.50.0 with agent based Yab API ?
According to Mohammad's document that is included in 0.50.0,
I have not yet run my agents.
Here are the kernel.log. It seems there is no TRAGET CHANNEL data.
-------------------------------
Still waiting for 0 simulators
Timestep 4/300
Overrun detected while decoding command from 127.0.0.1:33073:
The error was encountered at index 20
0 00 00 00 85 133
4 00 00 00 2b 43
8 65 ef 02 e5 1710162661
12 00 00 00 23 35
16 05 00 00 00 83886080
20 01 00 c8 04 16828420
24 00 00 02 31 561
28 04 00 00 02 67108866
32 5c 04 00 00 1543766016
36 02 96 04 00 43385856
40 00 02 d0 04 184324
44 08 ca 00 0b 147456011
48 04 02 03 00 67240704
terminate called after throwing an instance of 'Librescue::Overrun'
  what(): N9Librescue7OverrunE
-----------------------------
Here is my check code.
   public void akTell(int selfId, String message) {
                int channel = 1;
                send(AK_TELL, new Object[] {
                    new Integer(selfId), new Integer(channel),
                    message});
            }
-------------------------
Best regards;

Tomoichi

2007/4/17, Tomoichi Takahashi <ttaka_at_ccmfs.meijo-u.ac.jp>:
>
> I would like to see the usages of communication channels such as
> AK_CHANNNEL, AK_TELL by examples.
> I could not find any usages of them in the sample agents in
> 0.50.0/rescuecore packages.
> Could you tell me where I
> can find them ? Thanks in advance.
>
> Tomoichi
>
> Cameron Skinner wrote:
> > 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.
> >
> --
> Tomoichi Takahashi, Dr. Eng.
> Meijo University, Department of Information Sciences
> 1-501 Shiogamaguchi, Tenpaku, Nagoya, 468-8502 JAPAN
> fax: + 81 52 832 1298
> e-mail: ttaka_at_ccmfs.meijo-u.ac.jp
> http://sakura.meijo-u.ac.jp/TakaLab/
>
>
>

-- 
-g-
Tomoichi Takahashi, Dr. Eng.
Meijo University, Department of Information Sciences
1-501 Shiogamaguchi, Tempaku, Nagoya, 468-8502  JAPAN
fax: + 81 52 832 1298
e-mail: ttaka_at_ccmfs.meijo-u.ac.jp
http://sakura.meijo-u.ac.jp/TakaLab/
--g--
$B9b66M'0l(B
  $BL>>kBg3X(B $BM}9)3XIt(B $B>pJs9)3X2J(B
  $B")(B468-8502 $BL>8E20;TE7Gr6h1v3x8}(B1-501
  tel: 052-832-1151 ($BFb@~(B 5066) (dial in 838-2295)
  fax: 052-832-1298

_______________________________________________
robocup-rescue-s mailing list
robocup-rescue-s_at_cc.gatech.edu
https://lists.cc.gatech.edu/mailman/listinfo/robocup-rescue-s
Received on Mon 30 Apr 2007 - 08:37:12 GMT

This archive was generated by hypermail 2.2.0 : Mon 30 Apr 2007 - 08:37:14 GMT