Thanks for sharing @damien-marchaluniv-lille1-fr! Very clean with the easing functions.
Thanks for the fast reply! I found an alternative solution to interface SOFA with ROS that works well for me. I am using the .pyscn scripts to build my scenes.
To interface them with ROS, I import the rospy module to the .pyscn scripts. This allows to access all ROS specific commands and hence directly subscribe and publish ROS topics. Make sure that the .pyscn script is either in the ROS workspace or that the path to the workspace is added to PYTHONPATH: sys.path.append(‘~/catkin_ws/src/’).
I encountered the same problem with ROS melodic. Have you found a solution?
Thanks!
___________________________________________________________________________
CMake Error at applications/plugins/SofaROSConnector/ZyROSConnectionManager/CMakeLists.txt:67 (add_library):
Cannot find source file:
~/sofa/sofa_v19.12/build/applications/plugins/SofaROSConnector/ZyROSConnectionManager/ZyROS_MessageType_Instantiations.h
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.