Search found 11 matches

by xli4217
02 Oct 2019, 02:21
Forum: General questions
Topic: Obtain sensor data after actuation in asynchronous mode
Replies: 3
Views: 206

Re: Obtain sensor data after actuation in asynchronous mode

Thanks for your response. I'm simulating what it's like running on the real robot and the actual robot runs sensing and actuating threads concurrently. Do you think it's sensible to timestamp every signal. For example, if control is running at 10hz and the first control a1 is sent out at time t = 0,...
by xli4217
27 Sep 2019, 17:25
Forum: General questions
Topic: Obtain sensor data after actuation in asynchronous mode
Replies: 3
Views: 206

Obtain sensor data after actuation in asynchronous mode

Hi, I'm controlling a robot in asynchronous mode sending control commands in non-blocking fashion (opmode_onshot or opmode_streaming). At every timestep "t", I issue a control "a_t", how do I make sure that the sensor reading I obtain is the result of issuing "a_t" and not something that's buffered ...
by xli4217
02 May 2019, 23:09
Forum: General questions
Topic: Simulation stops when getting data from a 3D Laser scanner
Replies: 1
Views: 424

Simulation stops when getting data from a 3D Laser scanner

I am using V-rep with Python Remote API. The 3D Laser scanner (provided in Model browser) is based on a vision sensor. I can get the measuredData which contains all the points that are closer than the sensor range. I used the function sim.setStringSignal("measuredData",data) to send the data, and I ...
by xli4217
06 Oct 2018, 04:04
Forum: General questions
Topic: simulation slows down with multiple robots
Replies: 1
Views: 663

simulation slows down with multiple robots

Hi,

I'm experiencing significant slowdown with multiple robots (4 baxters in my case), is this normal? Is there any way to prevent this?

Thanks
by xli4217
19 Sep 2018, 03:29
Forum: General questions
Topic: Attach frame to model
Replies: 1
Views: 589

Attach frame to model

Hi, I was wondering if it's possible to attach a frame to a predefined position/orientation on a robot's gripper and have the frame always follow the motion of the gripper (static relative to the gripper's center frame). Thank you.
by xli4217
26 Aug 2016, 16:25
Forum: General questions
Topic: Path planning using remote API and synchronous mode
Replies: 3
Views: 1869

Re: Path planning using remote API and synchronous mode

Thanks for your reply. What you suggested works well in pure simulation, but I want to construct the code so that transferring to actual hardware will be trivial. Therefore I guess I should write as little lua code as possible. Is it possible to write the planning part in C++ or python (a plugin may...
by xli4217
26 Aug 2016, 05:37
Forum: General questions
Topic: Path planning using remote API and synchronous mode
Replies: 3
Views: 1869

Path planning using remote API and synchronous mode

Hi, I saw this statement in one of the earlier posts "What takes long, is not the collision checking in itself, it is the way you use the remote API. Also, doing path planning via the remote API is probably not a good idea, since you don't have fast synchronization, and always suffer from the lag of...
by xli4217
02 Jun 2016, 15:35
Forum: General questions
Topic: Contrain motion to certain DOF
Replies: 3
Views: 2437

Contrain motion to certain DOF

Hi, as per the title, I was wondering if there's a quick way to constrain the motion of my robot to say only move in the z direction and fix the other 2 translational and 3 rotational DOFs.

Thank you
by xli4217
11 May 2016, 01:51
Forum: General questions
Topic: Python remote API in synchronous mode
Replies: 4
Views: 2148

Re: Python remote API in synchronous mode

One more question that came up is that if I'm using simxSynchronousTrigger and in the simulator dt=50ms which is the default, does that mean my simulation no longer updates every 50ms but updates according to the frequency simxSynchronousTrigger is called? If so is there a convenient way to measure ...