.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Re: improving obstacle detection with trigonometry
Old
  (#11)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: improving obstacle detection with trigonometry - 03-02-2004

Heck, how does he manage to find all this stuff...

if I understand you right,
Code:
			   n  (2n+1)
		   (-1) .x
sin (x) ~= -------------
			  (2n+1)!
but what is n ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 03-02-2004 at 10:43.. Reason: HA SCHEISSE stupid forum trims spaces in the beginning of lines
  
Reply With Quote
Re: improving obstacle detection with trigonometry
Old
  (#12)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: improving obstacle detection with trigonometry - 03-02-2004

almost ... you take each n from 0 to infinity and sum up all those terms. so sin x is not what you said, but the sum of all those terms. now you can take only the first parts of the sum if you only need convergence around 0

but using a table would be the best solution in your case I guess



Last edited by @$3.1415rin; 03-02-2004 at 16:37..
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com