Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121656593
main.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jul 12, 21:29
Size
319 B
Mime Type
text/x-c
Expires
Mon, Jul 14, 21:29 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27368467
Attached To
R9807 cellulo-lua
main.cpp
View Options
#include <stdio.h>
#include "cellulounity.h"
#include <unistd.h>
int
main
()
{
int
robot
=
newRobot
();
fprintf
(
stderr
,
"Got robot %d
\n
"
,
robot
);
setMacAddr
(
robot
,
"aabbccdd"
);
connectToServer
(
robot
);
while
(
true
)
{
fprintf
(
stderr
,
"x=%f y=%f theta=%f
\n
"
,
get
);
sleep
(
1
);
}
}
Event Timeline
Log In to Comment