FlexSEA Wiki

A WEARABLE ROBOTICS TOOLKIT

User Tools

Site Tools


c_c_scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
c_c_scripts [2019/10/07 14:24]
jfduval
c_c_scripts [2020/02/21 20:49] (current)
rqurashi
Line 1: Line 1:
 ====== C/C++ Scripts ====== ====== C/C++ Scripts ======
  
-Documentation on the fx_plan_stack API can be found [[fxapifunctions|here]].+Documentation on the fx_plan_stack API can be found [[http://​dephy.com/​wiki/​flexsea/​doku.php?​id=fx_plan_stack_api|here]].
  
 ==== Prerequisites ==== ==== Prerequisites ====
-If you have not already setup up your Actuator Package, please read the [[dephyactpack#​Quick Start Guide|quick start guide]]. ​Some other requirements are: +If you have not already setup up your Actuator Package, please read the [[dephyactpack#​Quick Start Guide|quick start guide]]. ​You will also need a C/C++ compiler ​(MinGW ​recommended on Windows).
- +
-  - Working ​C/C++ Compiler ​(MinGW ​is suggested). +
-  - [[fx_plan_stack|libfx_plan_stack.dll]] 32-bit version. +
- +
-This program requires the 32-bit version of the fx_plan_stack dynamic Link library (DLL). The 64-bit version will not work. This DLL is supplied with the scripts. +
  
 ==== Downloading and installation ==== ==== Downloading and installation ====
Line 18: Line 12:
 <​code>​git clone -b dev –-recursive https://​github.com/​DephyInc/​Actuator-Package.git</​code>​ <​code>​git clone -b dev –-recursive https://​github.com/​DephyInc/​Actuator-Package.git</​code>​
  
-The source code can be found in the Actuator-Package\acpac_cscripts ​directory. The required DLL is in the Actuator-Package\fx_plan_stack\lib directory. You will need to create/copy the serial library and the FlexSEA_Stack-Shared library to the lib directory.+The source code can be found in the Actuator-Package\directory. The required DLL is in the Actuator-Package\lib directory. ​
  
 ==== Operation ==== ==== Operation ====
  
-Open a terminal window and change to the Actuator-Package\acpac_cscripts ​directory. Then execute the following commands+Open a terminal window and change to the Actuator-Package\directory. Then execute the following commands
  
-<​code>​ +./cscripts_builder.sh
-Mkdir build +
-cd Build +
-cmake .. -G "MinGW Makefiles"​ +
-mingw32-make +
-</code>+
  
 The exectuable program is called ''​main.exe''​. It will be found in the ''​build''​ directory. The exectuable program is called ''​main.exe''​. It will be found in the ''​build''​ directory.
c_c_scripts.1570458244.txt.gz · Last modified: 2019/10/07 14:24 by jfduval