Difference between revisions of "Coding"
From RobotinoWiki
(→.Net) |
(→C++) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|There are two options to get access to Robotino's sensors and actors from your own program. | |There are two options to get access to Robotino's sensors and actors from your own program. | ||
* The first option is to link against the [[API2|API2 C/C++ library]]. This option is probably the best way if your program is written in C or C++. | * The first option is to link against the [[API2|API2 C/C++ library]]. This option is probably the best way if your program is written in C or C++. | ||
− | * The second option is to interface Robotino's [[Rest_api|REST-API]]. The REST-API can be accessed easily from .Net, Java, Matlab, LabView and so on. | + | * The second option is to interface Robotino's [[Rest_api|REST-API]]. The REST-API can be accessed easily from .Net, Java, [[Matlab_rest|Matlab]], LabView and so on. |
|} | |} | ||
+ | |||
+ | ==C/C++== | ||
+ | [[API2|API2 C/C++ library]] is a good choice if your compiler version is supported by the provided binary packages. Otherwise you could use [https://github.com/Microsoft/cpprestsdk CPP REST SDK] to setup a client that interfaces Robotino's [[Rest_api|REST-API]]. | ||
+ | ===Quick links=== | ||
+ | *[https://github.com/Microsoft/cpprestsdk CPP REST SDK] | ||
==.Net== | ==.Net== | ||
− | [https://docs.microsoft.com/de-de/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client Call a Web API From a .NET Client (C#)] | + | ===Quick links=== |
+ | *[https://docs.microsoft.com/de-de/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client Call a Web API From a .NET Client (C#)] | ||
==Java== | ==Java== | ||
− | [https://alvinalexander.com/java/java-apache-httpclient-restful-client-examples Java Apache HttpClient REST (RESTful) client examples] | + | ===Quick links=== |
+ | *[https://alvinalexander.com/java/java-apache-httpclient-restful-client-examples Java Apache HttpClient REST (RESTful) client examples] | ||
+ | |||
+ | ==Matlab== | ||
+ | See the page about accessing a [[Matlab_rest|REST API from Matlab]]. | ||
+ | |||
+ | ==LabView== | ||
+ | ===Quick links=== | ||
+ | *[https://resources.jki.net/http-rest-api-client-for-labview REST client for LabView] | ||
+ | *[https://vipm.jki.net/package/jki_lib_json_serialization JSON for LabView] |
Latest revision as of 14:50, 6 May 2019
Contents
Introduction
There are two options to get access to Robotino's sensors and actors from your own program.
|
C/C++
API2 C/C++ library is a good choice if your compiler version is supported by the provided binary packages. Otherwise you could use CPP REST SDK to setup a client that interfaces Robotino's REST-API.
Quick links
.Net
Quick links
Java
Quick links
Matlab
See the page about accessing a REST API from Matlab.