jsk-ros-pkg / jsk_aerial_robot

The platfrom for aerial robot (e.g. general multirotor, hydrus, di, dragon, etc)
http://www.jsk.t.u-tokyo.ac.jp/index-j.html
34 stars 34 forks source link

[GPS] remove "register" specifier for GPS time calculation. #580

Closed tongtybj closed 12 months ago

tongtybj commented 12 months ago

What is this

"register" specifier is depreacated, and is not allowed in c++17.

Details

"register": https://www.ibm.com/docs/en/zos/2.2.0?topic=specifiers-register-storage-class-specifier

Besides, the calculation of GPS time conversion is light enough, thus register storage should be unnecessary.