File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
xbot2_gui/Monitoring/BarPlot Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -83,12 +83,24 @@ function setJointStateMessage(msg)
8383}
8484
8585var barPlotDefaultModel = [
86+ {
87+ 'fieldName' : 'linkPos' ,
88+ 'refName' : 'posRef' ,
89+ 'min' : SharedData . qmin ,
90+ 'max' : SharedData . qmax ,
91+ } ,
8692 {
8793 'fieldName' : 'motPos' ,
8894 'refName' : 'posRef' ,
8995 'min' : SharedData . qmin ,
9096 'max' : SharedData . qmax ,
9197 } ,
98+ {
99+ 'fieldName' : 'linkVel' ,
100+ 'refName' : 'velRef' ,
101+ 'min' : SharedData . vmax . map ( x => - x ) ,
102+ 'max' : SharedData . vmax ,
103+ } ,
92104 {
93105 'fieldName' : 'motVel' ,
94106 'refName' : 'velRef' ,
@@ -98,8 +110,8 @@ var barPlotDefaultModel = [
98110 {
99111 'fieldName' : 'tor' ,
100112 'refName' : 'torRef' ,
101- 'min' : SharedData . taumax . map ( x => - x ) ,
102- 'max' : SharedData . taumax ,
113+ 'min' : SharedData . taumax . map ( x => - x / 3. ) ,
114+ 'max' : SharedData . taumax . map ( x => x / 3. ) ,
103115 } ,
104116 {
105117 'fieldName' : 'motorTemp' ,
You can’t perform that action at this time.
0 commit comments