[rcpilot-site] Rcap source code
Status: Beta
Brought to you by:
mjpawlowsky
|
From: A & RG D. <ad...@ko...> - 2005-06-18 12:25:23
|
Thanks Mike Adam ----- Original Message ----- From: <rcp...@li...> To: <rcp...@li...> Sent: Saturday, June 18, 2005 3:26 PM Subject: rcpilot-site digest, Vol 1 #18 - 2 msgs > Send rcpilot-site mailing list submissions to > rcp...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/rcpilot-site > or, via email, send a message with subject or body 'help' to > rcp...@li... > > You can reach the person managing the list at > rcp...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of rcpilot-site digest..." > > > Today's Topics: > > 1. Problems with Rcap source code (A & RG Demir) > 2. Re: Problems with Rcap source code (Michael J. Pawlowsky) > > --__--__-- > > Message: 1 > From: "A & RG Demir" <ad...@ko...> > To: <rcp...@li...> > Date: Sat, 18 Jun 2005 09:21:21 +1200 > Subject: [rcpilot-site] Problems with Rcap source code > Reply-To: rcp...@li... > > Hello Mike > > Thanks for your reply . > > The following is the problem I came across with the RCAP source code . > > 1 . I can not find a call to subroutine "GetPos:" in the program listing . > > 2. Subroutine DoB or DoC line 2 : Should cs=$8 be there ? cs is not > known > until after return from subroutine DoCS . > > 3. Subroutine DoB line 8: field=12 (Bearing to destination) . Where is the > field number 12 obtained from . Is it the position of gpsdata array > element > [12] (GPRMB sentence) ? I find it to be in gpsdata array element [48] . > > Best Regards > > Adam > > > > ----- Original Message ----- > From: <rcp...@li...> > To: <rcp...@li...> > Sent: Wednesday, June 15, 2005 3:34 PM > Subject: rcpilot-site digest, Vol 1 #17 - 1 msg > > >> Send rcpilot-site mailing list submissions to >> rcp...@li... >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.sourceforge.net/lists/listinfo/rcpilot-site >> or, via email, send a message with subject or body 'help' to >> rcp...@li... >> >> You can reach the person managing the list at >> rcp...@li... >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of rcpilot-site digest..." >> >> >> Today's Topics: >> >> 1. Re: Gps routine for a model airplane elevator channel (Michael J. >> Pawlowsky) >> >> -- __--__-- >> >> Message: 1 >> Date: Tue, 14 Jun 2005 07:37:09 -0400 >> From: "Michael J. Pawlowsky" <mi...@mi...> >> Organization: MI-Consultants >> To: rcp...@li... >> Subject: Re: [rcpilot-site] Gps routine for a model airplane elevator >> channel >> Reply-To: rcp...@li... >> >> >> There is no way really to be able to land properly like this. The drift >> in altitude would cause the plane to crash. Also there are many other >> manoeuvres needed to land a plane that would need many more input >> sensors to be able evaluate the planes attitude, speed and so on. >> >> As for the source code. It is the same as the HEX file and I've burned >> many PICs with it and the RCAPs worked just fine. >> If you describe your problem, perhaps I can help you with what you may >> be doing wrong. >> >> Regards, >> Mike >> >> >> A & RG Demir wrote: >> >>> Hi All >>> As an add-on to RCAP Gps software I would like to use elevator >>> channel (Vertical positioning) to land a model airplane on a runway >>> .Would someone be kind enough to share a simple picbasic (or anything >>> else ) software routine on the above or an algorithm to lead me in >>> the right direction please . >>> Incidentally , RCAP Gps software I had downloaded seems to have some >>> flaws or missing parts to it .Does anybody have an RCAP source code >>> that produces the same hex file supplied with the zipped RCAP source >>> file . >>> Thanks in advance >>> Adam >> >> >> >> >> >> >> -- __--__-- >> >> _______________________________________________ >> rcpilot-site mailing list >> rcp...@li... >> https://lists.sourceforge.net/lists/listinfo/rcpilot-site >> >> >> End of rcpilot-site Digest >> >> > > > > > --__--__-- > > Message: 2 > Date: Fri, 17 Jun 2005 19:28:42 -0400 > From: "Michael J. Pawlowsky" <mi...@mi...> > Organization: MI-Consultants > To: rcp...@li..., rcp...@li... > Subject: Re: [rcpilot-site] Problems with Rcap source code > Reply-To: rcp...@li... > > A & RG Demir wrote: > >> Hello Mike >> >> Thanks for your reply . >> >> The following is the problem I came across with the RCAP source code . >> >> 1 . I can not find a call to subroutine "GetPos:" in the program >> listing . >> > > Do a find in any text editor.. It's there :-) > ================================= > > ' Get the start position of gpsdata for a specific field > ' The field we are looking for is specified in the var "field" > ' We return the position of the specified field back in the var "field" > > GetPos: > ================================================================== > > > >> 2. Subroutine DoB or DoC line 2 : Should cs=$8 be there ? cs is not >> known until after return from subroutine DoCS . > > > Read the comments... ;-) > > cs = $8 ' This is the checksum of "GPRMB" > If you calculated the the checksum of "GPRMB" it is $8. > So since that is always constant, it simply avoids calculating the > checkcum > for those chars everytime. > > > >> >> 3. Subroutine DoB line 8: field=12 (Bearing to destination) . Where is >> the field number 12 obtained from . Is it the position of gpsdata >> array element [12] (GPRMB sentence) ? I find it to be in gpsdata array >> element [48] . >> > > The size of a field is not constant. So we can't tell what byte position > we want. However the field positions are constant. > Again if we read the comments.... > > field = 12 ' Tell GetNumField which field we want > > And then look at the GetNumField subrouting you will see that it > returns the value of the 12th field. > > > Cheers, > Mike > > > P.S. This I'm moving this to the developpers list, since it has nothing > to do with the web site. > The web site list was created for people that were going to create the > site. > > > > > > > > > --__--__-- > > _______________________________________________ > rcpilot-site mailing list > rcp...@li... > https://lists.sourceforge.net/lists/listinfo/rcpilot-site > > > End of rcpilot-site Digest > > |