Skip to content
Snippets Groups Projects
  1. Nov 26, 2020
    • Nicolas Cadart's avatar
      [fix][ui] Avoid speed factor change when going previous/next frame · 8551e89f
      Nicolas Cadart authored
      Going previous/next frame changes animation mode to 'Snap To Timesteps'.
      This will set the speed factor text to 'All frames'.
      Currently, user has to set back themselves the desired speed factor using the combo box.
      
      This commit restores previous animation play mode after having snaped to previous/next frame,
      so that user does not have to set it themselves again using the speed factor combo box.
      
      Also, if we are in 'Real Time' play mode with for example a speed factor 'x5',
      and if we click Next frame, the speed factor will blink to 'All frames' before going back to 'x5'.
      As this blink is noisy, we block all animations signals to keep it unchanged during operation.
      8551e89f
    • Nicolas Cadart's avatar
      [fix][ui] Set speed factor combo box according to animation play mode · 46e2e999
      Nicolas Cadart authored
      Changing speed factor using combo box may lead to animation play mode change.
      However, if user changes manually the animation play mode, it may be contradictory with the information displayed by the combo box.
      
      lqPlayerControlsToolbar now listens to animation play mode changes, and adapt the combo box display accordingly.
      
      Furthermore, when a new animations scene is set, lqPlayerControlsToolbar set its PlayMode accordingly with UI speed combo box.
      46e2e999
    • Nicolas Cadart's avatar
      [fix][ui][change] Change animation PlayMode/Duration when speedFactor/timeRange are changed · 761cbf4d
      Nicolas Cadart authored
      Animation PlayMode and Duration were reset each time Play/Pause buttons were clicked.
      This prevented using general paraview animations by manually chosing animation settings.
      
      Now, the animation PlayMode and Duration is directly updated when the user selects a different playing speed,
      and Play/Pause buttons have trivial behavior of invoking Play/Pause commands.
      The animation Duration is also updated when timesteps range changes, e.g. when a new pcap is loaded.
      
      NOTE : When upgrading LVCore in your specific LidarView based application,
      you should consider removing the line `app.scene.UpdateAnimationUsingDataTimeSteps()`
      in function `applogic.openPCAP()`. Without this change, the speed mode will be set to 'All Frames'
      when a new pcap will be loaded. By removing this line, the speed mode and animation settings
      won't be changed, and will be kept as user set them before.
      761cbf4d
  2. Nov 17, 2020
  3. Nov 13, 2020
  4. Nov 10, 2020
  5. Nov 09, 2020
  6. Nov 05, 2020
    • MelanieCarriere's avatar
      Merge branch 'FixTestStreamAndRemoveWarnings' into 'master' · 30b0d327
      MelanieCarriere authored
      Fix test stream and remove warnings
      
      See merge request !137
      30b0d327
    • MelanieCarriere's avatar
    • MelanieCarriere's avatar
      [test] remove warnings · 600a88ff
      MelanieCarriere authored
      600a88ff
    • MelanieCarriere's avatar
      [test] Fix the stream test · c4f835b8
      MelanieCarriere authored
      The reader test all frames of a pcap (even the first and the last one by enabling the corresponding option)
      So to generate the data, you also need to check "Chow first and last frame options"
      In case there is no uncomplete last frame (for a truncated pcap for example) this option create an empty frame at the end of the pcap.
      
      So when you test such a data in stream mode there is a segfault at the last split frame :
      There is no point in the last frame,
      so a simple call of "split frame" does not push back the current frame in the lidarPacketInterpreter frame buffer
      because there is a check on the number of point.
      
      The only way to avoid this segfault is by forcing the splitFrame.
      So an empty frame can be push back to the lidarPacketInterpreter frame buffer
      c4f835b8
  7. Nov 04, 2020
  8. Nov 03, 2020
  9. Oct 22, 2020
Loading