[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] 6b6297: [generators] flight_pl
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] 6b6297: [generators] flight_plan: fix for longitude > 107d... |
Date: |
Wed, 20 Aug 2014 12:54:03 -0700 |
Branch: refs/heads/master
Home: https://github.com/paparazzi/paparazzi
Commit: 6b6297ae417a2944eab28728ca27d13f846dea5d
https://github.com/paparazzi/paparazzi/commit/6b6297ae417a2944eab28728ca27d13f846dea5d
Author: Felix Ruess <address@hidden>
Date: 2014-08-20 (Wed, 20 Aug 2014)
Changed paths:
M sw/tools/generators/gen_flight_plan.ml
Log Message:
-----------
[generators] flight_plan: fix for longitude > 107deg on 32bit systems
In ocaml an int is always signed it has only 31bits on 32bit systems...
So when trying to represent a longitude of more than 107 deg as 1e7deg it is
more than the max_int of 1073741823
So always use an Int64 in the convert angle function to fix #808
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [paparazzi/paparazzi] 6b6297: [generators] flight_plan: fix for longitude > 107d...,
GitHub <=