export PATH=/usr/local/sbin:$PATH
export PATH=$HOME/.local/bin:$PATH
export PATH=$PATH:$HOME/workspace/esp/xtensa-esp32-elf/bin
+export PATH=$PATH:$HOME/workspace/esp/xtensa-lx106-elf/bin
export GOBIN=$HOME/.local/bin
export IDF_PATH=$HOME/workspace/esp/esp-idf
export PATH=$PATH:/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/
export PATH=$PATH:$HOME/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin
+export PATH=$PATH:/usr/local/opt/go/libexec/bin
#多个GOPATH用';'分隔 go get会存到第一个目录
export GOPATH=$HOME/go
export RTOS_PATH=$HOME/workspace/acecode/rtos/
set shiftwidth=4
set expandtab " TAB用空格代替,否则可用 set noexpandtab
set cursorline
-set paste
"hi CursorLine ctermbg=lightcyan cterm=BOLD
"set cursorcolumn
autocmd FileType asm set shiftwidth=4
autocmd FileType asm set expandtab
-imap jj <esc> " 连续按两次jj表示按ESC,进入命令模式
+" 连续按两次jj表示按ESC,进入命令模式
+imap jj <Esc>
+
+" set paste 会使 imap jj <Esc>失效
+"set paste
320000,
20726155264,
0.06,
- 0.05,
+ 0.051,
3.0136321e11,
47921949,
},
3.5315984e12,
84159271,
},
+ "Dress" :
+ {
+ "Dress",
+ "Kerbol",
+ 138000,
+ 40839348203,
+ 5,
+ 0.145,
+ 2.1484489e10,
+ 32832840,
+ },
}
func getAstronomicalObjectOrbitalPeriod(sma float64, u float64) float64 {
// ===> PhaseAngle = Pi - Tt*Pi/Td
aos := objects["Kerbin"]
- aod := objects["Eve"]
+ aod := objects["Duna"]
if aos.parent != aod.parent || aos.parent == "" || aod.parent == "" {
fmt.Println("invalid astronomical object");
return