Search found 15 matches

by Chiara
22 Jan 2024, 16:48
Forum: General questions
Topic: How to use getPathInterpolatedConfig
Replies: 2
Views: 1798

Re: How to use getPathInterpolatedConfig

Hi, I tried again and I think I did some improvements but the results is not okay.

By looking the documentation I understood that the only way to handle path trajection is via coordinates (x,y,z + quaternion). For this reason I changed my code as follows:


local path={}
for k, v in pairs ...
by Chiara
20 Jan 2024, 14:25
Forum: General questions
Topic: How to use getPathInterpolatedConfig
Replies: 2
Views: 1798

How to use getPathInterpolatedConfig

Hi!

In my scene I use this command
local path=simIK.generatePath(ikEnv,ikGroup,ikJoints,ikTip,300)
in order to have the joints configuration (angular position in this case) that I need to apply for reach the target.

I would like that the joints' velocity vary during the time..I saw the tutorial ...
by Chiara
27 Dec 2023, 11:11
Forum: General questions
Topic: How to apply joint configuration at once
Replies: 6
Views: 25992

Re: How to apply joint configuration at once

Hi,

here there is the link https://drive.google.com/file/d/1Ba1Ig--a-f6OC4et4AayJoU3FHbNRkwy/view?usp=sharing

You should:
- (if you want) set a starting configuration for the robot
- press Continue
- press Repeat

You will find the code I posted at the function repeatClick. I have added some ...
by Chiara
22 Dec 2023, 15:15
Forum: General questions
Topic: How to apply joint configuration at once
Replies: 6
Views: 25992

Re: How to apply joint configuration at once

Thanks for the answer!

I tried what you suggested me but I still don't see my robot moving. I wonder if it is related to visualization/script handling. I noticed that in the last software update there is a new way to handle the functions, i.e. via sim.step(). Could be this the reason why I don't ...
by Chiara
18 Dec 2023, 08:27
Forum: General questions
Topic: How to apply joint configuration at once
Replies: 6
Views: 25992

Re: How to apply joint configuration at once

I'm sorry, but I was wondering if someone can help me..is it possible to assign joints angular position at once?
by Chiara
15 Dec 2023, 18:18
Forum: General questions
Topic: How to apply joint configuration at once
Replies: 6
Views: 25992

How to apply joint configuration at once

Hi,

in my script I collect the joints' position while the robot is reaching a target via IK.


function getTableJointsPos()
local jointsPos = {}

for i=1,#simJoints,1 do
jPos = radToDeg(sim.getJointPosition(simJoints[i]))
if i == 5 then
jPos = -1 * jPos
end
table.insert(jointsPos, jPos ...
by Chiara
23 Nov 2023, 10:11
Forum: General questions
Topic: Force joint position in closed loop system
Replies: 6
Views: 8976

Re: Force joint position in closed loop system

Thanks for the precious help!
by Chiara
22 Nov 2023, 12:39
Forum: General questions
Topic: Force joint position in closed loop system
Replies: 6
Views: 8976

Re: Force joint position in closed loop system

Wow! Thanks a lot!!!! This was exactly what I needed! Many many thanks!

Since that I want to really understand how and why it worked, I searched for passive joint in the https://www.coppeliarobotics.com/helpFiles/index.html but I didn't find anything. Do you know where I can find some information ...
by Chiara
20 Nov 2023, 15:59
Forum: General questions
Topic: Force joint position in closed loop system
Replies: 6
Views: 8976

Force joint position in closed loop system

Hi,

I have a closed loop system having 5 joints but only two of them have a motor associated. Here you can download my scene https://drive.google.com/drive/folders/1fOtgujSDOHR9s7Sx04NoQjgYbF7Zmnwo?usp=drive_link .
I have already set the IK elements and everything works properly.

I can't ...