Driver Station Hataları / Uyarıları

In an effort to provide both Teams and Volunteers (FTA / CSA / etc.) more information to use when diagnosing robot problems, a number of Warning and Error messages have been added to the Driver Station. These messages are displayed in the DS diagnostics tab when they occur and are also included in the DS Log Files that can be viewed with the Log File Viewer. This document discusses the messages produced by the DS (messages produced by WPILib can also appear in this box and the DS Logs).

Joystick’in bağlantısız olması

ERROR<Code>-44009 occurred at Driver Station
<time>2/5/2013 4:43:54 PM <unique#>1
FRC: A joystick was disconnected while the robot was enabled.

Bu hata, bir Joystick bağlantısız olduğunda tetiklenir. Mesaj metninin aksine bu hata, robot etkinleştirilmemiş veya hatta DS’ye bağlı olmasa bile oluşacaktır. Joystick’ler doğru şekilde bağlanmış ve çalışıyor olsa bile, Driver Station her başlatıldığında bu mesajın tek bir örneğinin oluştuğunu göreceksiniz.

Not

Joystick Unplugged warnings can be silenced by calling DriverStation.silenceJoystickConnectionWarning(true) (Java, C++)

İletişimi Kaybetmek

Warning<Code>44004 occurred at Driver Station
<time>2/6/2013 11:07:53 AM<unique#>2
FRC: The Driver Station has lost communication with the robot.

Bu Uyarı mesajı, Driver Station robotla iletişimi kaybettiğinde oluşur (İletişim göstergesi yeşilden kırmızıya döner). Bu mesajın tek bir örneği, iletişim kurulmadan önce DS başladığında oluşur.

Ping Durumu

Warning<Code>44002 occurred at Ping Results: link-GOOD, DS radio(.4)-bad, robot radio(.1)-GOOD, cRIO(.2)-bad, FMS- bad Driver Station
<time>2/6/2013 11:07:59 AM<unique#>5
FRC: Driver Station ping status has changed.

A Ping Status warning is generated each time the Ping Status to a device changes while the DS is not in communication with the roboRIO. As communications is being established when the DS starts up, a few of these warnings will appear as the Ethernet link comes up, then the connection to the robot radio, then the roboRIO (with FMS mixed in if applicable). If communications are later lost, the ping status change may help identify at which component the communication chain broke.

Robot Önyüklemesinden Bu Yana Geçen Süre

WARNING<Code>44007 occurred at FRC_NetworkCommunications
**<secondsSinceReboot> 3.585**
FRC: Time since robot boot.

Bu mesaj, DS roboRIO ile her iletişim kurmaya başladığında oluşur. Mesaj roboRIO’nun çalışma süresini saniye cinsinden belirtir ve bir roboRIO Yeniden Başlatılması nedeniyle iletişim kaybının olup olmadığını belirlemek için kullanılabilir.

Radyo-Modem Algılama Süreleri

WARNING<Code>44008 occurred at FRC_NetworkCommunications
<radioLostEvents> 19.004<radioSeenEvents> 0.000
FRC: Robot radio dectection times

WARNING<Code>44008 occurred at FRC_NetworkCommunications
<radioLostEvents> 2.501,422.008<radioSeenEvents> 0.000,147.005
FRC: Robot radio dectection times.

Bu mesaj, DS roboRIO ile iletişim kurmaya başladığında yazdırılabilir ve modemin en son kaybolup görülmesinden bu yana geçen süreyi saniye cinsinden gösterir. Yukarıdaki ilk örnek görüntüde mesaj, roboRIO’nun telsiz bağlantısının mesaj yazdırılmadan 19 saniye önce kesildiğini ve mesaj yazdırıldığında telsizin tekrar görüldüğünü gösterir. RoboRIO’nun başlatılmasından bu yana birden fazla radioLost veya radioSeen olayı meydana gelirse, virgülle ayrılmış her türden en fazla 2 olay dahil edilecektir.

Robot Kodu Yok

Warning<Code>44003 occurred at Driver Station
<time>2/8/2013 9:50:13 AM<unique#>8
FRC: No robot code is currently running.

Bu mesaj, DS roboRIO ile iletişim kurmaya başladığında, ancak çalışan robot kodu algılamadığında oluşur. RoboRIO önyüklenirken Driver Station açıksa ve çalışıyorsa bu mesajın tek bir örneği oluşacaktır, çünkü DS robot kodu yüklemeyi bitirmeden önce roboRIO ile iletişime başlayacaktır.