Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sven Gestegård Robertz
LabComm
Commits
3cccb339
Commit
3cccb339
authored
Nov 29, 2013
by
Sven Gestegård Robertz
Browse files
added forgotten lc file
parent
eb88e395
Changes
1
Show whitespace changes
Inline
Side-by-side
examples/jgrafchart/turtle1.lc
0 → 100644
View file @
3cccb339
/* Topic types */
sample struct {
string turtle_name;
float linear;
float angular;
} velocity;
sample struct {
string turtle_name;
float x;
float y;
float theta;
float linear_velocity;
float angular_velocity;
} pose;
sample struct {
string turtle_name;
float r;
float g;
float b;
} color;
/* Srv types */
sample void clear; /* Empty. */
sample void clear_resp; /* Empty. */
sample void reset; /* Empty. */
sample void reset_resp; /* Empty. */
sample string kill; /* Name of turtle. */
sample void kill_resp; /* Empty. */
sample struct {
string name;
float x;
float y;
float theta;
} spawn; /* Coordinates and direction. */
sample string spawn_resp; /* Returns name of turtle */
sample struct {
string turtle_name;
byte r;
byte g;
byte b;
byte width;
byte off;
} set_pen; /* Pen properties. */
sample void set_pen_resp; /* Empty. */
/* TODO: The following two are duplicates. Change to typedefs when working. */
sample struct {
string turtle_name;
float x;
float y;
float theta;
} teleport_absolute; /* Coordinates and direction. */
sample void teleport_absolute_resp; /* Empty. */
sample struct {
string turtle_name;
float linear;
float angular;
} teleport_relative; /* Similar to velocity but instant. */
sample void teleport_relative_resp; /* Empty. */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment