Search found 7150 matches

by coppelia
14 Jun 2019, 13:35
Forum: General questions
Topic: Learning joint dynamics
Replies: 6
Views: 332

Re: Learning joint dynamics

I am not sure I understand what you mean ;) If you want to produce specific force/torque output for a given joint, based on some value calculated by a neural network for instance, then you should use a joint control callback function . The force/torque will still be applied by the underlying joint m...
by coppelia
14 Jun 2019, 13:23
Forum: General questions
Topic: Simulate multiple steps
Replies: 2
Views: 182

Re: Simulate multiple steps

Hello, if you want to step a simulation from within V-REP, then you will have to loop into the callback function sysCall_beforeMainScript used inside of a customization script, as was done in the simulation stepper tool. That function will basically be called at the beginning of every simulationstep...
by coppelia
14 Jun 2019, 13:15
Forum: General questions
Topic: Tool change and fixed orientation of tool in industrial simulation
Replies: 1
Views: 150

Re: Tool change and fixed orientation of tool in industrial simulation

Hello, yes, you can change object parenting also when simulation is running. If your end-effector (or tool) is dynamically enabled, you will probably have to reset that model appropriately, as explained here for instance. If you want to follow a particular path (e.g. a straight line) and/or keep a s...
by coppelia
14 Jun 2019, 13:08
Forum: General questions
Topic: Joint Dynamics Properties on NAO Controller
Replies: 3
Views: 287

Re: Joint Dynamics Properties on NAO Controller

Please try to make a minimalistic example that illustrates your problem. Best would be to have a very simple scene with a single joint. Debugging a complex robot such as the NAO robot is almost impossible if you do not break things down.

Cheers
by coppelia
14 Jun 2019, 13:03
Forum: General questions
Topic: Synchronous mod connection Matlab, delay simulation
Replies: 1
Views: 106

Re: Synchronous mod connection Matlab, delay simulation

Not sure I correctly understand your question.
Maybe make sure that your simulation step has finished executing, before sending new values or querying values?

Cheers
by coppelia
14 Jun 2019, 12:45
Forum: General questions
Topic: QMutex : destroying locked mutex
Replies: 2
Views: 87

Re: QMutex : destroying locked mutex

Hello,

it seems that it crashes in the old openGl-based custom user interfaces. Do not use them anymore, and try to use the Qt-based custom UIs.

Cheers
by coppelia
14 Jun 2019, 12:40
Forum: General questions
Topic: Proper usage of B0 remote APIs simxCreatePublisher() and simxCreateSubscriber()
Replies: 1
Views: 138

Re: Proper usage of B0 remote APIs simxCreatePublisher() and simxCreateSubscriber()

Hello, I am not sure I understood everything correctly. Sometimes is is easier to break down a question into smaller pieces at a time. Can you post a minimalistic scene that illustrates the delay you are talking about? (best by simply modifying the existing simpleTest example programs for the B0-bas...
by coppelia
14 Jun 2019, 12:22
Forum: General questions
Topic: Method to MATLAB workspace data
Replies: 2
Views: 122

Re: Method to MATLAB workspace data

As a rule of thumb, do all low-level functionality and what needs to go fast inside V-REP (via Lua scripting, or by writing a V-REP plugin that exports specific C++ functions to be callable from Lua). All high-level functionality and what does not require frequent V-REP function calls, you can do it...
by coppelia
14 Jun 2019, 12:19
Forum: General questions
Topic: meaning of inData and outData of sysCall_jointCallback function?
Replies: 1
Views: 76

Re: meaning of inData and outData of sysCall_jointCallback function?

Hello,

what happens if you hard-code the max. force/torque and joint target velocity in the joint callback function? Does it work then?
Can you post a simple scene that illustrates your problem?

Cheers