Search found 728 matches

by fferri
10 May 2021, 14:33
Forum: General questions
Topic: Where is my calculation module?
Replies: 2
Views: 442

Re: Where is my calculation module?

Third party videos often refer to old versions.

According to the Inverse Kinematic tutorial of the latest release, there is no such IK calculation module UI. Instead, IK is set up by adding a few lines of Lua code.
by fferri
29 Apr 2021, 12:09
Forum: General questions
Topic: Vrep collada file to moveit
Replies: 6
Views: 1237

Re: Vrep collada file to moveit

CoppeliaSim has an URDF importer and an SDF importer, but no exporters.

You'll have to write your own exporter add-on.

The simAddOnMinimalistic exporter.lua add-on might be a good starting point, and here is a tutorial on the URDF format.
by fferri
28 Apr 2021, 21:58
Forum: General questions
Topic: Vrep collada file to moveit
Replies: 6
Views: 1237

Re: Vrep collada file to moveit

seok wrote:
27 Apr 2021, 12:53
The problem is that Vrep can only export module as Collada file as I know but I can't load it on moveit.
Are you sure a Collada is a valid robot model for MoveIt?

I have no experience with MoveIt in particular, but I think it needs a URDF model or something like that..
by fferri
28 Apr 2021, 21:50
Forum: General questions
Topic: Path planning for Pioneer P3DX
Replies: 2
Views: 1055

Re: Path planning for Pioneer P3DX

You can use also simOMPL.drawPath to draw an OMPL path, e.g.: drawingObjects=simOMPL.drawPath(taskHandle,thePath,lineSize,color,extraAttributes) later remove the drawing objects with: simOMPL.removeDrawingObjects(taskHandle,drawingObjects) however this will work only if your task defines a 3D euclid...
by fferri
20 Apr 2021, 09:41
Forum: General questions
Topic: How to save a depth image as a point cloud?
Replies: 5
Views: 293

Re: How to save a depth image as a point cloud?

Hi,

have a look at the model components/sensors/3D laser scanner Fast.ttm.
by fferri
16 Apr 2021, 09:50
Forum: General questions
Topic: ros control controller with coppeliasim
Replies: 2
Views: 980

Re: ros control controller with coppeliasim

Hi,

why not using the ROS interface Lua API?

Is ros_control a C++ only interface?
by fferri
06 Apr 2021, 15:46
Forum: General questions
Topic: How are images from sim.getVisionSensorImage() formatted?
Replies: 1
Views: 256

Re: How are images from sim.getVisionSensorImage() formatted?

Yes reshape is used to change the shape of a matrix (without changing the order of elements).
by fferri
06 Apr 2021, 15:43
Forum: General questions
Topic: Getting vision sensor image in python
Replies: 1
Views: 202

Re: Getting vision sensor image in python

If blue and red are swapped, probably you need to convert the colors with cv::cvtColor (passing COLOR_RGB2BGR).

You can learn more about why OpenCV uses BGR format (spoiler: due to historical reasons) searching "why OpenCV uses BGR" on Google.
by fferri
02 Apr 2021, 21:51
Forum: General questions
Topic: OMPL Path Structure
Replies: 5
Views: 684

Re: OMPL Path Structure

Code: Select all

sim.setObjectOrientation(handle,-1,{0,0,theta})
by fferri
25 Mar 2021, 11:12
Forum: Bug reports
Topic: Problem with Instalation
Replies: 2
Views: 1167

Re: Problem with Instalation

Erfan wrote:
23 Mar 2021, 11:55
CMake Error at sim_ros_interface/CMakeLists.txt:68 (coppeliasim_add_plugin):
Unknown CMake command "coppeliasim_add_plugin".
You need to update your libPlugin repository (located in CoppeliaSim's programming folder) to latest version. And probably also include and common.