@@ -62,18 +62,16 @@ public class XYSlamAnnotation implements XYAnnotation {
6262 private Circle projected = null ;
6363
6464 private AnalysisDataModel model = null ;
65- private float scale ;
6665
6766 public XYSlamAnnotation (Color color ) {
68- this .scale = 1f ;
6967
7068 this .pane = new Pane ();
7169 this .pane .setMaxWidth (999 ); this .pane .setMaxHeight (999 );
7270 this .pane .setLayoutX (0 ); this .pane .setLayoutY (0 );
7371
7472 plan_rotate = Rotate .rotate (0 , 0 , 0 );
7573 plan_dir = new Polygon ( -4 ,30 , -1 ,30 , -1 ,0 , 1 ,0 , 1 ,30 , 4 ,30 , 0 ,35 );
76- plan_dir .setFill (Color .IVORY . darker ( ));
74+ plan_dir .setFill (Color .rgb ( 230 , 230 , 20 , 0.6 ));
7775 plan_dir .getTransforms ().add (plan_rotate );
7876 plan_dir .setStrokeType (StrokeType .INSIDE );
7977 plan_dir .setVisible (false );
@@ -125,7 +123,7 @@ public void layoutAnnotation(ValueAxis xAxis, ValueAxis yAxis) {
125123
126124
127125 if (model .getValue ("SLAMSPD" ) != 0 ) {
128- setArrowLength (plan_dir ,(float )model .getValue ("SLAMSPD" )*100 );
126+ setArrowLength (plan_dir ,(float )model .getValue ("SLAMSPD" )*50 );
129127 plan_dir .setLayoutX (xAxis .getDisplayPosition (model .getValue ("LPOSY" )));
130128 plan_dir .setLayoutY (yAxis .getDisplayPosition (model .getValue ("LPOSX" )));
131129 plan_rotate .angleProperty ().set (180 +MSPMathUtils .fromRad (model .getValue ("SLAMDIR" )));
@@ -151,10 +149,6 @@ public void layoutAnnotation(ValueAxis xAxis, ValueAxis yAxis) {
151149
152150 }
153151
154- public void setScale (float scale ) {
155- this .scale = scale ;
156- }
157-
158152 public void clear () {
159153 Platform .runLater (() -> {
160154 act_dir .setVisible (false );
0 commit comments