Search found 6 matches

by Robert
14 Apr 2016, 16:08
Forum: General questions
Topic: Coordinate transformation
Replies: 3
Views: 997

Re: Coordinate transformation

I tried it this way but still it is not working. When i press the key it is moving in the right way but afer i release it should stop there. Instead of this, it is slowly floating away. On the c++ side i call the simxCallScriptDunction(with this i call addForceAndTorque in the script) twice. First t...
by Robert
08 Apr 2016, 06:59
Forum: General questions
Topic: Coordinate transformation
Replies: 3
Views: 997

Coordinate transformation

Hello! In a nuthsell, I am controlling a quqdcopter from c++ remote API. Have some code implemented on both server and client sides because of the missing functions. The hover part is in vrep script and the movement(up, down, left, right, turn) in c++. From the client i call the below with simxCallS...
by Robert
05 Mar 2016, 13:46
Forum: General questions
Topic: simxCallScriptFunction in c++ remoteApi
Replies: 2
Views: 1790

Re: simxCallScriptFunction in c++ remoteApi

Thank you. It's working great :)
by Robert
01 Mar 2016, 23:18
Forum: General questions
Topic: simxCallScriptFunction in c++ remoteApi
Replies: 2
Views: 1790

simxCallScriptFunction in c++ remoteApi

Hi. I am trying to use simxCallScriptFunction in a c++ remoteApi. As i understood from the descrition, that I can call a Lua function from outside v-rep. If that so, then i guess i can use it to call simAddForceAndTorque form a remoteApi. I kinda know, what the parameters are good for, but still... ...
by Robert
25 Aug 2015, 13:01
Forum: General questions
Topic: Control quadricopter remote API vs c++
Replies: 5
Views: 2514

Re: Control quadricopter remote API vs c++

I managed to connect to V-REP and I was also able to write a short program in c++ to move a bubbleRob bot with keyboard. I did this by using simxSetJointTargetVelocity and for the object parameter I used what I got from simxGetObjectHandle. The objects were these two: remoteApiControlledBubbleRobLef...
by Robert
19 Aug 2015, 14:44
Forum: General questions
Topic: Control quadricopter remote API vs c++
Replies: 5
Views: 2514

Control quadricopter remote API vs c++

Hello, I'm new to v-rep and I'm on to control a quadricopter with remote API from visual studio c++ with keyboard butttons, but i'm stuck at the beggining. I've set up the client side like shown here , but i have no idea how should I do the server side. I mean is the server side ( server ) in the v-...