Gazebo | Ignition | Community
Ask Your Question

Mohnish's profile - activity

2015-03-12 04:20:29 -0500 received badge  Famous Question (source)
2014-12-16 09:42:10 -0500 received badge  Scholar (source)
2014-12-16 09:41:59 -0500 received badge  Notable Question (source)
2014-12-16 09:41:59 -0500 received badge  Popular Question (source)
2014-12-16 09:38:55 -0500 received badge  Supporter (source)
2014-12-12 04:49:26 -0500 commented answer Setting up a TCP server on gazebo ::Unable to use the gazebo::transport::Conection::listen() function

Then what do you suggest I should use to communicate with a program that is running the mission control code (Written in java) via TCP/IP

2014-12-12 00:38:50 -0500 received badge  Nice Question (source)
2014-12-10 04:33:05 -0500 received badge  Student (source)
2014-12-09 12:38:53 -0500 received badge  Editor (source)
2014-12-09 12:38:11 -0500 asked a question Setting up a TCP server on gazebo ::Unable to use the gazebo::transport::Conection::listen() function

I am a beginner on gazebo I am trying to figure out how to use the gazebo::transport::Connection::Listen() function

Im unable to understand how to write the accept callback function I would be grateful if any one could post an example or guide me on how to write the accept callback function What ive written so far is : //In the load function transport::ConnectionPtr IMUcomm; IMUcomm = transport::ConnectionPtr(new transport::Connection); IMUcomm->Listen(30000,acceptME);

//Outside the load but in the gazebo namespace void acceptME(const transport::ConnectionPtr& comm) {}