# data[].attributes.body
Source
Line(@)o main
Line(@)o begin
Line(@)o load param_dest:var:속도 param_src:dec_num:750
Line(@)o while(1)
Line(@)o begin
Line(@)o load param_dest:var:받은정보 param_src:cm:1
Line(@)o if param_src:var:받은정보 lop:== param_src:rc100z_num:1 rop:then
Line(@)o begin
Line(@)o call faddr_dest:직진
Line(@)o end
Line(@)o elseif param_src:var:받은정보 lop:== param_src:rc100z_num:2 rop:then
Line(@)o begin
Line(@)o call faddr_dest:후진
Line(@)o end
Line(@)o elseif param_src:var:받은정보 lop:== param_src:rc100z_num:4 rop:then
Line(@)o begin
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o elseif param_src:var:받은정보 lop:== param_src:rc100z_num:8 rop:then
Line(@)o begin
Line(@)o call faddr_dest:우회전
Line(@)o end
Line(@)o elseif param_src:var:받은정보 lop:== param_src:rc100z_num:16 rop:then
Line(@)o begin
Line(@)o call faddr_dest:가속
Line(@)o end
Line(@)o elseif param_src:var:받은정보 lop:== param_src:rc100z_num:64 rop:then
Line(@)o begin
Line(@)o call faddr_dest:정지
Line(@)o end
Line(@)o end
Line(@)-
Line(@)o end
Line(@)o function faddr_src:직진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:var:속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:var:속도
Line(@)o end
Line(@)o function faddr_src:후진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:var:속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:속도
Line(@)-
Line(@)o end
Line(@)o function faddr_src:좌회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:var:속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:속도
Line(@)-
Line(@)o end
Line(@)o function faddr_src:우회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:var:속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:var:속도
Line(@)-
Line(@)o end
Line(@)o function faddr_src:정지
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:dec_num:0
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:dec_num:0
Line(@)-
Line(@)o end
Line(@)o function faddr_src:가속
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1297 aop:+ param_src:var:속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:273 aop:+ param_src:var:속도
Line(@)-
Line(@)o end

# data[].attributes.body
Source
Line(@)o main
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:800
Line(@)o while(1)
Line(@)o begin
Line(@)o load param_dest:var:받은데이터 param_src:cm:1
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:1 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:32 rop:then
Line(@)o begin
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:128 rop:then
Line(@)o begin
Line(@)o call faddr_dest:우회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:8 rop:then
Line(@)o begin
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:2 rop:then
Line(@)o begin
Line(@)o call faddr_dest:후진
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:16 rop:then
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:600
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:256 rop:then
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:1023
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:0 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:129 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:129 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:130 rop:then
Line(@)o begin
Line(@)o call faddr_dest:후진
Line(@)o call faddr_dest:우회전
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:34 rop:then
Line(@)o begin
Line(@)o call faddr_dest:후진
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)-
Line(@)-
Line(@)-
Line(@)-
Line(@)o end
Line(@)-
Line(@)o end
Line(@)o function faddr_src:전진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:후진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:좌회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:우회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:후진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:dec_num:0
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:dec_num:0
Line(@)o end

# data[].attributes.body
Source
Line(@)o main
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:600
Line(@)o while(1)
Line(@)-
Line(@)o begin
Line(@)o load param_dest:var:받은데이터 param_src:cm:1
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:1 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:32 rop:then
Line(@)o begin
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:128 rop:then
Line(@)o begin
Line(@)o call faddr_dest:우회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:4 rop:then
Line(@)o begin
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:8 rop:then
Line(@)o begin
Line(@)o call faddr_dest:우회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:2 rop:then
Line(@)o begin
Line(@)o call faddr_dest:후진
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:16 rop:then
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:600
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:256 rop:then
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:1020
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:64 rop:then
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:800
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:0 rop:then
Line(@)o begin
Line(@)o call faddr_dest:정지
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:129 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o call faddr_dest:우회전
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:33 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:130 rop:then
Line(@)o begin
Line(@)o call faddr_dest:후진
Line(@)o call faddr_dest:우회전
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:34 rop:then
Line(@)o begin
Line(@)o call faddr_dest:후진
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o end
Line(@)o end
Line(@)o function faddr_src:전진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:후진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:좌회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:우회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:정지
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:dec_num:0
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:dec_num:0
Line(@)o end

# data[].attributes.body
Source
Line(@)o main
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:800
Line(@)o while(1)
Line(@)o begin
Line(@)o load param_dest:var:받은데이터 param_src:cm:1
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:1 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:2 rop:then
Line(@)o begin
Line(@)o call faddr_dest:후진
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:4 rop:then
Line(@)o begin
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:8 rop:then
Line(@)o begin
Line(@)o call faddr_dest:우회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:0 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o end
Line(@)o end
Line(@)o end
Line(@)o function faddr_src:전진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:후진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:좌회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:우회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:정지
Line(@)o begin
Line(@)o load param_dest:aux:1:68 param_src:dir_num:0
Line(@)o load param_dest:aux:2:68 param_src:dir_num:1024
Line(@)o end

# data[].attributes.body
Source
Line(@)o main
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:1000
Line(@)o while(1)
Line(@)o begin
Line(@)o load param_dest:var:받은데이터 param_src:cm:1
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:1 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:4 rop:then
Line(@)o begin
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:8 rop:then
Line(@)o begin
Line(@)o call faddr_dest:우회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:2 rop:then
Line(@)o begin
Line(@)o call faddr_dest:후진
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:0 rop:then
Line(@)o begin
Line(@)o call faddr_dest:정지
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:16 rop:then
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:700
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:64 rop:then
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:1000
Line(@)o end
Line(@)o end
Line(@)o end
Line(@)o function faddr_src:전진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:512 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1536 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:후진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1536 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:512 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:좌회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1536 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1536 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:우회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:512 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:512 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:정지
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:512 aop:+ param_src:dec_num:0
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:512 aop:+ param_src:dec_num:0
Line(@)o end

# data[].attributes.body
Source
Line(@)o main
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:600
Line(@)o while(1)
Line(@)o begin
Line(@)o load param_dest:var:받은데이터 param_src:cm:1
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:1 rop:then
Line(@)o begin
Line(@)o call faddr_dest:전진
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:4 rop:then
Line(@)o begin
Line(@)o call faddr_dest:좌회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:8 rop:then
Line(@)o begin
Line(@)o call faddr_dest:우회전
Line(@)o end
Line(@)o elseif param_src:var:받은데이터 lop:== param_src:rc100z_num:2 rop:then
Line(@)o begin
Line(@)o call faddr_dest:후진
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:0 rop:then
Line(@)o begin
Line(@)o call faddr_dest:정저
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:16 rop:then
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:1000
Line(@)o end
Line(@)o if param_src:var:받은데이터 lop:== param_src:rc100z_num:64 rop:then
Line(@)o begin
Line(@)o load param_dest:var:이동속도 param_src:dec_num:600
Line(@)o end
Line(@)-
Line(@)o end
Line(@)o end
Line(@)o begin
Line(@)o function faddr_src:전진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:후진
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:좌회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:1024 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:우회전
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:var:이동속도
Line(@)o end
Line(@)o function faddr_src:정저
Line(@)o begin
Line(@)o compute param_dest:aux:1:68 param_src:dir_num:0 aop:+ param_src:dec_num:0
Line(@)o compute param_dest:aux:2:68 param_src:dir_num:0 aop:+ param_src:dec_num:0
Line(@)o end
Line(@)o end
Line(@)-