ros2aria/config/master_layout copy.json
2023-07-12 10:55:59 +02:00

279 lines
7.8 KiB
JSON

{
"configById": {
"Gauge!36uqsdw": {
"path": "/pioneers/restrictions.linear_velocity.data",
"minValue": 0.1,
"maxValue": 0.8,
"colorMap": "turbo",
"colorMode": "colormap",
"gradient": [
"#fff900",
"#ff00ff"
],
"reverse": false,
"foxglovePanelTitle": "Linear Velocity"
},
"Gauge!16s1huo": {
"path": "/pioneers/restrictions.angular_velocity.data",
"minValue": 0.1,
"maxValue": 1.2,
"colorMap": "turbo",
"colorMode": "colormap",
"gradient": [
"#fff900",
"#ff00ff"
],
"reverse": false,
"foxglovePanelTitle": "Angular Velocity"
},
"Gauge!43oiv40": {
"path": "/pioneers/restrictions.linear_velocity.data",
"minValue": 0.02,
"maxValue": 1.2,
"colorMap": "rainbow",
"colorMode": "gradient",
"gradient": [
"#ffffff",
"#ff0000"
],
"reverse": false,
"foxglovePanelTitle": "Distance"
},
"Indicator!2kcvhko": {
"path": "/pioneer5/robot_info.state.data",
"style": "background",
"fallbackColor": "#a0a0a0",
"fallbackLabel": "Inactive",
"rules": [
{
"operator": "=",
"rawValue": "true",
"color": "#68e24a",
"label": "Active"
}
],
"foxglovePanelTitle": "Status"
},
"Publish!1jggeko": {
"topicName": "/pioneer5/clutch",
"datatype": "std_msgs/msg/Bool",
"buttonText": "Enable",
"buttonTooltip": "",
"buttonColor": "#00A871",
"advancedView": false,
"value": "{\n \"data\": true\n}",
"foxglovePanelTitle": "Motors"
},
"Publish!2bcq74b": {
"topicName": "/pioneer5/clutch",
"datatype": "std_msgs/msg/Bool",
"buttonText": "Disable",
"buttonTooltip": "",
"buttonColor": "#aeaeae",
"advancedView": false,
"value": "{\n \"data\": false\n}",
"foxglovePanelTitle": " Motors"
},
"Indicator!s9ir7d": {
"path": "/pioneer5/robot_info.clutch.data",
"style": "background",
"fallbackColor": "#a0a0a0",
"fallbackLabel": "Off",
"rules": [
{
"operator": "=",
"rawValue": "true",
"color": "#68e24a",
"label": "On"
}
],
"foxglovePanelTitle": "Motors"
},
"Indicator!4am2dga": {
"path": "/pioneer5/robot_info.obstacle_detected.data",
"style": "background",
"fallbackColor": "#a0a0a0",
"fallbackLabel": "👌",
"rules": [
{
"operator": "=",
"rawValue": "true",
"color": "#ff005e",
"label": "😱"
}
],
"foxglovePanelTitle": "Obstacle"
},
"Gauge!44f06dp": {
"path": "/pioneer5/robot_info.battery_voltage.data",
"minValue": 11.9,
"maxValue": 12.9,
"colorMap": "red-yellow-green",
"colorMode": "colormap",
"gradient": [
"#0000ff",
"#ff00ff"
],
"reverse": false,
"foxglovePanelTitle": "Battry Voltage"
},
"Indicator!36yp9u": {
"path": "/pioneers/master_stop.data",
"style": "background",
"fallbackColor": "#ff0000",
"fallbackLabel": "Robots Stopped",
"rules": [
{
"operator": "=",
"rawValue": "true",
"color": "#68e24a",
"label": "Robots Released"
}
],
"foxglovePanelTitle": "Master Stop"
},
"Publish!3ucy03l": {
"topicName": "/pioneers/master_stop",
"datatype": "std_msgs/msg/Bool",
"buttonText": "Start",
"buttonTooltip": "",
"buttonColor": "#00A871",
"advancedView": false,
"value": "{\n \"data\": true\n}"
},
"Publish!3eo06na": {
"topicName": "/pioneers/restrictions",
"datatype": "ros2aria_msgs/msg/RestrictionsMsg",
"buttonText": "Publish",
"buttonTooltip": "",
"buttonColor": "#00A871",
"advancedView": true,
"value": "{\n \"distance\": {\n \"data\": 0.2 },\n \"linear_velocity\": {\n \"data\": 0.2\n },\n \"angular_velocity\": {\n \"data\": ${ELKO}\n }\n}\n"
},
"Publish!2llenrw": {
"topicName": "/pioneers/master_stop",
"datatype": "std_msgs/msg/Bool",
"buttonText": "STOP ",
"buttonTooltip": "",
"buttonColor": "#ff0000",
"advancedView": false,
"value": "{\n \"data\": false\n}",
"foxglovePanelTitle": "Master"
},
"RawMessages!2n2d99y": {
"diffEnabled": false,
"diffMethod": "custom",
"diffTopicPath": "",
"showFullMessageForDiff": false,
"topicPath": "/pioneers/restrictions"
},
"Tab!4eriapz": {
"activeTabIdx": 0,
"tabs": [
{
"title": "Restrictions",
"layout": {
"first": "Gauge!36uqsdw",
"second": {
"first": "Gauge!16s1huo",
"second": "Gauge!43oiv40",
"direction": "row",
"splitPercentage": 51.44124168514412
},
"direction": "row",
"splitPercentage": 32.84023668639053
}
}
]
},
"Tab!3irkbr4": {
"activeTabIdx": 0,
"tabs": [
{
"title": "5",
"layout": {
"first": {
"first": "Indicator!2kcvhko",
"second": {
"first": {
"first": "Publish!1jggeko",
"second": "Publish!2bcq74b",
"direction": "row",
"splitPercentage": 47.44522280433317
},
"second": {
"first": "Indicator!s9ir7d",
"second": "Indicator!4am2dga",
"direction": "row",
"splitPercentage": 51.020408163265316
},
"direction": "row",
"splitPercentage": 50.046709461147984
},
"direction": "row",
"splitPercentage": 33.5482533335995
},
"second": "Gauge!44f06dp",
"direction": "row",
"splitPercentage": 83.10937586339708
}
}
]
}
},
"globalVariables": {
"restrictions": {
"distance": {
"data": 0
},
"linear_velocity": {
"data": 0.2
},
"angular_velocity": {
"data": 0.6
}
},
"ELKO": 5,
"elko": 6
},
"userNodes": {
"ed523c47-5740-4915-a163-89d74f63276b": {
"sourceCode": "import { MessageWriter } from \"@foxglove/rosmsg2-serialization\";\n\n// message definition comes from `parse()` in @foxglove/rosmsg\nconst writer = new MessageWriter(pointStampedMessageDefinition);\n\n// serialize the passed in object to a Uint8Array as a geometry_msgs/PointStamped message\nconst uint8Array = writer.writeMessage({\n header: {\n stamp: { sec: 0, nanosec: 0 },\n frame_id: \"\"\n },\n x: 1,\n y: 0,\n z: 0\n});",
"name": "ed523c47"
}
},
"playbackConfig": {
"speed": 1
},
"layout": {
"first": "Indicator!36yp9u",
"second": {
"first": {
"first": {
"first": {
"first": "Publish!3ucy03l",
"second": "Publish!3eo06na",
"direction": "column",
"splitPercentage": 17.645846217274784
},
"second": {
"first": "Publish!2llenrw",
"second": "RawMessages!2n2d99y",
"direction": "column",
"splitPercentage": 18.30550401978973
},
"direction": "row",
"splitPercentage": 55.393939393939384
},
"second": "Tab!4eriapz",
"direction": "column",
"splitPercentage": 71.5909090909091
},
"second": "Tab!3irkbr4",
"direction": "row",
"splitPercentage": 37.61825264329438
},
"direction": "column",
"splitPercentage": 12.5
}
}