trick/trick_models/ball/L1/include/ball_force.h
Alex Lin 14a75508a3 Cleaning up once include variables and copyright cleanup.
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.
2015-03-23 16:03:14 -05:00

53 lines
1.5 KiB
C

/** TRICK HEADER **************************************************************
@file
@verbatim
PURPOSE:
(Ball model external force parameter definition.)
ASSUMPTIONS AND LIMITATIONS:
((2 dimensional space)
(Constant force)
(Always toward a stationary point))
PROGRAMMERS:
(((Your Name) (Company Name) (Date) (Trick tutorial)))
@endverbatim
*******************************************************************************/
#include <pthread.h>
#ifndef BALL_FORCE_H
#define BALL_FORCE_H
/** @struct BFORCE_IN
@brief ball force input parameters
*/
typedef struct { /* BFORCE_IN ------------------------------------------------*/
double origin[2] ; /**< (m) Origin of force center */
double force ; /**< (N) Force magnitude */
} BFORCE_IN ; /*--------------------------------------------------------------*/
/** @struct BFORCE_OUT
@brief ball force output parameters
*/
typedef struct { /* BFORCE_OUT -----------------------------------------------*/
double force[2] ; /**< (N) Resulting X,Y force on ball */
} BFORCE_OUT ; /*-------------------------------------------------------------*/
/** @struct BFORCE
@brief ball force parameters
*/
typedef struct { /* BFORCE ---------------------------------------------------*/
BFORCE_IN input ; /**< (--) User inputs */
BFORCE_OUT output ; /**< (--) User outputs */
} BFORCE ; /*-----------------------------------------------------------------*/
#endif