Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
Fixed small issue with constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Jun 16, 2016
1 parent 6fbe021 commit 9ea691c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions constants.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#ifndef CONSTANTS_H_
#define CONSTANTS_H_

#define FLIGHT_LENGTH 1.1*3600 // Seconds
#define FLIGHT_LENGTH 1.1 // Hours
#define FLIGHT_MAX_HEIGHT 12500 // Meters
#define ASCENT_VELOCITY 5.74 // m/s
#define DESCENT_VELOCITY FLIGHT_MAX_HEIGHT/(FLIGHT_LENGTH-FLIGHT_MAX_HEIGHT/ASCENT_VELOCITY) // m/s
#define DESCENT_VELOCITY FLIGHT_MAX_HEIGHT/(FLIGHT_LENGTH*3600-FLIGHT_MAX_HEIGHT/ASCENT_VELOCITY) // m/s

#define BAT_GSM_MAX 4.2
#define BAT_GSM_MIN 3.7
Expand Down

0 comments on commit 9ea691c

Please sign in to comment.