Robotiq FT-150/300 Sensor
Instruction Manual
Robotiq inc. © 2016
28
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
4.1.2 Windows
Package Files - Description
The development package is structured with the following files and directories architecture (non-Windows files and
directories are ignored in this section):
src: contains the source files common to all platforms
obj: used during compilation for the object files related to the common sources
Windows: contains Windows specific files
bin: contains the binary files
src: contains the source files common to all platforms
main.c : application source file which can be modified by the user
obj: contains all object files after they are compiled
Data_logger: contains an application (and its source code) to log data from the sensor
compiler.bat: script which automates the settings for the environment variables and the compilation of
the example application
Makefile: file containing the rules to compile the sensor driver using Make
Procedure to Compile and Test the Provided Source Code
This procedure explains how to install MinGW, compile the provided source code and verify that the sensor data is
properly read.
Unzip the package in the desired directory.
If it is not already installed, download MinGW at
"mingw-get-setup.exe".
Install MinGW by running "mingw-get-setup.exe" and save the default installation path.
Open "MinGW installation manager".
Select "mingw-developer-toolkit" in the "Basic setup" tab and click "Mark for Installation".
Select "mingw32-binutils" in the "All packages" tab and click "Mark for Installation".
In the menu "Installation", click "Apply changes". This will install the required packages to compose the
software using Make.
In the Windows directory, run the compiler.bat file. This will build your application.
Run the application "driverSensor" located in the "Windows/bin/" folder.
After 1-2 seconds, the sensor data should start showing up in the command window as a vector of 6 floats
with data in the (Fx, Fy, Fz, Mx, My, Mz) format.
Figure 4.1.2.1 : Sensor Data Acquisition Under Windows.