Quote:
Originally Posted by wireties
This feature is one of the most productive things about Wind River's setup. Remember that it is 'C' interpreter, not C++. To get your symbols into the symbol table (and thus accessible) in a usable format (not mangled by the C++ compiler), be sure to put them inside a extern "C" clause.
|
Can you access members of a structure? For example:
Code:
in your C++ code:
extern "C" {
typedef struct _PIDConst
{
float Kp;
float Ki;
float Kd;
} PIDConst;
PIDConst iMyPidGain;
}
then from the VxWorks shell:
% iMyPidGain.Kp = 0.001