mirror of
https://github.com/nasa/trick.git
synced 2025-01-30 16:13:55 +00:00
Change file name from char* to const char* in euler tranformation matrix functions. Ref #423
This commit is contained in:
parent
706e7ff942
commit
9e8dd6c41c
@ -81,37 +81,37 @@ double dS_function(double x, double zero_point, double mid_point,
|
|||||||
* @ingroup TRICK_MATH
|
* @ingroup TRICK_MATH
|
||||||
*/
|
*/
|
||||||
int euler123(double angle[3], double mat[3][3], int method,
|
int euler123(double angle[3], double mat[3][3], int method,
|
||||||
double *prev, char *file, int lineno);
|
double *prev, const char *file, int lineno);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup TRICK_MATH
|
* @ingroup TRICK_MATH
|
||||||
*/
|
*/
|
||||||
int euler132(double angle[3], double mat[3][3], int method,
|
int euler132(double angle[3], double mat[3][3], int method,
|
||||||
double *prev, char *file, int lineno);
|
double *prev, const char *file, int lineno);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup TRICK_MATH
|
* @ingroup TRICK_MATH
|
||||||
*/
|
*/
|
||||||
int euler213(double angle[3], double mat[3][3], int method,
|
int euler213(double angle[3], double mat[3][3], int method,
|
||||||
double *prev, char *file, int lineno);
|
double *prev, const char *file, int lineno);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup TRICK_MATH
|
* @ingroup TRICK_MATH
|
||||||
*/
|
*/
|
||||||
int euler231(double angle[3], double mat[3][3], int method,
|
int euler231(double angle[3], double mat[3][3], int method,
|
||||||
double *prev, char *file, int lineno);
|
double *prev, const char *file, int lineno);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup TRICK_MATH
|
* @ingroup TRICK_MATH
|
||||||
*/
|
*/
|
||||||
int euler312(double angle[3], double mat[3][3], int method,
|
int euler312(double angle[3], double mat[3][3], int method,
|
||||||
double *prev, char *file, int lineno);
|
double *prev, const char *file, int lineno);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup TRICK_MATH
|
* @ingroup TRICK_MATH
|
||||||
*/
|
*/
|
||||||
int euler321(double angle[3], double mat[3][3], int method,
|
int euler321(double angle[3], double mat[3][3], int method,
|
||||||
double *prev, char *file, int lineno);
|
double *prev, const char *file, int lineno);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ingroup TRICK_MATH
|
* @ingroup TRICK_MATH
|
||||||
|
@ -30,7 +30,7 @@ int euler123(
|
|||||||
2 = Make angles from matrix but use previous
|
2 = Make angles from matrix but use previous
|
||||||
values to prevent singularities */
|
values to prevent singularities */
|
||||||
double *prev, /* In: r prev[3], Previous values of euler angles */
|
double *prev, /* In: r prev[3], Previous values of euler angles */
|
||||||
char *file, /* In: File_name of caller of this function */
|
const char *file, /* In: File_name of caller of this function */
|
||||||
int lineno) /* In: Line # of call to this function in filename */
|
int lineno) /* In: Line # of call to this function in filename */
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ int euler132(
|
|||||||
2 = Make angles from matrix but use previous
|
2 = Make angles from matrix but use previous
|
||||||
values to prevent singularities */
|
values to prevent singularities */
|
||||||
double *prev, /* In: r prev[3], Previous values of euler angles */
|
double *prev, /* In: r prev[3], Previous values of euler angles */
|
||||||
char *file, /* In: file_name of caller of this function */
|
const char *file, /* In: file_name of caller of this function */
|
||||||
int lineno) /* In: line # of call to this function in fname */
|
int lineno) /* In: line # of call to this function in fname */
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ int euler213(double angle[3], /* In: r Method=0, 0=PITCH , 1=ROLL , 2=YAW */
|
|||||||
singularities */
|
singularities */
|
||||||
double *prev, /* In: r prev[3], Previous values of
|
double *prev, /* In: r prev[3], Previous values of
|
||||||
euler angles */
|
euler angles */
|
||||||
char *file, /* In: file_name of caller of this function */
|
const char *file, /* In: file_name of caller of this function */
|
||||||
int lineno)
|
int lineno)
|
||||||
{ /* In: line # of call to this function in fname */
|
{ /* In: line # of call to this function in fname */
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ int euler231( /* Return: -- None. */
|
|||||||
prevent singularities */
|
prevent singularities */
|
||||||
double *prev, /* In: r prev[3], Previous values of
|
double *prev, /* In: r prev[3], Previous values of
|
||||||
euler angles */
|
euler angles */
|
||||||
char *file, /* In: File_name of caller of this function */
|
const char *file, /* In: File_name of caller of this function */
|
||||||
int lineno) /* In: line # of call to this function in fname */
|
int lineno) /* In: line # of call to this function in fname */
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ int euler312(
|
|||||||
values to prevent singularities */
|
values to prevent singularities */
|
||||||
double *prev, /* In: r prev[3], Previous values of
|
double *prev, /* In: r prev[3], Previous values of
|
||||||
euler angles */
|
euler angles */
|
||||||
char *file, /* In: file_name of caller of this function */
|
const char *file, /* In: file_name of caller of this function */
|
||||||
int lineno) /* In: line # of call to this function in fname */
|
int lineno) /* In: line # of call to this function in fname */
|
||||||
{
|
{
|
||||||
double s1; /* SINE OF YAW */
|
double s1; /* SINE OF YAW */
|
||||||
|
@ -32,7 +32,7 @@ int euler321(
|
|||||||
values to prevent singularities */
|
values to prevent singularities */
|
||||||
double *prev, /* In: r prev[3], Previous values of euler
|
double *prev, /* In: r prev[3], Previous values of euler
|
||||||
angles */
|
angles */
|
||||||
char *file, /* In: file_name of caller of this function */
|
const char *file, /* In: file_name of caller of this function */
|
||||||
int lineno) /* In: line # of call to this function in fname */
|
int lineno) /* In: line # of call to this function in fname */
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user