Kaydetme ve Yeniden Oynatma

Shuffleboard, bir oturum sırasında tüm araç güncellemelerini günlük dosyasına kaydedebilmektedir. Daha sonrasında bir maç veya antrenman sırasında ne olduğunu görmek için günlük dosyası “yeniden oynatılabilmektedir”. Bu, özellikle maç sırasında bir şeyler istenildiği gibi çalışmıyorsa ve sonrasında neyin ters gittiğini görmek istiyorsanız kullanışlıdır. Her kayıt bir kayıt dosyasına kaydedilmektedir.

Kayıt Oluşturulması

Shuffleboard başlatıldığı zaman kaydedilen tüm NetworkTables değerlerini kayıt altına almaya başlamakta ve aşağıda belirtilen kayıt cihazı kontrollerindeki kaydet/durdur tuşuna basılana kadar cihaz kayda devam etmektedir. Yeni bir kod veya mekanik sistemin test edilmek istenmesi gibi durumlarda, yeni bir kayıt başlatılmak istiyorsanız, eğer devam ediyorsa anlık kaydı durdurup kayıt tuşuna basınız. Kaydı durdurmak ve kayıt dosyasını sonlandırmak için tuşa tekrar basınız. Tuş (gösterildiği gibi) yuvarlak şeklindeyse kaydı başlatmak için tuşa basınız. Tuş kare şeklindeyse, anlık bir kayıt devam ediyor demektir, kaydı durdurmak için tuşa basınız.

İçi dolu bir yuvarlağa sahip kaydet tuşu daire içine alınmaktadır.

Playing a Recording

Previous recordings can be played back by:

  1. Selecting the “Recording” menu then click “Load playback”.

  2. Choose a recording from the from the directory shown. Recordings are grouped by date and the file names are the time the recording was made to help identify the correct one. Select the correct recording from the list.

Dosyayı seçmek ve kaydın yeniden oynatmasını başlatmak için önce "Recording" - "Kayıt", ardından "Load Playback" - "Yeniden Oynatma Yükle" seçenekleriniz seçiniz.

Controlling the Playback

Selecting the recoding file will begin playback of that file. While the recording is playing the recording controls will show the current time within the recording as well as the option to loop the recording while watching it. When the recording is being played back the “transport” controls will allow the playback to be controlled.

Her bir yeniden oynatma ayaları tuşunun ne yaptığının bir açıklaması.

The controls work as follows:

  1. The left double-arrow button backs up the playback to the last changed data point

  2. The play/pause controls starts and stops the playback

  3. The square stop button stops playback and resumes showing current robot values

  4. The right double-arrow skips forward to the next changed data value

  5. The slider allows for direct positioning to any point in time to view different parts of the recording

  6. The loop switch turns on playback looping, that is, the playback will run over and over until stopped

  7. The time shows the current point within the recording and the total time of the recording

Converting to Different File Formats

Kayıtları başka bir formata dönüştürmek için önce "Recording" - "Kayıt", ardından "Convert recodings" - "Kayıtları dönüştür" seçeneklerini seçiniz.

Shuffleboard recordings are in a custom binary format for efficiency. To analyze recorded data without playing it back through the app, Shuffleboard supports data converters to convert the recordings to an arbitrary format. Only a simple CSV converter is shipped with the app, but teams can write custom converters and include them in Shuffleboard plugins.

Kayıtların farklı formatlara nasıl dönüştürüleceğini gösteren seçenekler

Multiple recordings can be converted at once. Individual files can be selected with the “Add Files” button, or all recording files in a directory can be selected at once with the “Add Directory” button.

Converted recordings will be generated in the ~/Shuffleboard/recordings directory, but can be manually selected with the “Change” button.

Different converters can be selected with the dropdown in the top right. By default, only the CSV converter is available. Custom converters from plugins will appear as options in the dropdown.

Additional Notes

Graphs won’t display properly while scrubbing the timeline but if it is playing through where the graph history can be captured by the graph then they will display as in the original run.