Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Using GNU Library functions with QNX Momentics: (5 Items)
   
Using GNU Library functions with QNX Momentics  
I have a C project where I would like to use some of the functions from the GNU Library in an embedded system. How might
 I set up QNX Momentics so that I can access the GNU Library functions? 

Thanks
Re: Using GNU Library functions with QNX Momentics  
What GNU Library you are talking about?

On 14-06-17 01:09 PM, Kevin Lynch wrote:
> I have a C project where I would like to use some of the functions from the GNU Library in an embedded system. How 
might I set up QNX Momentics so that I can access the GNU Library functions?
>
> Thanks
>
>
>
> _______________________________________________
>
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post110716
> To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com

Re: Using GNU Library functions with QNX Momentics  
The GNU Scientific Library, specifically the functions for creating polynomial fits to data sets. 

https://www.gnu.org/software/gsl/manual/html_node/Multi_002dparameter-fitting.html

The problem I am addressing right now is determining the a,b,c values of a least squares polyfit
y=ax^2+bx+c  

for a set of ten x and y data points. This is part of a control loop running at 1000 Hz, so the computation needs to be 
done pretty quickly. 

Re: Using GNU Library functions with QNX Momentics  
First you need to compile this library for qnx, or find if somebody else 
ported it already.
Then you just follow standard docs on how to include library in your 
build system

On 14-06-17 02:23 PM, Kevin Lynch wrote:
> The GNU Scientific Library, specifically the functions for creating polynomial fits to data sets.
>
> https://www.gnu.org/software/gsl/manual/html_node/Multi_002dparameter-fitting.html
>
> The problem I am addressing right now is determining the a,b,c values of a least squares polyfit
> y=ax^2+bx+c
>
> for a set of ten x and y data points. This is part of a control loop running at 1000 Hz, so the computation needs to 
be done pretty quickly.
>
>
>
>
>
> _______________________________________________
>
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post110719
> To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com

Re: Using GNU Library functions with QNX Momentics  
I wasn't able to find one already ported but I can try and compile it myself. 

Thanks