Created Tue, 18 Mar 2014 13:00:19 +0000 by ajitnayak
Tue, 18 Mar 2014 13:00:19 +0000
Question are:
1)How to calculate Elevation Angle from zenith and azimuth angle. 2)what is refer Top. azimuth angle (westward from S) & Top. azimuth angle (eastward from N) from image 3)What is converted elevation formula to determine elevation angle from east to west. 4)
I found that while comparing result from visual studio , mpide that, Both are showing different output. In julian day floating point are missing Due not add of double floating point library. I ran same code on MPLAB with c32 double precision library i got code running & result same as visual studio . How to make MPIDE to run with above code , to get below result
Wed, 19 Mar 2014 18:30:40 +0000
Try to pinpoint the issue by printing out some intermediate results and comparing them with c32 and VS results.
Sat, 22 Mar 2014 23:52:17 +0000
Which version of MPIDE are you using and what is your target board? There are some old versions that have incorrect compiler switches turned on which results in bad math. Since the compiler switches are defined per board, there is a chance that even if you are using the latest version that a specific target board was overlooked in the fix.
Jacob
Sun, 23 Mar 2014 07:59:21 +0000
Which version of MPIDE are you using and what is your target board? There are some old versions that have incorrect compiler switches turned on which results in bad math. Since the compiler switches are defined per board, there is a chance that even if you are using the latest version that a specific target board was overlooked in the fix. Jacob
I am using MPIDE 0023 version FOr uploading program and CHIPKIT UNO32 32 bit controller Board.Which Version Of MPIDE you think WHere i can get above result. I am looking for IDE similar to arduino. If you know such link please share link
Sun, 23 Mar 2014 08:10:18 +0000
Here i am attaching my code for reference . I found that code not returning proper value as expected because double precision floating point. The value of aenith and azimuth angle remain same everywhere after 9t thAM.
But this simple c code. Working fine on visual studio and MPLAB with C32 Compiler with expected Results.
[attachment=0]SPA2.zip[/attachment]
Mon, 24 Mar 2014 09:17:39 +0000
From the source I can see you are using single precision (float). Try it with "double".
Thu, 27 Mar 2014 06:18:01 +0000
From the source I can see you are using single precision (float). Try it with "double".
Thanks to all. It worked for me in UECIDE ide
Sat, 29 Mar 2014 15:20:16 +0000
I am using MPIDE 0023 version FOr uploading program and CHIPKIT UNO32 32 bit controller Board.
Most version of MPIDE or 0023, maybe the better question was the release date such as 20130715.
20130715 should work but its good that you got it working with UECIDE.
Jacob
Mon, 07 Apr 2014 04:40:09 +0000
Ya it worked with UECIDE but problem over there i cant add library like MPIDE and Arduino To work other parts of code.
Most version of MPIDE or 0023, maybe the better question was the release date such as 20130715. 20130715 should work but its good that you got it working with UECIDE.
Mon, 07 Apr 2014 07:52:10 +0000
Yes, I've had that problem too... I think there is a folder that you can put your library into inside of your project to get UECIDE to pick it up. I can't remember the exact folder off the top of my head.
Jacob
Mon, 07 Apr 2014 09:02:02 +0000
The same was as you do in MPIDE and in the Arduino IDE.
In "My Documents", or "Documents" depending on OS version, is "UECIDE". In there, if it's not already there, make a folder called "libraries". Place your libraries in there.
Mon, 07 Apr 2014 09:25:28 +0000
Yes, I've had that problem too... I think there is a folder that you can put your library into inside of your project to get UECIDE to pick it up. I can't remember the exact folder off the top of my head. Jacob
Simple solution just zip your library then add then import it from UECIDE IDE. I got answer From FORUM itself
Mon, 07 Apr 2014 10:00:56 +0000
To make life easier (and more flexible) I have just released a new version of UECIDE. Amongst other things this addresses the library location and provides:
Mon, 07 Apr 2014 10:25:16 +0000
Yes, I've had that problem too... I think there is a folder that you can put your library into inside of your project to get UECIDE to pick it up. I can't remember the exact folder off the top of my head. Jacob
From forum i came to know. You just zip file . Then import library by selecting proper board. Which will replicated in Contributed lib Section