Sending Topics from Windows PC to Gazebo Ubuntu PC

asked 2019-09-11 15:29:50 -0600

pchidamb gravatar image

updated 2019-09-20 13:52:46 -0600

I am attempting to send a single topic from an external program on a windows PC to Gazebo standalone on an ubuntu PC.

My First Step was to be able to communicate Linux to Linux. This was straight forward. We can send commands from Linux PC to Linux PC 1. Install gazebo on Both PC's 2. On PC 1 Open terminal in folder that contains the velodyne example export GAZEBO_PLUGIN_PATH=$PWD:$GAZEBO_PLUGIN_PATH ( Gazebo plugin path) export GAZEBO_MASTER_URI=http://XX.XXX.XX.XX:11346 (ip for gz server) gazebo --verbose velodyne.world

Move Velocity binary vel to PC 2 Open terminal with velocity executable export GAZEBO_MASTER_URI=http://XX.XXX.XX.XX:11346 ./vel 2 to see velodyne rotate in gazebo on PC 1. I also got a listener on PC2 obtaining LIDAR data

Here are the following options I think I have

1.Involve ROS with ROS Bridge or cros. I would rather avoid this as this would introduce an unnecessary tool dependency . ROS is not needed.

2.Install the ign transport library in the windows PC based on the info below and then link against these libraries and send receive the message using python/ C++ code. http://answers.gazebosim.org/question... I believe based on http://gazebosim.org/tutorials?tut=in... that we can use ign-trasnport1 or ign-transport2. I will explore this.I want to just use the transport library without installing the rest of gazebo and use this to send and receive messages. Has anyone successfully installed and performed this on a windows 10 PC?

3.Use a Socket-Client portable library like ZeroMQ. If I cannot get ign-transport to communicate I would have to create my own transport layer and have to send messages from a plugin as well as write a endpoint. The below example does not have an end point. http://answers.gazebosim.org/question...

edit retag flag offensive close merge delete