To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 6161
6160  |  6162
Subject: 
Dumb math question related to Navigation and encoders
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 5 May 1999 13:19:48 GMT
Original-From: 
bob_kelly/first_union@firstunion-reit.ANTISPAMcom
Viewed: 
831 times
  
How do you compute, using Handyboard Interactive C, the Sin, Cos, Tan,
Arctan, etc. ? Is there some sort of built in math library file that I can
use or is it some sort of formula? I want to implement some rough dead
reckoning ability and this stuff seems just the ticket.

Does anyone have a function library already with some of these
geometry/trigonometry functions that can be used in Interactive C?
Does it already exist in the Hboard standard library?
Maybe somebody could point me to a practical guide to Trigonometry so I can
find the info on my own.

I am sorry for this uneducated question, but I am very interested in
learning how to do this.



Message has 2 Replies:
  Re: Dumb math question related to Navigation and encoders
 
(...) This is actually a very good question. Generally, math function libraries use what is called a Taylor series expansion of a trigonometric function to return an approximation to the function with arbitrary precision. The more terms from the (...) (25 years ago, 5-May-99, to lugnet.robotics.handyboard)
  Re: Dumb math question related to Navigation and encoders
 
Dear Bob, Trigonometric library functions are available in interactive C. (...) The following functions are available(Refer to IC manual available at the MIT site) float sin(float angle) returns sine of an angle given in radians. float cos(float (...) (25 years ago, 7-May-99, to lugnet.robotics.handyboard)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR