そういえば、緯度経度表現で、地球のどの場所でも精度がだいたい同じになるように工夫されたADS-Bで使われてるCPR(Compact Position Reporting)フォーマットとか言う謎表現、
ADS-Bでコーダ自作した時に底だけわかんなくて位置表示できなかった><
英語の解説はあるけど、英語でさっぱりわからなかった><
Decoding ADS-B position http://www.lll.lu/~edward/edward/adsb/DecodingADSBposition.html
別にswitch禁止じゃ無いっぽい><
MISRA-C http://www.c-lang.org/detail/misra_c.html
どういうことなの・・・><
ていうかPythonじゃないじゃん><;(Pythonで書かれた部分読んだあとに読んだから混乱してた><;)
https://gitlab.com/astuff/autoware.ai/common/-/blob/as/master/gnss/src/geo_pos_conv.cpp#L54
もしかしてMISRA Cによる制限か何かなのかも?><;
あとついでに><;
Pythonにswitch文無いんですか!? - Qiita https://qiita.com/hasegit/items/2cf05de74680717f9010
・・・・・・・><
gnss/src/geo_pos_conv.cpp · as/master · AutonomouStuff / Autoware.AI / common · GitLab https://gitlab.com/astuff/autoware.ai/common/-/blob/as/master/gnss/src/geo_pos_conv.cpp
こっちか><;
Autoware.AI · GitLab https://gitlab.com/autowarefoundation/autoware.ai
GitHub - autowarefoundation/autoware: Open-source software for self-driving vehicles https://github.com/autowarefoundation/autoware