Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to see any data #11

Open
rs1990 opened this issue Sep 29, 2015 · 12 comments
Open

Not able to see any data #11

rs1990 opened this issue Sep 29, 2015 · 12 comments

Comments

@rs1990
Copy link

rs1990 commented Sep 29, 2015

Hello ,
When I run the launch file, all get as the output is :

[ INFO] [1443562224.216012836]: Connecting to Vicon DataStream SDK at vicon:801 ...
[ INFO] [1443562224.220628437]: .
[ INFO] [1443562225.223501987]: .
[ INFO] [1443562226.226403333]: .
[ INFO] [1443562227.232504109]: .

am not sure whats wrong, because i have set my IP to the one on my windows system,
I can see the data on the windows side but nothing on the ubuntu side. I am using ros indigo

@markusachtelik
Copy link
Contributor

can you temporarily disable the firewall on windows?

@rs1990
Copy link
Author

rs1990 commented Sep 29, 2015

Yes, I have already disabled the firewall.

@liupiaop
Copy link

liupiaop commented Oct 2, 2015

I also have similar issues.

[ INFO] [1443811676.629851469]: Connecting to Vicon DataStream SDK at 192.168.10.1:51001 ...
[ INFO] [1443811677.632504243]: .
[ INFO] [1443811679.635302538]: .
[ INFO] [1443811681.636702505]: .

Also tried to disable my firewall on windows

@rs1990
Copy link
Author

rs1990 commented Oct 2, 2015

I solved it. The mistake was, the line with the IP address in the launch
file was commented out.

I somehow missed it.

Raghu.
On Oct 2, 2015 1:49 PM, "liupiaop" [email protected] wrote:

I also have similar issues.

started roslaunch server http://ubuntu:52228/
SUMMARY

PARAMETERS

  • /rosdistro
  • /rosversion
  • /vicon/datastream_hostport
  • /vicon/stream_mode
  • /vicon/tf_ref_frame_id

NODES
/
vicon (vicon_bridge/vicon_bridge)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[vicon-1]: started with pid [7518]
[ INFO] [1443811676.629851469]: Connecting to Vicon DataStream SDK at
192.168.10.1:51001 ...
[ INFO] [1443811677.632504243]: .
[ INFO] [1443811679.635302538]: .
[ INFO] [1443811681.636702505]: .

Also tried to disable my firewall on windows


Reply to this email directly or view it on GitHub
#11 (comment)
.

@liupiaop
Copy link

liupiaop commented Oct 2, 2015

I think I edited the correct line, but still the same problem.

Here is my vicon.launch file:

And here is the screenshot:

qq 20151002203450

Any help would be appreciated, thanks.

LY

@liupiaop
Copy link

liupiaop commented Oct 2, 2015

launch file text:
launch
node pkg="vicon_bridge" type="vicon_bridge" name="vicon" output="screen"
param name="stream_mode" value="ClientPull" type="str" /
param name="datastream_hostport" value="192.168.10.1:51001" type="str" /
param name="tf_ref_frame_id" value="/world" type="str" /
/node
/launch

with "<" and ">" in each line

@rs1990
Copy link
Author

rs1990 commented Oct 2, 2015

Is the port number correct?.

@liupiaop
Copy link

liupiaop commented Oct 3, 2015

Is 51001 in the screenshot the port number?
Or I need to find the port number somewhere else?

@liupiaop
Copy link

liupiaop commented Oct 3, 2015

I got it. The port number is still 801 but not 51001 :)

@bconvens
Copy link

Hi,

I also have problems with getting the vicon data to my ubuntu PC.
The Vicon PC is a windows 10 PC, the ubuntu PC has ROS kinetic installed.
On the Vicon/windows PC I use ethernet port 4. Is there any specific setting I have to activate/deactivate in this ethernet port?
When I type ipconfig in the windows terminal I obtain for ethernet port 4:

  • Address: 134.184.20.148
  • Netmask: 255.255.255.0

On the ubuntu PC i made a new wired Ethernet connection called "Ethernet connection 1" with IPv4 settings:

  • Address: 134.184.20.5 --> same as IP windows except the last digit, is this correct?
  • Netmask: 255.255.255.0 --> i read somewhere you should put 255.255.0.0 but also does not work. Which of both should I use?
  • Gateway: leave blank (putting the same value as the one of windows also does not work). Should I put it?
  • Should I leave DNS open?
  • Should I thick the box?

I connect the ubuntu PC to that wired network by clicking on the network name. Should I do the same on Windows or is this done automatically? If not, how to connect both?

I connect both PC via a wired Ethernet connection. When I do ping on both the data packets are successfully transmitted and received:
brybuntu@brybuntu-ThinkPad-W541:~$ ping 134.184.20.148 PING 134.184.20.148 (134.184.20.148) 56(84) bytes of data. 64 bytes from 134.184.20.148: icmp_seq=1 ttl=128 time=0.277 ms 64 bytes from 134.184.20.148: icmp_seq=2 ttl=128 time=0.343 ms 64 bytes from 134.184.20.148: icmp_seq=3 ttl=128 time=0.258 ms 64 bytes from 134.184.20.148: icmp_seq=4 ttl=128 time=0.370 ms 64 bytes from 134.184.20.148: icmp_seq=5 ttl=128 time=0.275 ms 64 bytes from 134.184.20.148: icmp_seq=6 ttl=128 time=0.513 ms 64 bytes from 134.184.20.148: icmp_seq=7 ttl=128 time=0.294 ms

Does this mean the communication is correct?

I also tried other Ethernet ports on the windows PC, but none seem to work.
I also tried disabling the firewall, but still negative result.

In the vicon.lanch file I have (only the default word "vicon" is changed to the IP I set in the new ubuntu connection I made):
<launch> <node pkg="vicon_bridge" type="vicon_bridge" name="vicon" output="screen"> <param name="stream_mode" value="ClientPull" type="str" /> <!--param name="datastream_hostport" value="192.168.0.13:801" type="str" /--> <param name="datastream_hostport" value="**134.184.20.5**:801" type="str" /> <param name="tf_ref_frame_id" value="/world" type="str" /> </node> </launch>

The error I get when trying roslaunch vicon_bridge vicon.launch is:
`brybuntu@brybuntu-ThinkPad-W541:~/catkin_ws$ roslaunch vicon_bridge vicon.launch... logging to /home/brybuntu/.ros/log/40115a78-d7b0-11e8-924a-54ee754e3928/roslaunch-brybuntu-ThinkPad-W541-7977.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://brybuntu-ThinkPad-W541:42843/

SUMMARY

PARAMETERS

  • /rosdistro: kinetic
  • /rosversion: 1.12.14
  • /vicon/datastream_hostport: 134.184.20.5:801
  • /vicon/stream_mode: ClientPull
  • /vicon/tf_ref_frame_id: /world

NODES
/
vicon (vicon_bridge/vicon_bridge)

auto-starting new master
process[master]: started with pid [7987]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 40115a78-d7b0-11e8-924a-54ee754e3928
process[rosout-1]: started with pid [8000]
started core service [/rosout]
process[vicon-2]: started with pid [8008]
[ INFO] [1540401263.010601392]: Connecting to Vicon DataStream SDK at 134.184.20.5:801 ...
[ INFO] [1540401263.010800380]: .
[ INFO] [1540401264.011229074]: .
[ INFO] [1540401265.011768472]: .
[ INFO] [1540401266.012414038]: .
[ INFO] [1540401267.012979223]: .
[ INFO] [1540401268.013632510]: .
[ INFO] [1540401269.014095361]: .
[ INFO] [1540401270.014744879]: .
`

Thanks a lot for the help!

@rhamrah
Copy link

rhamrah commented Nov 27, 2018

I solved it. The mistake was, the line with the IP address in the launch
file was commented out.

I somehow missed it.

Raghu.
On Oct 2, 2015 1:49 PM, "liupiaop" [email protected] wrote:

I also have similar issues.
started roslaunch server http://ubuntu:52228/
SUMMARY
PARAMETERS

  • /rosdistro
  • /rosversion
  • /vicon/datastream_hostport
  • /vicon/stream_mode
  • /vicon/tf_ref_frame_id

NODES
/
vicon (vicon_bridge/vicon_bridge)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[vicon-1]: started with pid [7518]
[ INFO] [1443811676.629851469]: Connecting to Vicon DataStream SDK at
192.168.10.1:51001 ...
[ INFO] [1443811677.632504243]: .
[ INFO] [1443811679.635302538]: .
[ INFO] [1443811681.636702505]: .
Also tried to disable my firewall on windows

Reply to this email directly or view it on GitHub
#11 (comment)
.

I now have this issue that you fixed. I am trying to receive Vicon data from a Windows-Vicon machine, and I am running vicon.launch on a Ubuntu machine. I have set the IP address of the launch file to the one on my Vicon machine but I get following outputs:

process[vicon-1]: started with pid [18135]
[ INFO] [1543274507.202602411]: Connecting to Vicon DataStream SDK at 10.1.17.161:801 ...
[ INFO] [1543274510.201566493]: .
[ INFO] [1543274513.201465696]: .
[ INFO] [1543274516.201445904]: .
[ INFO] [1543274519.201425590]: .
[ INFO] [1543274522.201469383]: .

My questions are:
1 - How dose the correct output look like? what should I expect if everything was right?
2 - The git file in https://github.com/ethz-asl/vicon_bridge includes the folder of SDK of version 1.3. Should I update this old version to a new one, and use the same versions on both Windows and Ubuntu sides?
3 - Do I have to keep Vicon tracker open on Windows machine to enable the package to receive the Vicon data from SDK?

Please let me know of your comments and experiences. Thanks.

@nemo11
Copy link

nemo11 commented Oct 24, 2022

I also had this issue once. I believe you need to set the ip address in the vicon.launch file to the ip address of the pc the vicon is connected to. Not the ip of your computer (it might be different if you are using a different pc as the hub for vicon).

This is the line:
<arg name="datastream_hostport" default="(ip of the pc connected to vicon as its hub):801"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants