- Content
- Eclipse example projects
- document history
In this workspace you will the TXT library and some Eclipse projects.
You need TXT firmware version >=4.6.6
see ROBOPro help in section 8.2.9 and 8.2.10
All examples are Eclipse projects.
Step 1: What are the SLI basics?
Step 2: Does fischertechnik RoboPro SLI-mechanism knows some peculiarities?
Blocking issues, a workaround for the online 5sec problem and init/stop issues.
Introduction into the use of the Transfer Area (TA).
The same as TxtSliTestTA1
but now is the functionality removed from the main file and put in a class. The main file takes only care for the RoboPro elements.
.
SLI show the use of the Joystick<br/>
A control element for a two wheels FT-bot (TXT discovery kit)
See readme
(not yet available)
SLI show the use of the Extended Motor control
See readme
This project contains the include and library fields for the fischertechnik SLI's and local programs Eclipse project. It is as it is, no need to compile or change.
Advice: Study carefully TxtSharedLibraryInterface
and TxtSharedLibraryInterface2
before you start with your own project.
Exercise:
You are going make the basics for your first Eclipse SLI project.
- Select the
TxtSharedLibraryInterface
in the EclipseProject Explorer
. - Right click the mouse and select `Copy.
- Right click again the mouse and select
Paste
.
Rename in the src the LibExampleSLI.cpp
file, the ROBOPro files and in the root the TxtSharedLibraryInterface.doxyfile
(See in case of problems also)[../ProjectSetUp(so).md ] for information over the settings.
Select the project properties
Inspect the setting and correct the reference to the project his include
map
- Compile the project and see if everything is fine. Otherwise correct small mistakes.
After this you project is ready to start with writing code.
- You can remove the 4 examples functions but you can also use them as templates.
- Update the iit and stop.
- Add the
StayAwake
function
int setStayAwakeShort(short t) {
if (!IsInit) {
fprintf(stderr, "setStayAwakeShort: Not initialized!\n");
return -1;
} else {// fprintf( "ExampleSLI:setValueDouble: already initialized!\n");
}
return 0;
}
- Don't forget to keep your documentation up to date.
DoxyGen is a nice tool to help you with creating documentation for your project.
The examples contain already a option to generate a DoxyGen based documentation, the *doxyfile
file
If not this file can be add with File | New | Others | Others | Doxyfile
.
After running the documentation, select the doxyfile
and run it with the symbol, you need to refresh the Project Explorer view
with top menu File | Refresh
or F5
.
- 2020-05-16,24,26,28 Cvl 466.1.2 new