Search found 1011 matches

by fferri
31 May 2021, 08:41
Forum: General questions
Topic: setObject moving different than commanded
Replies: 2
Views: 6148

Re: setObject moving different than commanded

Don't know about your complete code or your simulation scene. This code works for me: function left() sim.setObjectOrientation(handle,handle,{0,0,math.pi/8}) end function forward() sim.setObjectPosition(handle,handle,{0.05,0,0}) end function right() sim.setObjectOrientation(handle,handle,{0,0,-math....
by fferri
31 May 2021, 08:30
Forum: General questions
Topic: question about getting Joystick data and writing it into the file
Replies: 1
Views: 3590

Re: question about getting Joystick data and writing it into the file

Hi,

your code is not complete (e.g. function current_moving is not called from anywhere).
by fferri
28 May 2021, 13:05
Forum: General questions
Topic: How to use OMPL
Replies: 4
Views: 3924

Re: How to use OMPL

Hi,

this is a good starting point:

Path/motion planning
by fferri
10 May 2021, 14:33
Forum: General questions
Topic: Where is my calculation module?
Replies: 2
Views: 4366

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: 3412

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: 3412

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
20 Apr 2021, 09:41
Forum: General questions
Topic: How to save a depth image as a point cloud?
Replies: 5
Views: 1443

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: 2273

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: 904

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
02 Apr 2021, 21:51
Forum: General questions
Topic: OMPL Path Structure
Replies: 5
Views: 1854

Re: OMPL Path Structure

Code: Select all

sim.setObjectOrientation(handle,-1,{0,0,theta})