Re: Can not subscribe ROS msg in real time using NI IC3173

32 views
Skip to first unread message

Chris Rogers

unread,
Sep 22, 2020, 2:33:02 PM9/22/20
to ROSforLabview
Unfortunately we have not touched this in quite a few years - so who knows (although that latency is really bad) - I would recommend using the new python node and using rospy - it would be a lot easier :)

_______________
200 College Ave, Medford, MA  02155. ph: 617 627 2882  c: doodle.com/mm/chrisrogers/bookZ: tufts.zoom.us/my/crogers
On Sep 21, 2020, 10:54 PM -0400, Haoran Zhao <zhaoha...@gmail.com>, wrote:
Hi everyone,

I'm trying to communicate the NI IC-3173 with a Linux PC (ROS master). Because the NI IC-3173 is connected and controlled by a windows PC, so I plugged the Ethernet cable into windows PC. 
The IP address of Linux PC: 192.168.1.3
The IP address of Windows PC: 192.168.1.5
The IP address of IC-3173: 169.25.47.89

Similar to the subscriber example program in  ROSExaemples, I made a simple program to subscribe 'geometry_msgs/Point' message. 
if I put the ROS Connection.vi under My computer, it can subscribe the message, but it's not in real-time. the latency is about 5~10s.
Capture.PNG
if I put the ROS Connection.vi under NI IC-3173, it can NOT subscribe the message, and keep asking the master IP. 
Capture.PNG

I have tried to change my IP, TCP wait time, queue size in "_ ROSDefinition.vi", but the problem is still not solved.
So my question is:
1. How to make it work under NI IC-3173? 
2. How to make is subscribe message in real time?

Thanks so much for your help,

Haoran

--
You received this message because you are subscribed to the Google Groups "ROSforLabview" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-rosforla...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-rosforlabview/deafc0d1-0fe6-4d8b-8341-f70b4caaa22fn%40googlegroups.com.

Haoran Zhao

unread,
Sep 22, 2020, 3:23:04 PM9/22/20
to ros-sig-ro...@googlegroups.com
Hi Chris, 

Thanks so much for getting back to me. it's great to know that approach.
so do I need to install any add-Ons for that? can I use rospy in Python node or I exchange data by socket?


Thanks, 
Haoran


Chris Rogers

unread,
Sep 22, 2020, 3:24:07 PM9/22/20
to ros-sig-ro...@googlegroups.com
I don’t know - I have not tried yet - but please share what you find out :)

_______________
200 College Ave, Medford, MA  02155. ph: 617 627 2882  c: doodle.com/mm/chrisrogers/bookZ: tufts.zoom.us/my/crogers
Reply all
Reply to author
Forward
0 new messages