Hi,
I am successfully able to send and receive message from ros for labview tool box on same computer. However when I want to run Ros Master and Publish a message from labview and receive it on linux ros , I am not able to do it. I follow the following steps.
1. start the master in LabVIEW
3. type rostopic list on linux machine after running publisher example in windows machine.
After running rostopic list command I am getting following error,
Traceback (most recent call last):
File "/opt/ros/kinetic/bin/rostopic", line 35, in <module>
rostopic.rostopicmain()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rostopic/__init__.py", line 2101, in rostopicmain
_rostopic_cmd_list(argv)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rostopic/__init__.py", line 2041, in _rostopic_cmd_list
exitval = _rostopic_list(topic, verbose=options.verbose, subscribers_only=options.subscribers, publishers_only=options.publishers, group_by_host=options.hostname) or 0
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rostopic/__init__.py", line 1201, in _rostopic_list
pubs, subs, _ = state
ValueError: need more than 2 values to unpack
If I ping the above Ip address from linux it is working fine and when I run rostopic list on linux my ros master on labview shows a request pop up as get Systemstate. So I don't think the problem is with network connection, So can someone help me to Identify the problem?
For reference I am attaching my Ros_Master. vi,
publisher.vi and snap shot of my Ros master running screen.
Best regards,
Shashank Thakker