You mean the first three on the right in the Simulation settings dialog?
You have to select custom dt to be able to change those.
Search found 1016 matches
- 25 Mar 2020, 22:38
- Forum: General questions
- Topic: The joint made a little movement at the begginning of simulation.
- Replies: 6
- Views: 2009
- 25 Mar 2020, 21:56
- Forum: General questions
- Topic: Aspects of hexapod
- Replies: 3
- Views: 678
Re: Aspects of hexapod
Is the base static?
- 25 Mar 2020, 21:15
- Forum: General questions
- Topic: The joint made a little movement at the begginning of simulation.
- Replies: 6
- Views: 2009
Re: The joint made a little movement at the begginning of simulation.
Have a look at the considerations in Designing dynamic simulations, especially points 6, 7, 8.
- 25 Mar 2020, 13:59
- Forum: General questions
- Topic: Drawing a line into a vision sensor image
- Replies: 2
- Views: 667
Re: Drawing a line into a vision sensor image
Following code works. The vision sensor is in "explicit handling" mode. function sysCall_init() sensor=sim.getObjectAssociatedWithScript(sim.handle_self) center={x=64,y=64}; color={100,100,100} end function sysCall_actuation() sim.handleVisionSensor(sensor) imgHandle=simIM.readFromVisionSe...
- 25 Mar 2020, 12:59
- Forum: General questions
- Topic: Mathematic function on LuaScript
- Replies: 4
- Views: 853
Re: Mathematic function on LuaScript
math.saw
is the function I just defined.math.modf
is described in the link you posted earlier.CoppeliaSim manual has a Lua crash course, and there are more learning resources on the Lua website.
- 25 Mar 2020, 12:22
- Forum: General questions
- Topic: ubuntu 14.04 run coppeliaSim
- Replies: 1
- Views: 489
- 25 Mar 2020, 12:20
- Forum: General questions
- Topic: Mathematic function on LuaScript
- Replies: 4
- Views: 853
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: 3323
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: 822
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: 3323
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?