Was able to setup topic’s and subscribe to Telemtry endpoints using FlytSDK via websocket without any issues.
Things are harder now that I want to switch from Rest driven request do websocket.
I want to trigger the ‘takeoff’ command via websocket in order to wait for the finished result.
The topic instantiation looks like:
val t = Topic(ros,"/flytsim/navigation/take_off",“core_api/TakeOff”,2000)
later on int the code I try to publish my request via:
Flytsim Docker prompts:
flytsim ==> “publish: Cannot infer topic type for topic /flytsim/navigation/take_off as it is not yet advertised”
Everything compiles and as mentioned before, I can subscribe to topics and process feedback via callbacks. What I am not getting clearly is how to send commands over and wait for a proper result.
Thanks for your help