From 3cccb3392891f5e5029e5b5b1b16e9106d20f764 Mon Sep 17 00:00:00 2001
From: "Sven G. Robertz" <sven.robertz@cs.lth.se>
Date: Fri, 29 Nov 2013 09:08:00 -0500
Subject: [PATCH] added forgotten lc file

---
 examples/jgrafchart/turtle1.lc | 67 ++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
 create mode 100644 examples/jgrafchart/turtle1.lc

diff --git a/examples/jgrafchart/turtle1.lc b/examples/jgrafchart/turtle1.lc
new file mode 100644
index 0000000..5751856
--- /dev/null
+++ b/examples/jgrafchart/turtle1.lc
@@ -0,0 +1,67 @@
+/* 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. */
-- 
GitLab