I have developed a robot in V-REP and managed to communicate him with ROS using the v-rep ros interface (https://github.com/fferri/v_repExtRosInterface). Everything used to work fine.
Recently I have upgraded my computer from Ubuntu 14.04 to 16.04, and logically, from ROS Indigo to Kinetic. Things used to work fine with my model. The thing is, I have downloaded the new version of V-REP (3.4) and the interface, from the git repository.
Now, when I try to run my ancient code, V-REP crashes with the following message:
Code: Select all
./vrep.sh: line 33: 20159 Segmentation fault (core dumped) "$dirname/$appname" "${PARAMETERS[@]}"
Code: Select all
simTimePub=simExtRosInterface_advertise('/tempo_sim','std_msgs/Float32')
simMotorPositionPub=simExtRosInterface_advertise('/espeleoMotorPosition','vrep_common/EspeleoMotorPosition')
PS1. This message is showing when V-REP is loading:
Code: Select all
Plugin 'RosInterface': loading...
Plugin 'RosInterface': warning: replaced variable 'simROS'
Plugin 'RosInterface': load succeeded.
Code: Select all
DEPRECATED, Please use simROS.advertise
Code: Select all
Lua runtime error: [string "SCRIPT Pioneer_p3dx"]:46: attempt to index global 'simROS' (a nil value)
stack traceback:
[string "SCRIPT Pioneer_p3dx"]:46: in main chunk
Thank you a lot in advance.
Best regards.