Subversion Repositories NaviCtrl

Rev

Rev 398 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 398 Rev 403
Line 840... Line 840...
840
                        FollowMe.Event_Flag = 1;
840
                        FollowMe.Event_Flag = 1;
841
                        FollowMe.Index = 1; // 0 = Delete List, 1 place at first entry in the list
841
                        FollowMe.Index = 1; // 0 = Delete List, 1 place at first entry in the list
842
                        FollowMe.Type = POINT_TYPE_WP;
842
                        FollowMe.Type = POINT_TYPE_WP;
843
                        FollowMe.WP_EventChannelValue = 100;  // set servo value
843
                        FollowMe.WP_EventChannelValue = 100;  // set servo value
844
                        FollowMe.AltitudeRate = 0;                        // do not change height
844
                        FollowMe.AltitudeRate = 0;                        // do not change height
-
 
845
                        FollowMe.Speed = 0;                             // rate to change the Position (0 = max)
-
 
846
                        FollowMe.CamAngle = 255;                // Camera servo angle in degree (255 -> POI-Automatic)
-
 
847
                        FollowMe.Name[0] = 'F';             // Name of that point (ASCII)
-
 
848
                        FollowMe.Name[1] = 'O';             // Name of that point (ASCII)
-
 
849
                        FollowMe.Name[2] = 'L';             // Name of that point (ASCII)
-
 
850
                        FollowMe.Name[3] = 'L';             // Name of that point (ASCII)
845
                        FollowMe.reserve[0] = 0;                // reserve
851
                        FollowMe.reserve[0] = 0;                // reserve
846
                        FollowMe.reserve[1] = 0;                // reserve
852
                        FollowMe.reserve[1] = 0;                // reserve
847
                        FollowMe.reserve[2] = 0;                // reserve
-
 
848
                        FollowMe.reserve[3] = 0;                // reserve
-
 
849
                        MKProtocol_CreateSerialFrame(&UART1_tx_buffer, 's', NC_ADDRESS, 1, (u8 *)&FollowMe, sizeof(FollowMe));
853
                        MKProtocol_CreateSerialFrame(&UART1_tx_buffer, 's', NC_ADDRESS, 1, (u8 *)&FollowMe, sizeof(FollowMe));
850
                }
854
                }
851
                UART1_FollowMe_Timer = SetDelay(FOLLOW_ME_INTERVAL); // set new update time
855
                UART1_FollowMe_Timer = SetDelay(FOLLOW_ME_INTERVAL); // set new update time
852
        }
856
        }
853
#endif
857
#endif