Can Vrep subscribe 'std_msgs/Float64' type rostopic?

Typically: "How do I... ", "How can I... " questions
Post Reply
biscuit122
Posts: 28
Joined: 23 Jan 2018, 16:16

Can Vrep subscribe 'std_msgs/Float64' type rostopic?

Post by biscuit122 » 04 Dec 2018, 01:51

I used Rosinterface to subscribe 'std_msgs/Float64' type rostopic from ROS. But it is always said that is wrong like this:

Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L2_3_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L3_2_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L2_1_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L5_1_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L5_2_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L1_1_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L3_3_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L5_3_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L1_3_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L2_2_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L4_3_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L3_1_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L4_2_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L6_2_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L4_1_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L6_1_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L6_3_callback)
Error: [string -unknown location]:?: ros_callback__std_msgs__Float64: simCallScriptFunctionEx: error (L1_2_callback)

jamesp
Posts: 1
Joined: 28 Nov 2018, 01:16

Re: Can Vrep subscribe 'std_msgs/Float64' type rostopic?

Post by jamesp » 04 Dec 2018, 03:38

Please post the code in your callback

biscuit122
Posts: 28
Joined: 23 Jan 2018, 16:16

Re: Can Vrep subscribe 'std_msgs/Float64' type rostopic?

Post by biscuit122 » 05 Dec 2018, 00:21

jamesp wrote:
04 Dec 2018, 03:38
Please post the code in your callback
Thanks for your reply. I already found original mistake that joint type had been set to kinematic mode instead of torque mode.

Post Reply