paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [paparazzi/paparazzi] f81e9c: [modules] viewvideo: b


From: GitHub
Subject: [paparazzi-commits] [paparazzi/paparazzi] f81e9c: [modules] viewvideo: be nice to other threads
Date: Mon, 03 Aug 2015 11:08:20 -0700

  Branch: refs/heads/master
  Home:   https://github.com/paparazzi/paparazzi
  Commit: f81e9c07e2eeea755dd7c834c63d6b5478e30c9b
      
https://github.com/paparazzi/paparazzi/commit/f81e9c07e2eeea755dd7c834c63d6b5478e30c9b
  Author: Felix Ruess <address@hidden>
  Date:   2015-08-03 (Mon, 03 Aug 2015)

  Changed paths:
    M sw/airborne/arch/linux/rt_priority.h
    M sw/airborne/modules/computer_vision/viewvideo.c

  Log Message:
  -----------
  [modules] viewvideo: be nice to other threads

A simple attempt to slightly improve the scheduling, so that taking a shot 
doesn't block the rest so much.

This sets the computer vision thread nice level to 10, so that the main 
"thread" should get a little more.
It does in no way guarantee that something in the cv thread (like taking a pic) 
will not block the main functions like estimation, stabilization.

A better long term solution would probably be to run both the main 
program/thread and this module with the FIFO scheduler and give the cv thread a 
really low prio.

Not tested due to lack of hardware right now...


  Commit: de50a44166aa1249b1e87c8015de14727f540f4a
      
https://github.com/paparazzi/paparazzi/commit/de50a44166aa1249b1e87c8015de14727f540f4a
  Author: OpenUAS <address@hidden>
  Date:   2015-08-03 (Mon, 03 Aug 2015)

  Changed paths:
    M sw/airborne/arch/linux/rt_priority.h
    M sw/airborne/modules/computer_vision/viewvideo.c

  Log Message:
  -----------
  Merge pull request #1283 from flixr/viewvideo_nice_level

[modules] viewvideo: be nice to other threads


Compare: 
https://github.com/paparazzi/paparazzi/compare/7e1940e8224f...de50a44166aa

reply via email to

[Prev in Thread] Current Thread [Next in Thread]