- หลีกเลี่ยงความยุ่งยาก
- ออกเเบบให้ผู้รับเเละผู้ส่งเข้าใจกันง่าย
- ประสิทธิภาพของ Protocol
- การใช้งานจริง
โดยที่
MSG TYPE is message type of protocol have 4 type are
- Receive Status from MAVLINK Gateway
- Receive Parameter form MAVLINK Gateway
- Send Parameter to MAVLINK Gateway
- Send Command to MAVLINK Gateway
We separate ID into two part
- First is Status there has approximately 200 value
- Second is Parameter has approximately 300 value
There are 5 type of parameter that send from MAVLINK Gateway
- Float_32
- INT_32
- INT_16
- Int_8
- CHAR 16 BYTE (Use in parameter only)
MSG has 4 type of length depend on type of protocol
- Integer 8 – bit
- Integer 16 –bit
- Integer , float 32 –bit
- Char 16 byte
จึงได้ออกมาเป็น Protocol ที่กว่ามาข้างต้นเเต่ทว่า Protocol ที่ออกเเบบมาข้างต้นนั้นยังมีปัญหาอยู่ศซึ่งจะเเสดงถึงปัญหาเเละวิธีเเก้ใน Blog ต่อไปครับ :D
ไม่มีความคิดเห็น:
แสดงความคิดเห็น