jhu-lcsr/rtt_gazebo

Corba console + ROS

ahoarau opened this issue · 1 comments

Hello,

Corba communication works fine (for simple types) , but now I'm trying to stream a port (let's say a sensor_msgs::JointState message) in the rtt_gazebo_console, but I'm facing this issue :

The protocol with id 3 did not register a fall-back handler for unknown types!
triggered by: unknown_t which does not have a transport.
Could not create transport stream for port JointState with transport id 3
No such transport registered. Check your policy.transport settings or add the transport for type JointState

my script after launching my gazebo rtt plugin:

import("rtt_ros")
import("rtt_rosnode")
import("rtt_roscomm")
import("test_component")

loadComponent("a","A")
setActivity("a",0.01,LowestPriority,SCHED_OTHER)

connectPeers("gazebo","a") # This is fine, and data gets in
a.configure()

stream("a.JointStates",ros.topic("/test"))

a.start()

note : I can see the rtt node being created

import("rtt_sensor_msgs")

Solved it :/ . I just switched to hydro and I need to explicitly do that import apparently. Groovy managed to import them just by calling rtt_rosnode.