Skip to content
Snippets Groups Projects
Commit 4f661e5d authored by Gauthier HEISS's avatar Gauthier HEISS
Browse files

Fix ai syntax

parent ec701f04
No related branches found
No related tags found
No related merge requests found
......@@ -52,13 +52,13 @@ You can use the esieabot-ai library directly in a C program like this :
.. code-block:: C
#include "esieabot-ai.h"
#include <stdio.h>
#include <stdlib.h>
#include <esieabot-ai.h>
int main() {
while (1) {
struct marker *markers = get_markers();
marker *markers = get_markers();
while (markers->id != -1) {
printf("Marker found: number %d at %dcm distance. x=%d y=%d\n", markers->id, markers->z, markers->x, markers->y);
markers++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment