[robocup-rescue-s] say_max_bytes

From: Sarvapali Dyanand Ramchurn <sdr@ecs.soton.ac.uk>
Date: Thu 30 Mar 2006 - 10:39:05 GMT

Dear all,
I think there might be a problem with the no. of messages that the
Kernel allows an agent to 'TELL'. This is usually set to 256 (as far as
I've read), but in Kernel you'll see:

if ((int)command->getData().size() >=
m_config.getInt("say_max_bytes",256)) {
  LOG_INFO("Agent %d can not send a message of length %d",command->getAgentId(),command->getData().size());
  return;
 }

This will block messages == 256 bytes and therefore, your platoon agents/center agents will not hear anything from their peers.

We've gone round this by reducing our messages to 255 bytes but shouldn't the kernel allow 256?

Cheers,

Gopal

_______________________________________________
robocup-rescue-s mailing list
robocup-rescue-s@mailman.cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/robocup-rescue-s
Received on Thu Mar 30 13:01:15 2006

This archive was generated by hypermail 2.1.8 : Thu 30 Mar 2006 - 11:01:16 GMT