Hi,
have a look at this: https://forum.coppeliarobotics.com/viewtopic.php?t=7212
Search found 1011 matches
- 25 Mar 2020, 12:22
- Forum: General questions
- Topic: ubuntu 14.04 run coppeliaSim
- Replies: 1
- Views: 488
- 25 Mar 2020, 12:20
- Forum: General questions
- Topic: Mathematic function on LuaScript
- Replies: 4
- Views: 851
Re: Mathematic function on LuaScript
Not sure I understand what you are looking for.
How about this:
How about this:
Code: Select all
> function math.saw(x) return math.fmod(x,1) end
> for x=0,3,0.2 do print(x..'\t'..math.saw(x)) end
0 0
0.2 0.2
0.4 0.4
0.6 0.6
0.8 0.8
1 0
1.2 0.2
1.4 0.4
1.6 0.6
1.8 0.8
2 1
2.2 0.2
2.4 0.4
2.6 0.6
2.8 0.8
- 24 Mar 2020, 22:25
- Forum: General questions
- Topic: Develop plugin for Coppelia Sim using LibPlugin
- Replies: 15
- Views: 3315
Re: Develop plugin for Coppelia Sim using LibPlugin
- Change the #include "simStubsGen/cpp/stubs.h" to #include "generated/stubs.h" into plugin.cpp after generating the project with Cmake There's no such #include in simExtPluginSkeletonNG. simExtPluginSkeletonNG #includes "stubs.h", and since $CMAKE_BINARY_DIR/generated...
- 24 Mar 2020, 22:19
- Forum: General questions
- Topic: Cant load swarm robot ttm model file on latest coppelia simulator version
- Replies: 3
- Views: 820
Re: Cant load swarm robot ttm model file on latest coppelia simulator version
Not sure what are the differences, but CoppeliaSim ships with a Kilobot model.
- 24 Mar 2020, 12:10
- Forum: General questions
- Topic: Develop plugin for Coppelia Sim using LibPlugin
- Replies: 15
- Views: 3315
Re: Develop plugin for Coppelia Sim using LibPlugin
Nope. PyCPP is a custom preprocessor, and no IDE has support for its syntax. However it is integrated in the CMake build, and it will generate the .cpp files which can be compiled by your compiler.
PyCPP tempates should not (directly) be part of the project. Which file is that?
PyCPP tempates should not (directly) be part of the project. Which file is that?
- 24 Mar 2020, 07:55
- Forum: General questions
- Topic: fast Hokuyo laser scan data with ROS
- Replies: 12
- Views: 18125
Re: fast Hokuyo laser scan data with ROS
Note that there is a Hokuyo laser scanner (Hokuyo_URG_04LX_UG01_ROS) which is made specifically for ROS. Athough it is for the old ROS pugin, it might be easier to adjust.
- 24 Mar 2020, 07:40
- Forum: General questions
- Topic: fast Hokuyo laser scan data with ROS
- Replies: 12
- Views: 18125
Re: fast Hokuyo laser scan data with ROS
This is the portion of code information from CoppeliaSim -- measuredData now contains all the points that are closer than the sensor range -- For each point there is the x, y and z coordinate (i.e. 3 number for each point) Do you realize sensor_msgs/LaserScan works with points in polar coordinates,...
- 23 Mar 2020, 20:49
- Forum: General questions
- Topic: fast Hokuyo laser scan data with ROS
- Replies: 12
- Views: 18125
Re: fast Hokuyo laser scan data with ROS
Refer to the documentation of the sensor_msgs/LaserScan message.
CoppeliaSim uses SI units (i.e.: meters, radians, and seconds).
By the way your code doesn't show how you create the data arrays.
CoppeliaSim uses SI units (i.e.: meters, radians, and seconds).
By the way your code doesn't show how you create the data arrays.
- 23 Mar 2020, 20:38
- Forum: General questions
- Topic: Develop plugin for Coppelia Sim using LibPlugin
- Replies: 15
- Views: 3315
Re: Develop plugin for Coppelia Sim using LibPlugin
If you stick with the standard layout it should build without any extra settings: just put simExtPluginSkeletonNG and libPlugin in the CoppeliaSim's programming subdirectory.
Otherwise you need to specify the
Otherwise you need to specify the
LIBPLUGIN_DIR
CMake variable and/or the COPPELIASIM_ROOT_DIR
environment variable.- 23 Mar 2020, 18:41
- Forum: General questions
- Topic: Develop plugin for Coppelia Sim using LibPlugin
- Replies: 15
- Views: 3315
Re: Develop plugin for Coppelia Sim using LibPlugin
If you are having some build issue you should post the relevant output, and provide additional details about your environment, OS, etc, in order to get some help. libPlugin is a framework used by many plugins, consisting (currently) of three parts: simPlusPlus : some C++ stuff to ease the writing of...