Search found 15 matches

by MaJiamu
29 Mar 2024, 04:03
Forum: General questions
Topic: how to send data from matlab to CoppeliaSim
Replies: 1
Views: 85

how to send data from matlab to CoppeliaSim

Hello, I connect the Matlab and CoppeliaSim with ZMQ Remote API. And it is really easy to coding in matlab with lua API function to control the object in CoppeliaSim. However, I was wondering about the way to send data from matlab to CoppeliaSim. In this way, I can calulate the configuration result ...
by MaJiamu
04 Jan 2024, 16:28
Forum: General questions
Topic: Why the Revolute joint break when the acceleration happens to the child object of the joint?
Replies: 6
Views: 37047

Why the Revolute joint break when the acceleration happens to the child object of the joint?

Hello, I was creating a robot with a Prismatic joint and several Revolute joints. The child object of the first revolute joint is dynamic. While both the prismatic joint and revolute joint are setted to dynamic mode. Besides, the revolute joint was under the control mode with Velocity. The phenomeno...
by MaJiamu
10 Jun 2023, 08:38
Forum: General questions
Topic: How to create a leg of hexapod robot with adsorption function?
Replies: 1
Views: 1581

How to create a leg of hexapod robot with adsorption function?

Hello, I have two questions about how to create a leg of hexapod robot with adsorption funciton. The first one is the spherical joint used in the ankle joint of legs doesn't work as expected. Actually, the spherical joint is supposed to act like a human ankle which obtains the ability of passive ada...
by MaJiamu
03 Mar 2023, 08:20
Forum: General questions
Topic: How to fill a color in a closed curve which is created by simUI.addCurve?
Replies: 1
Views: 1458

How to fill a color in a closed curve which is created by simUI.addCurve?

Hello, I am trying to display a dynamic sectional view in Custom user interfaces. And, I want to fill different colors in different region in the plot view, such as https://photos.app.goo.gl/RdkMevPxUMNeVLWNA . There are several regions in the plot view created by simUI.addCurve, and I want to fill ...
by MaJiamu
13 Dec 2021, 07:01
Forum: General questions
Topic: Looking forward to the alternative solution of milling/cutting simulation
Replies: 0
Views: 122581

Looking forward to the alternative solution of milling/cutting simulation

Hello, I want to find an alternative solution of milling/cutting simulation because the function of milling in CoppeliaSim has been deprecated for a long time. Is there any suggestion for me to do this work? Thanks a lot for anyone's help.

by MaJiamu
10 Dec 2021, 04:21
Forum: General questions
Topic: use 'sim.moveToPose' to control two object move with different position
Replies: 4
Views: 9347

Re: use 'sim.moveToPose' to control two object move with different position

You can't call another coroutine/thread from a coroutine/thread. You'll have to work by organizing your coroutines as workers, that can be triggered/activated with specific variables for instance: function coroutineMain() while true do if commandPending then -- handle pending command commandPending...
by MaJiamu
01 Dec 2021, 14:17
Forum: General questions
Topic: use 'sim.moveToPose' to control two object move with different position
Replies: 4
Views: 9347

Re: use 'sim.moveToPose' to control two object move with different position

Hello, you have at least 3 possibilities: use a threaded child script for each object to move write an alternative function similar to sim.moveToPose: that function merely uses sim.rmlPos, sim.rmlStep and sim.rmlRemove, and you can then write movement functions for n DoFs, or for n objects However ...
by MaJiamu
28 Nov 2021, 08:00
Forum: General questions
Topic: use 'sim.moveToPose' to control two object move with different position
Replies: 4
Views: 9347

use 'sim.moveToPose' to control two object move with different position

Hello, I want to control two or more dummies to move along different direction and different distance at the same time. I read the instruction about the API function 'sim.moveToPose' , but it seems that this API function can not do this. Maybe Prismatic joints can do this, but I am preferring the 's...
by MaJiamu
09 Nov 2021, 15:58
Forum: General questions
Topic: Problem in robot control with UI
Replies: 4
Views: 10010

Re: Problem in robot control with UI

fferri wrote: 09 Nov 2021, 11:04 Try to add some print(...) here and there to understand what's not being called.
Thanks for ur advices!