Sending Topics from Windows PC to Gazebo Ubuntu PC
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://10.224.52.40: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://10.224.52.40: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 have
1.Involve ROS with ROS Bridge or cros . cros. I would rather avoid this as this would introduce an unnecessary tool tool
dependency . ROS is not needed.
- Install
2.Install
the ign transport library in the windows PC based on the
info info
below and then link against these libraries and send receive
the the
message using python/ C++ code.
http://answers.gazebosim.org/question/19/publish-a-topic/ http://answers.gazebosim.org/question/19/publish-a-topic/
I believe based on
http://gazebosim.org/tutorials?tut=install_dependencies_from_source http://gazebosim.org/tutorials?tut=install_dependencies_from_source
that we can use ign-trasnport1
or or
ign-transport2. I will explore
this.this.
Has anyone successfully installed this on a windows 10 PC? - Use
3.Use
a Socket-Client portable library like ZeroMQ. If I cannot
get get
ign-transport to communicate I would have to create my own
transport transport
layer and have to send messages from a plugin
as well as write a receiver .
http://answers.gazebosim.org/question/13321/how-to-communicate-with-gzserver-over-a-custom-socket-client/