Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122590912
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
Sun, Jul 20, 21:42
Size
319 B
Mime Type
text/x-c
Expires
Tue, Jul 22, 21:42 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27512663
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