Search found 44 matches

by DannyYeong
26 Jun 2015, 01:46
Forum: General questions
Topic: Setting Vision Sensor back to default direction
Replies: 0
Views: 2881

Setting Vision Sensor back to default direction

Hi, I've posted this before as a side question and the reply was to increase the clipping distance until it reaches the ground. However the vision sensor still "drifts" away from the floor once the object is gone. May I know any alternatives to set the camera back to default state (looking straight ...
by DannyYeong
23 Jun 2015, 20:19
Forum: General questions
Topic: Prevent Collision Quadcopters (Use Prox. Sensors)
Replies: 4
Views: 2711

Re: Prevent Collision Quadcopters (Use Prox. Sensors)

Well, your problem is basically to write a good controller for your system (or quadcopters). A controller has many inputs and some outputs. So you basically need to write a function that takes into account all inputs (from the vision sensor, from the distance between neighbouring quadcopters) in or...
by DannyYeong
22 Jun 2015, 16:27
Forum: General questions
Topic: Prevent Collision Quadcopters (Use Prox. Sensors)
Replies: 4
Views: 2711

Re: Prevent Collision Quadcopters (Use Prox. Sensors)

Hello Danny, there are many ways of doing this. First, increase the far clipping plane of your vision sensors, so that they always see the floor. Then, the easiest would be to consider each quadcopter as a point, then compute point-point distances, and if a distance is too close, move one or anothe...
by DannyYeong
21 Jun 2015, 13:21
Forum: General questions
Topic: Prevent Collision Quadcopters (Use Prox. Sensors)
Replies: 4
Views: 2711

Prevent Collision Quadcopters (Use Prox. Sensors)

Hi, I have a self-made quadcopter with 4 units in a file. They contain the same non-threaded script. Currently I'm trying to prevent them from colliding one another after the blob is detected (red ball). I plan to "maintain a certain distance" if they're near one another. You can move the red ball a...
by DannyYeong
18 Jun 2015, 10:58
Forum: General questions
Topic: Change Default Path to Target after detection
Replies: 1
Views: 2416

Change Default Path to Target after detection

Hi, I'm trying to make a quadcopter to move towards to a detected target (attached blob detection camera). However, before detection, the quadcopter is already moving in a default path planned direction. During detection, the quad should "ignore" its default path and then move towards the detected t...
by DannyYeong
10 Jun 2015, 14:45
Forum: General questions
Topic: Vision Sensor - Spherical or Revolute Joint
Replies: 2
Views: 1839

Re: Vision Sensor - Spherical or Revolute Joint

Hello Danny, you can of course also use a spherical joint, but be aware that you can't control your spherical joint dynamically (i.e. it will act as a non-actuated joint). But in the end, using two revolute joints, as is done in reality, is probably the better option. Cheers I see, ok then I'll use...
by DannyYeong
10 Jun 2015, 08:14
Forum: General questions
Topic: Movement Control - Velocity or Force (BODY)
Replies: 1
Views: 1637

Movement Control - Velocity or Force (BODY)

Hi, EDIT: Currently I've used this command setJointTargetVelocity to give certain (not initial) velocity whenever a target object changes so the joint will follow it. I was trying to use simSetObjectFloatParameter(objecthandle,3000,x) on an object. The problem is that I couldn't set an algorithm in ...
by DannyYeong
09 Jun 2015, 15:06
Forum: General questions
Topic: Vision Sensor - Spherical or Revolute Joint
Replies: 2
Views: 1839

Vision Sensor - Spherical or Revolute Joint

Hi,

I'm currently learning from a tutorial on vision servoing. The vision sensor will move based on its detection on a certain blob. A Yaw and Pitch revolute joint was used to tilt the sensor. But what if I choose to use a spherical joint?Since it covers all sections of an area sweep.

Regards,
Danny
by DannyYeong
09 Jun 2015, 10:37
Forum: General questions
Topic: Changed Object Axis (Solidworks to VREP)
Replies: 2
Views: 2409

Re: Changed Object Axis (Solidworks to VREP)

Hello, your STL file (and most mesh file formats) does not contain any information about reference frames for the exported shapes. It just contains vertices and indices. In any case, during import, V-REP will try to find a bounding box for each shape, that minimizes the volume of the bounding box. ...
by DannyYeong
08 Jun 2015, 15:44
Forum: General questions
Topic: Changed Object Axis (Solidworks to VREP)
Replies: 2
Views: 2409

Changed Object Axis (Solidworks to VREP)

Hi, I'm trying to import a shape made from Solidworks to VREP. The drawing's axis changed when it's in VREP. Here's my STL file: http://www.filedropper.com/quadmodel2 Below shows the Solidwork's axis reference. Once imported, the axis of my drawing changed. What might be the problem? http://www.file...