ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

mlotfy's profile - activity

2019-08-05 18:25:12 -0500 received badge  Student (source)
2017-05-25 20:39:19 -0500 received badge  Famous Question (source)
2017-04-24 05:10:49 -0500 received badge  Notable Question (source)
2017-02-19 03:12:21 -0500 received badge  Enthusiast
2017-02-16 00:15:26 -0500 received badge  Popular Question (source)
2017-02-15 03:56:32 -0500 commented answer Service "ERROR: Unable to load type" for a remote Master

You made my day! That worked. Thanks for the design advice as well, it will take me sometime to learn ROS design patterns.

2017-02-15 03:51:44 -0500 received badge  Scholar (source)
2017-02-15 03:19:55 -0500 received badge  Supporter (source)
2017-02-14 22:52:39 -0500 asked a question Service "ERROR: Unable to load type" for a remote Master

My setup is an Ubuntu 16.04 LTS VM on Win10, and RaspberryPi running Ubuntu Mate 16.04 LTS. I have ROS Kinetic installed on both of the Ubuntu machines and they can ping each other with hostname fine.
I wrote a new node on my remote Master (which is the RPi) that exposes 2 services and I can call the services fine locally on the RPi. The node is reachable from the Ubuntu VM, I can rosnode ping and can see it in rosservice list. However, when I rosservice info it from the VM, I get:

$ rosservice info get_humid_rh  
Node: /sht15_node  
URI: rosrpc://mlotfy-pi:36003  
Type: sht15/GetHumidRh  
ERROR: Unable to load type [sht15/GetHumidRh].  
Have you typed 'make' in [sht15]?

When I try to rosservice call it from the VM, I get:

$ rosservice call get_humid_rh  
ERROR: Unable to load type [sht15/GetHumidRh].  
Have you typed 'make' in [sht15]?

What could be missing here?