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/01/09 16:47]
flabelle
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 [[fx_plan_stack|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 ====
 +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).
  
-=== Prerequisites ​=== +==== Downloading and installation ====
-If you have not already setup up your Actuator Package, please read the [[dephyactpack#​Quick Start Guide|quick start guide]]. Some other requirements are:+
  
-  - Working C/C++ Compiler (MinGW is suggested). +The scripts and DLL can be downloaded from GithubUse a git bash window and execute the following:
-  - [[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 workThis DLL is supplied with the scripts.+<​code>​git clone -b dev –-recursive https://​github.com/​DephyInc/​Actuator-Package.git</​code>​
  
 +The source code can be found in the Actuator-Package\C directory. The required DLL is in the Actuator-Package\lib directory. ​
  
-=== Downloading and installation ​===+==== Operation ====
  
-The scripts and DLL can be downloaded from GITHUB. Use git bash window and execute the following:+Open terminal ​window and change to the Actuator-Package\C directory. Then execute the following ​commands
  
-''​git clone -b dev –-recursive https://​github.com/DephyInc/​Actuator-Package.git''​ +./cscripts_builder.sh
- +
-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. +
- +
-=== Operation === +
- +
-Open a terminal window and change to the Actuator-Package\acpac_cscripts directory. Then execute the following commands +
- +
-<​code>​ +
-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.1547052429.txt.gz · Last modified: 2019/01/09 16:47 by flabelle