Search found 13 matches

by Msalmanch
09 May 2017, 17:44
Forum: General questions
Topic: Disabling handles of khepera iii
Replies: 3
Views: 769

Re: Disabling handles of khepera iii

I mean the handles of khepera III robot i.e the motors sensors etc in lua script they are conflicting with the ones I have defined in python script. When the simulation starts the robot does nothing. If I remove the robot handles from python script and only send integer signal to LUA for controlling...
by Msalmanch
09 May 2017, 06:58
Forum: General questions
Topic: Disabling handles of khepera iii
Replies: 3
Views: 769

Disabling handles of khepera iii

Hello, I am currently controlling the gripper of khepra3 by sending signal from remote api python script to Lua and also the whole robot is controlled from python script i.e the sensors motors etc. The issue is when I start the simulation the robot does not move. I think the handles of Khepra3 in Lu...
by Msalmanch
28 Apr 2017, 08:58
Forum: General questions
Topic: Simxcallscriptfunction
Replies: 3
Views: 820

Re: Simxcallscriptfunction

Ok. Just tell me can I use simxcallscriptfunction from python to call data from MATLAB?
by Msalmanch
27 Apr 2017, 15:31
Forum: General questions
Topic: Simxcallscriptfunction
Replies: 3
Views: 820

Simxcallscriptfunction

Hello,
I wanted to ask that can we call script from MATLAB to python or we can only call scripts from Lua.
I want to get sensor data from MATLAB to PYTHON. Is it possible or not????

Regards.
by Msalmanch
05 Apr 2017, 08:11
Forum: General questions
Topic: Orientation of the robot
Replies: 1
Views: 675

Orientation of the robot

Hello, I have used the simxgetorientaion api to find the alpha beta and gamma of the robot. Now using these angles how can i find the face of the robot. The issue is that the angle is same if the robot is facing in the front direction or in the backward direction. How can i differentiate the front f...
by Msalmanch
24 Mar 2017, 14:46
Forum: General questions
Topic: Vision Sensor and C++ remote API's
Replies: 4
Views: 1243

Re: Vision Sensor and C++ remote API's

Thanks a lot, the resolution problem is solved. One last issue, how to access the image. I need to access the image array so that i can detect the rgb values. Please can you give an example code for accessing the image. I think I am using the wrong syntax.

Thanks for all help in advance. :)
by Msalmanch
22 Mar 2017, 14:23
Forum: General questions
Topic: Vision Sensor and C++ remote API's
Replies: 4
Views: 1243

Re: Vision Sensor and C++ remote API's

Thanks for your reply, many things are clear now. Can you please let me know the exact construction for x/y resolution i.e. deceleration of variables and using them in function. I am stuck for quite a while now, thanks in advance.
by Msalmanch
22 Mar 2017, 08:24
Forum: General questions
Topic: Vision Sensor and C++ remote API's
Replies: 4
Views: 1243

Vision Sensor and C++ remote API's

I am working on a project which incorporates using Image Sensor in communication with visual studio through remote APIs with C++. I am attaching the code for reference. The code I am using exhibits some strange behaviors listed below 1. simxGetVisionSensorImage initially returns "0" 10 to 15 times, ...
by Msalmanch
11 Mar 2017, 17:10
Forum: General questions
Topic: Color Detection using remote API C++
Replies: 1
Views: 707

Color Detection using remote API C++

Hello, I need to detect Red, Green and Blue colored cubes using vision sensor. I have selected the selective color filter and blob detection filter. I have used the remote API "simxReadVisionSensor" and its reading the image fine. Now which API will be used to detect these three colors to perform di...
by Msalmanch
26 Feb 2017, 15:09
Forum: Feature requests
Topic: Obstacle avoidance using Remote API C++
Replies: 3
Views: 1424

Re: Obstacle avoidance using Remote API C++

Sorry for the inconvenience. What i meant was which command will be used for the detection of obstacles using infrared sensor. I have tried the "simxReadProximitySensor" command but it always returns a true value even if there is nothing in front of the sensor. The code is give below: #include <iost...