Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61347061
cellulounity.h
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
Mon, May 6, 02:42
Size
1 KB
Mime Type
text/x-c
Expires
Wed, May 8, 02:42 (2 d)
Engine
blob
Format
Raw Data
Handle
17498939
Attached To
R9807 cellulo-lua
cellulounity.h
View Options
#ifndef CELLULOUNITY_H
#define CELLULOUNITY_H
extern "C" {
// cellulo
int newRobot();
void setLocalAdapterMacAddr(int robot, const char* localAdapterMacAddr);
void setAutoConnect(int robot, bool autoConnect);
void setMacAddr(int robot, const char* macAddr);
void connectToServer(int robot);
void setGoalVelocity(int robot, float vx, float vy, float w);
void setGoalPose(int robot, float x, float y, float theta, float v, float w);
void setGoalPosition(int robot, float x, float y, float v);
void clearTracking(int robot);
void clearHapticFeedback(int robot);
void setVisualEffect(int robot, int effect, int r, int g, int b, int value);
void setCasualBackdriveAssistEnabled(int robot, bool enabled);
void setHapticBackdriveAssist(int robot, float xAssist, float yAssist, float thetaAssist);
void reset(int robot);
void simpleVibrate(int robot, float iX, float iY, float iTheta, unsigned int period, unsigned int duration);
float getX(int robot);
float getY(int robot);
float getTheta(int robot);
bool getKidnapped(int robot);
// demo
void demoPrint();
int getVar();
}
#endif // CELLULOUNITY_H
Event Timeline
Log In to Comment