ROS for LabVIEW(TM) Software

cancel
Showing results for 
Search instead for 
Did you mean: 

nodes with external master

Hello!

Is it possible to register nodes and topics in myRIO while the master is running on an external linux platform connected in the same network?

Thanks!

0 Kudos
Message 1 of 7
(9,395 Views)

Hi dxmann,

It is possible to do that. You will have to download the most recent VIs from our github, which contain the modified files that allow for that. You will need to create a source distribution (maintaining the ROS for LabVIEW folder hierarchy) and deploy it to your myRIO. Instructions on how to do that can be found in the Help folder. I will also upload the instructions to the documents folder on this site.

Whitney

0 Kudos
Message 2 of 7
(9,059 Views)

I've followed the tutorial but I have still problems. I've written a vi where a node subscribes a topic (/chatter). Roscore and the publisher (copied from the ros online tutorial) are on a linux board connected in the same (wifi) network. Looking inside the ROS_topic_read.vi I've found a problem in ROS_Topic_Read_Primative.vi when it tries to add to the queue a new message (the error is displayed in the picture). The same vi works correctly when runs on my pc. How can I upload the vi in order to show you the code?

error_ros4lv_myrio_queue.png

0 Kudos
Message 3 of 7
(9,059 Views)

Hi dxmann,

When you reply to this post, click "Use advanced editor" in the upper right-hand corner of the reply box. It will take you to a new page that will allow you to attach files. I'll take a look at it after you upload it to see if I can reproduce the error.

Whitney

0 Kudos
Message 4 of 7
(9,059 Views)

ok, this is the vi. I've not loaded the complete project because of the dimension.

0 Kudos
Message 5 of 7
(9,059 Views)

Could you save your VI for 2015? Thanks!

0 Kudos
Message 6 of 7
(9,059 Views)

Apologies for using this thread. I have the same issue with the above user. I am able to communicate with an external master using the ROS for LabView library on a Windows PC (my VI is a simple one with a Write node). However when I use the same VI from myRIO, it fails. When I check the error output, there was an error code of 1 from the Write node coming from Lossy Enqueue Element in AddToQueue.vi. Not sure what went wrong. Appreciate any help. 

0 Kudos
Message 7 of 7
(4,760 Views)