Search found 1044 matches
- 03 Jun 2024, 14:30
- Forum: Feature requests
- Topic: Camera intrinsics params
- Replies: 1
- Views: 1290
Re: Camera intrinsics params
Correct, from an OpenGL projection matrix you can only extract focal length (directly related to FoV). f = \frac{1}{tan(\frac{1}{2}FoV)} The other params (center, skewness) are typically zero. If you want lens distortion, you can apply it after acquiring the image from the sensor. Then you already k...
- 03 Jun 2024, 13:15
- Forum: General questions
- Topic: GImbal Simulation
- Replies: 1
- Views: 20
Re: GImbal Simulation
A gimbal basically is a set of passive pendulums, which you can create by use of masses and passive joints.
- 03 Jun 2024, 08:12
- Forum: General questions
- Topic: Connecting two Links from different Parent Joints
- Replies: 1
- Views: 42
- 03 Jun 2024, 08:09
- Forum: General questions
- Topic: sim.wait execution
- Replies: 1
- Views: 60
Re: sim.wait execution
You can't use sim.wait in a non-threaded script.
Either check the value returned by sim.getSimulationTime (e.g.: set
Either check the value returned by sim.getSimulationTime (e.g.: set
belVelocity
only if t>2
), or use a threaded script instead where you can use sim.wait.- 01 Jun 2024, 07:45
- Forum: Bug reports
- Topic: Error in getJointForce method
- Replies: 2
- Views: 122
Re: Error in getJointForce method
Fixed in V4.7:
https://forum.coppeliarobotics.com/view ... 619#p40619
Meanwhile, to avoid this error, don't read the force in the first simulation step.
https://forum.coppeliarobotics.com/view ... 619#p40619
Meanwhile, to avoid this error, don't read the force in the first simulation step.
- 28 May 2024, 15:46
- Forum: General questions
- Topic: Looking for example of random pick and place
- Replies: 5
- Views: 692
Re: Looking for example of random pick and place
You can obtain these joint configurations in various ways: manually, by moving the joints to bring the robot's end-effector to the desired pose; the Joint Tool add-on (under Modules > Kinematics) can help you with that. by using the simIK function simIK.findConfig. if you already created a script to...
- 25 May 2024, 12:06
- Forum: General questions
- Topic: Gas sensors in CoppeliaRobotics
- Replies: 5
- Views: 1322
Re: Gas sensors in CoppeliaRobotics
Yes, you can use OcTrees, Point Clouds or Drawing Objects, and their relative APIs.
However with a dense scalar field like this, it would be difficult to look at the whole field at once. Probably you want to look at it one particular 2D slice at a time.
However with a dense scalar field like this, it would be difficult to look at the whole field at once. Probably you want to look at it one particular 2D slice at a time.
- 24 May 2024, 15:01
- Forum: General questions
- Topic: Gas sensors in CoppeliaRobotics
- Replies: 5
- Views: 1322
Re: Gas sensors in CoppeliaRobotics
Yes. You would compute the diffusion model yourself e.g. in sysCall_actuation() updating C[x][y][z] (the gas concentration at position x, y, z) using whatever diffusion model and environment parameters you wish. e.g. -- lua function sysCall_init() C = ... -- create new 3D grid end function sysCall_a...
- 24 May 2024, 07:39
- Forum: General questions
- Topic: drawing rectangle or circle on image obtained from vision sensor
- Replies: 3
- Views: 823
Re: drawing rectangle or circle on image obtained from vision sensor
Yes, via negative thickness param in some frunctions, or specific filling functions of simIM.
- 24 May 2024, 07:37
- Forum: General questions
- Topic: using OMPL library for path planning of PKM robot 'irb360'
- Replies: 6
- Views: 1228
Re: using OMPL library for path planning of PKM robot 'irb360'
simOMPL.writeState is a general purpose function that writes a state for a compound state space. For every component type of the state space it will use the correct CoppeliaSim API, namely: simOMPL.StateSpaceType.position2d => sim.setObjectPosition (state space is R²) simOMPL.StateSpaceType.pose2d =...