Donghun October 19 Status Report

Here’s the prototypes for the code I’ve been working on this past week. I’m having trouble having the .c file actually run so I’m only showing the prototypes. With luck, I’ll have a running file midway into the week.
/*
    global constants
*/
static unsigned POLYWAITTIME = 20; // time in ms must be unsigned to be passed to sleep()
static double MAXPOLYDEV = 30; // angle in degrees
static double ANGLETOLMULTIPLIER = 0.25; // y = a*(1+x)
static double MINDRAWLEN = 1.8; // in meters
static double MINDRAWLENLIGHT = 0.3; // in meters
extern double init_h;
extern double init_r;
extern double init_p;
/*
    function declarations
*/
extern int main();
extern bool isCircle(struct bnoeul *bnoeulptr, struct bnolin *bnolinptr);
extern bool isLightning(struct bnoeul *bnoeulptr, struct bnolin *bnolinptr);
extern double getVelocity(struct bnoeul *bnoeulptr, struct bnolin *bnolinptr);
extern void calibrate_imu(struct bnoeul *bnoeulptr, struct bnolin *bnolinptr);

Leave a Reply

Your email address will not be published. Required fields are marked *