simros_strmcmd_set_joint_state is missing in Lua definitions

Report crashes, strange behaviour, or apparent bugs
Post Reply
ayberkozgur
Posts: 21
Joined: 28 Feb 2013, 15:51

simros_strmcmd_set_joint_state is missing in Lua definitions

Post by ayberkozgur »

simros_strmcmd_set_joint_state is not recognized by the Lua parser to be a valid API stream. It seems to be fixed by adding the line

simRegisterCustomLuaVariable("simros_strmcmd_set_joint_state",(boost::lexical_cast<std::string>(int(simros_strmcmd_set_joint_state))).c_str());

to around line 350 in *vrep main directory*/programming/ros_stacks/vrep/vrep_plugin/src/vrep_plugin.cpp and recompiling vrep_plugin package. Hope this fix makes it to the March release!

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: simros_strmcmd_set_joint_state is missing in Lua definit

Post by coppelia »

You are perfectly right!

Thanks, it will make it into the next release.

Cheers

ayberkozgur
Posts: 21
Joined: 28 Feb 2013, 15:51

Re: simros_strmcmd_set_joint_state is missing in Lua definit

Post by ayberkozgur »

Thank you very much.

Post Reply