mirror of
https://github.com/nasa/trick.git
synced 2025-02-08 20:00:27 +00:00
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
38 lines
878 B
C
38 lines
878 B
C
/********************************* TRICK HEADER *******************************
|
|
PURPOSE:
|
|
( Testing )
|
|
REFERENCE:
|
|
(((Trick Simulation Environment) (NASA:JSC #37943)
|
|
(JSC/Engineering Directorate/Automation, Robotics and Simulation Division)
|
|
(March 1997)))
|
|
ASSUMPTIONS AND LIMITATIONS:
|
|
((None))
|
|
CLASS:
|
|
(scheduled)
|
|
LIBRARY DEPENDENCY:
|
|
((import_slave.o))
|
|
PROGRAMMERS:
|
|
((Keith Vetter) (LinCom) (November 2001))
|
|
*******************************************************************************/
|
|
|
|
/* GLOBAL DATA STRUCTURE DECLARATIONS */
|
|
#include <stdio.h>
|
|
#include "../include/test.h"
|
|
|
|
/* ENTRY POINT */
|
|
void import_slave(
|
|
/* RETURN: -- NA */
|
|
TEST *T ) /* INOUT: -- TEST */
|
|
{
|
|
|
|
/* Make a saw tooth */
|
|
if ( T->a.i > 20 ) {
|
|
T->a.i = 0 ;
|
|
T->a.d = 0 ;
|
|
|
|
T->b.i = 0 ;
|
|
T->b.d = 0 ;
|
|
}
|
|
|
|
}
|