Search found 19 matches

by cpp4robots_admin
14 Apr 2021 06:30
Forum: CPP4ROBOTS
Topic: Reading Raw Gyro data
Replies: 1
Views: 919

Re: Reading Raw Gyro data

Hi, according to the original firmware(lms2012), the return type is array of "signed char" and the length of this array is 32. You can cast to pointer to "const signed char". const signed char* pGyroData = static_cast<const signed char*>(GetData_UART(E_Port_1, E_UART_Type_Gyro, E...
by cpp4robots_admin
10 Mar 2021 01:09
Forum: CPP4ROBOTS
Topic: Problems with finding directory
Replies: 1
Views: 680

Re: Problems with finding directory

Hello Patrik, it is only problem with MS Visual Studio IntelliSense. These header files as EV3_LCDDisplay.h , EV3_Sound.h , etc. are not missing in installation of Cpp4Robots extension. Here is the solution for your problem with MS Visual Studio IntelliSense: I suppose, that your installation of Cpp...
by cpp4robots_admin
10 Mar 2021 01:09
Forum: CPP4ROBOTS
Topic: problem with cpp4robots
Replies: 1
Views: 678

Re: problem with cpp4robots

Hello, You can not use a compiler for windows projects. You have to build project with EV3 Toolbar in Cpp4Robots extension. 1bc2d717.png Select button "Build Project" fa9b36cb.png You have to do all actions with this EV3 Toolbar.(Build project, Download binary application to EV3 brick, ......
by cpp4robots_admin
10 Mar 2021 01:08
Forum: CPP4ROBOTS
Topic: Ev3
Replies: 1
Views: 634

Re: Ev3

Hello, Currently, the extension supports only basic EV3 sensors. Support for additional sensor is planned for other versions of extension. There is a possibility to run the program directly from the EV3 brick. But the SD card needs to be inserted to the EV3 brick. Then You can find directory " ...
by cpp4robots_admin
10 Mar 2021 01:08
Forum: CPP4ROBOTS
Topic: Cpp4Robots
Replies: 1
Views: 696

Re: Cpp4Robots

Hi Marc,

I'm sorry, but I don't plan it in the near future.
I don't have any experience with MAC OS X.
If I can get a developer with MAC experience, I will think about it.
by cpp4robots_admin
10 Mar 2021 01:08
Forum: CPP4ROBOTS
Topic: Thread
Replies: 1
Views: 642

Re: Thread

Hello Nam, You can use the header file " EV3_Thread.h ". #include <EV3_Thread.h> There are functions as CreateThread , EV3_Sleep or synchronization functions CREATE_MUTEX , CREATE_EVENT ,...etc. You can also use directly Linux functions from header file pthread.h . #include <pthread.h> Suc...
by cpp4robots_admin
10 Mar 2021 01:08
Forum: CPP4ROBOTS
Topic: cpp4Robots
Replies: 1
Views: 656

Re: cpp4Robots

Hi Bernardo,

You can find examples in the directory with Cpp4Robots installation.
It is this directory C:\Program Files(x86)\JSiebSW\Cpp4Robots\TargetDevice\Lego\EV3\Examples
by cpp4robots_admin
10 Mar 2021 01:06
Forum: CPP4ROBOTS
Topic: API Specifications / Example Code
Replies: 2
Views: 693

Re: API Specifications / Example Code

Hi,

There are examples in the directory with Cpp4Robots installation.
C:\ProgramFiles(x86)\JSiebSW\Cpp4Robots\TargetDevice\Lego\EV3\Examples

You can see button "Help" on the Lego EV3 toolbar.
Use this button to show documentation.
by cpp4robots_admin
05 Mar 2021 07:55
Forum: CPP4ROBOTS
Topic: Feature request: connected motor/sensor detection
Replies: 1
Views: 883

Re: Feature request: connected motor/sensor detection

Hi,
This seems like an interesting topic.
We will try to add detection of connected devices at runtime.
But I am not sure if that is possible.
In any case, thank you for this interesting request.

Cpp4Robots Support
by cpp4robots_admin
19 Feb 2021 07:39
Forum: CPP4ROBOTS
Topic: Timer Example
Replies: 4
Views: 1545

Re: Timer Example

I'm sorry, but I don't know.
I don't know any tool to find out if our application in EV3 brick uses the processor at 100%.
I don't know if other applications in EV3 brick are affected(slow down) by our process.

In any case, it is a very interesting topic for discussion.