Programming Notes for Snake# servo 1 is tail of snake, servo 6 is head dịch - Programming Notes for Snake# servo 1 is tail of snake, servo 6 is head Việt làm thế nào để nói

Programming Notes for Snake# servo

Programming Notes for Snake
# servo 1 is tail of snake, servo 6 is head.
# make commands more symmetric for this robot:
invert all off; # clear any left-over settings
invert 1,2,3 on
# users can expand min/max pos past defaults of -1400/1400
# for a wider range of motion but should then check
# to make sure no servos are reaching their internal stops
# and buzzing while pushing against max/min points.
minpos all -1500; maxpos all 1500; # watch for buzzing at minpos, maxpos
# The macro slither does one cycle of snake-like motion
macro slither
move 6 to minpos, 4 to 0, 2 to maxpos;
move 5 to minpos, 3 to 0, 1 to maxpos;
move 4 to minpos, 2 to 0, 6 to 0;
move 3 to minpos, 1 to 0, 5 to 0;
move 2 to minpos, 6 to maxpos, 4 to 0;
move 1 to minpos, 5 to maxpos, 3 to 0;
move 6 to 0, 4 to maxpos, 2 to 0;
move 5 to 0, 3 to maxpos, 1 to 0;
end;
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
Programming Notes for Snake# servo 1 is tail of snake, servo 6 is head.# make commands more symmetric for this robot:invert all off; # clear any left-over settingsinvert 1,2,3 on# users can expand min/max pos past defaults of -1400/1400# for a wider range of motion but should then check# to make sure no servos are reaching their internal stops# and buzzing while pushing against max/min points.minpos all -1500; maxpos all 1500; # watch for buzzing at minpos, maxpos# The macro slither does one cycle of snake-like motionmacro slithermove 6 to minpos, 4 to 0, 2 to maxpos;move 5 to minpos, 3 to 0, 1 to maxpos;move 4 to minpos, 2 to 0, 6 to 0;move 3 to minpos, 1 to 0, 5 to 0;move 2 to minpos, 6 to maxpos, 4 to 0;move 1 to minpos, 5 to maxpos, 3 to 0;move 6 to 0, 4 to maxpos, 2 to 0;move 5 to 0, 3 to maxpos, 1 to 0;end;
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Lập trình Ghi chú cho rắn
# servo 1 là đuôi của con rắn, servo 6 là người đứng đầu.
# Make lệnh đối xứng hơn cho robot này:
đảo ngược tất cả ra; # Xóa bất kỳ cài đặt trái qua
nghịch 1,2,3 trên
# người dùng có thể mở rộng min / max pos quá khứ mặc định của -1400/1400
# cho một phạm vi rộng lớn hơn của chuyển động nhưng sau đó nên kiểm tra
# để đảm bảo không có servo đang đạt nội bộ của họ dừng
# và ù khi chống đẩy max / min điểm.
minpos tất cả -1500; maxpos tất cả 1500; # Đồng hồ cho ù tại minpos, maxpos
# Các trợt vĩ mô hiện một chu kỳ của con rắn giống như chuyển động
vĩ mô trợt
di chuyển 6 đến minpos, 4-0, 2 để maxpos;
di chuyển 5 đến minpos, 3-0, 1 để maxpos;
chuyển 4 để minpos, 2-0, 6-0;
di chuyển 3 đến minpos, 1-0, 5-0;
di chuyển 2 để minpos, 6 để maxpos, 4-0;
di chuyển 1 tới minpos, 5 đến maxpos, 3-0;
di chuyển 6-0, 4 để maxpos, 2-0;
di chuyển 5-0, 3 đến maxpos, 1-0;
end;
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2024 I Love Translation. All reserved.

E-mail: