Skip to content
Snippets Groups Projects
Select Git revision
  • d44882a8c8a1358bb4db68908c6d5ca1208d1ddc
  • master default
  • labcomm2006
  • typedefs
  • anders.blomdell
  • typeref
  • pragma
  • compiler-refactoring
  • labcomm2013
  • v2014.4
  • v2006.0
  • v2014.3
  • v2014.2
  • v2014.1
  • v2014.0
  • v2013.0
16 results

LabComm.java

Blame
  • Forked from Anders Blomdell / LabComm
    Source project has a limited visibility.
    ControlStationary.m 359 B
    function [velocity, rotation] = ControlStationary(velocity, rotation)
    %Just helps determine an interval where the levers on the contoller is in
    %middle position. Threshhold is an absolute value of 3 at the moment.
    
    
    for i = 1:2
        if abs(velocity(i)) <= 3
            velocity(i) = 0;
        end
        if abs(rotation(i)) <= 3
            rotation(i) = 0;
        end
    end
    end