demo.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <root version="2.3.8">
  3. <tabbed_widget parent="main_window" name="Main Window">
  4. <Tab tab_name="tab1" containers="1">
  5. <Container>
  6. <DockSplitter orientation="-" sizes="1" count="1">
  7. <DockSplitter orientation="|" sizes="0.5;0.5" count="2">
  8. <DockSplitter orientation="-" sizes="0.500497;0.499503" count="2">
  9. <DockArea name="...">
  10. <plot mode="TimeSeries" style="Lines">
  11. <range top="2.762667" bottom="-3.239397" right="56.512723" left="0.000000"/>
  12. <limitY/>
  13. <curve color="#1f77b4" name="/carState/aEgo"/>
  14. <curve color="#17becf" name="/carState/brake"/>
  15. </plot>
  16. </DockArea>
  17. <DockArea name="...">
  18. <plot mode="TimeSeries" style="Lines">
  19. <range top="5.191867" bottom="-5.724069" right="56.512723" left="0.000000"/>
  20. <limitY/>
  21. <curve color="#1ac938" name="dv/dt"/>
  22. </plot>
  23. </DockArea>
  24. </DockSplitter>
  25. <DockSplitter orientation="-" sizes="0.500497;0.499503" count="2">
  26. <DockArea name="...">
  27. <plot mode="TimeSeries" style="Lines">
  28. <range top="16.065524" bottom="-0.470076" right="56.512723" left="0.000000"/>
  29. <limitY/>
  30. <curve color="#d62728" name="/carState/vEgo"/>
  31. <curve color="#bcbd22" name="/carState/gas"/>
  32. </plot>
  33. </DockArea>
  34. <DockArea name="...">
  35. <plot mode="TimeSeries" style="Lines">
  36. <range top="1.014703" bottom="-0.012971" right="56.512723" left="0.000000"/>
  37. <limitY/>
  38. <curve color="#ff7f0e" name="/model/meta/brakeDisengageProb"/>
  39. <curve color="#f14cc1" name="/model/meta/engagedProb"/>
  40. <curve color="#9467bd" name="/model/meta/steerOverrideProb"/>
  41. </plot>
  42. </DockArea>
  43. </DockSplitter>
  44. </DockSplitter>
  45. </DockSplitter>
  46. </Container>
  47. </Tab>
  48. <currentTabIndex index="0"/>
  49. </tabbed_widget>
  50. <use_relative_time_offset enabled="1"/>
  51. <!-- - - - - - - - - - - - - - - -->
  52. <!-- - - - - - - - - - - - - - - -->
  53. <Plugins>
  54. <plugin ID="DataLoad CSV">
  55. <default time_axis=""/>
  56. </plugin>
  57. <plugin ID="DataLoad ROS bags">
  58. <use_header_stamp value="false"/>
  59. <use_renaming_rules value="true"/>
  60. <discard_large_arrays value="true"/>
  61. <max_array_size value="100"/>
  62. </plugin>
  63. <plugin ID="DataLoad Rlog"/>
  64. <plugin ID="DataLoad ULog"/>
  65. <plugin ID="LSL Subscriber"/>
  66. <plugin ID="MQTT Subscriber"/>
  67. <plugin ID="ROS Topic Subscriber">
  68. <use_header_stamp value="false"/>
  69. <use_renaming_rules value="true"/>
  70. <discard_large_arrays value="true"/>
  71. <max_array_size value="100"/>
  72. </plugin>
  73. <plugin ID="UDP Server"/>
  74. <plugin ID="WebSocket Server"/>
  75. <plugin ID="ZMQ Subscriber"/>
  76. <plugin status="idle" ID="ROS /rosout Visualization"/>
  77. <plugin status="idle" ID="ROS Topic Re-Publisher"/>
  78. </Plugins>
  79. <!-- - - - - - - - - - - - - - - -->
  80. <!-- - - - - - - - - - - - - - - -->
  81. <customMathEquations>
  82. <snippet name="dv/dt">
  83. <global>prevX = 0
  84. prevY = 0
  85. is_first = true</global>
  86. <function>if (is_first) then
  87. is_first = false
  88. prevX = time
  89. prevY = value
  90. end
  91. dx = time - prevX
  92. dy = value - prevY
  93. prevX = time
  94. prevY = value
  95. return dy/dx</function>
  96. <linkedSource>/carState/vEgo</linkedSource>
  97. </snippet>
  98. </customMathEquations>
  99. <snippets/>
  100. <!-- - - - - - - - - - - - - - - -->
  101. </root>