Commit bd4cd38c authored by Dorian Goepp's avatar Dorian Goepp
Browse files

ROS topics at the top of the config forms

parent 84f892a1
......@@ -34,15 +34,8 @@ class RosLineChart extends Component {
type: "object",
required: ["curves", "maxPoints"],
properties: {
maxPoints: {
title: "How many data points are plotted",
type: "integer",
minimum: 0,
maximum: 200,
default: 50,
},
curves: {
title: "Fields",
title: "Plotted lines",
type: "array",
minItems: 1,
maxItems: 10,
......@@ -66,6 +59,13 @@ class RosLineChart extends Component {
}
},
},
maxPoints: {
title: "How many data points are plotted",
type: "integer",
minimum: 0,
maximum: 200,
default: 50,
},
xLabel: {
title: "Label of abscissa",
type: "string",
......
......@@ -27,6 +27,11 @@ class RosMemoryRanked extends Component {
type: "object",
required: ["guideLinesStep", "maxActionLength", "topic", "sorting"],
properties: {
topic: {
title: "Topic for the memory",
type: "string",
default: "/algorithm/memory"
},
guideLinesStep: {
title: "How many entries between two horizontal rules",
type: "integer",
......@@ -39,11 +44,6 @@ class RosMemoryRanked extends Component {
minimum: 2,
default: 10,
},
topic: {
title: "Topic for the memory",
type: "string",
default: "/algorithm/memory"
},
sorting: {
title: "How to sort the entries of the memory",
type: "object",
......
......@@ -28,8 +28,8 @@ class VideoStream extends Component {
type: "object",
required: ["host", "topic"],
properties: {
topic: {type: "string", title: "ROS topic (absolute name)", default: "/pepper/image_raw"},
host: {type: "string", title: "Host (IP or name)", default:"localhost:8081"},
topic: {type: "string", title: "ROS topic (absolute name)", default: "/pepper/image_raw"}
}
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment