📋 المحتوى المنظم
📖 محتوى تعليمي مفصّل
نوع: محتوى تعليمي
حان الوقت الآن لإدراج النص البرمجي في الطائرة المسيرة وتشغيل المحاكاة.
لإدراج برنامج التحكم وتشغيل المحاكاة:
نوع: محتوى تعليمي
لإدراج برنامج التحكم وتشغيل المحاكاة:
Instruction 1
نوع: محتوى تعليمي
من Scene tree (شجرة المشهد)، اضغط على Mavic2Pro ثم اضغط على controller "mavic2pro_patrol".
Instruction 2
نوع: محتوى تعليمي
من Field editor (محرر الحقل)، اضغط على ... Select (اختيار).
Instruction 3
نوع: محتوى تعليمي
حدد drone_controller (متحكم_الطائرة المسيرة)، ثم اضغط على OK (موافق).
Instruction 4
نوع: محتوى تعليمي
من Toolbar (شريط الأدوات)، اضغط على Run the simulation in real-time (شغل المحاكاة بشكل فوري).
نوع: محتوى تعليمي
عند إجراء تغييرات على النصوص البرمجية، لا تنس أن تضغط على S + Ctrl.
نوع: FIGURE_REFERENCE
شكل 6.14: إدراج النص البرمجي لبرنامج التحكم وتشغيل المحاكاة
نوع: METADATA
وزارة التعليم
Ministry of Education
2023 - 1447
324
🔍 عناصر مرئية
شكل 6.14: إدراج النص البرمجي لبرنامج التحكم وتشغيل المحاكاة
A screenshot of the Webots simulation environment for a DJI Mavic 2 PRO drone. The left panel shows a 'Scene tree' with various objects including 'WorldInfo', 'Viewpoint', 'TexturedBackground', 'TexturedBackgroundLight', 'Floor "floor"', 'Pedestrian "pedestrian(2)"', 'Pedestrian "pedestrian(1)"', 'Road "road"', 'Pedestrian "pedestrian"', 'Windmill "windmill"', 'Windmill "windmill(1)"', 'Windmill "windmill(2)"', 'SmallManor "small manor"', 'SquareManhole "manhole"', 'CardboardBox "cardboard box"', 'TeslaModel3Simple "vehicle"', 'Forest'. The 'Mavic 2 PRO' object is selected, displaying its properties: 'translation 0.00531 -1.9e-07 0.0857', 'rotation 0.0349 7.3e-07 0.999 -3.14', 'name "Mavic 2 PRO"', 'controller "mavic2pro_patrol"', 'controllerArgs', 'window "<generic>"', 'customData', 'supervisor FALSE', 'synchronization TRUE', 'battery', 'bodySlot', 'cameraSlot'. The 'controller' property is set to 'mavic2pro_patrol'. Below this, there's a 'Selection: controller (String)' field with 'mavic2pro_patrol' entered and 'Select' and 'Edit' buttons. The main view shows a simulated outdoor environment with a drone on a platform, a person, and a car. A 'Controller choice' dialog box is open in the center, listing controller options: '<none>', '<extern>', '<generic>', 'braitenberg', 'drone_controller', 'mavic2pro', 'mavic2pro_patrol', 'sumo_supervisor'. 'drone_controller' is highlighted. Below the list are 'OK' and 'Cancel' buttons. The top toolbar has simulation controls including play, pause, step, and speed settings (0:00:00:000, 0.00x). Numbered blue circles indicate specific interaction points: 1 points to 'Mavic 2 PRO' in the scene tree, 2 points to 'controller "mavic2pro_patrol"' property, 3 points to the 'Select' button, 4 points to 'drone_controller' in the dialog, 5 points to the 'OK' button, and 6 points to the play button in the toolbar.
📄 النص الكامل للصفحة
حان الوقت الآن لإدراج النص البرمجي في الطائرة المسيرة وتشغيل المحاكاة.--- SECTION: لإدراج برنامج التحكم وتشغيل المحاكاة: --- لإدراج برنامج التحكم وتشغيل المحاكاة:--- SECTION: Instruction 1 --- من Scene tree (شجرة المشهد)، اضغط على Mavic2Pro ثم اضغط على controller "mavic2pro_patrol".--- SECTION: Instruction 2 --- من Field editor (محرر الحقل)، اضغط على ... Select (اختيار).--- SECTION: Instruction 3 --- حدد drone_controller (متحكم_الطائرة المسيرة)، ثم اضغط على OK (موافق).--- SECTION: Instruction 4 --- من Toolbar (شريط الأدوات)، اضغط على Run the simulation in real-time (شغل المحاكاة بشكل فوري).عند إجراء تغييرات على النصوص البرمجية، لا تنس أن تضغط على S + Ctrl.شكل 6.14: إدراج النص البرمجي لبرنامج التحكم وتشغيل المحاكاة2023 - 1447--- VISUAL CONTEXT ---
**FIGURE**: شكل 6.14: إدراج النص البرمجي لبرنامج التحكم وتشغيل المحاكاة
Description: A screenshot of the Webots simulation environment for a DJI Mavic 2 PRO drone. The left panel shows a 'Scene tree' with various objects including 'WorldInfo', 'Viewpoint', 'TexturedBackground', 'TexturedBackgroundLight', 'Floor "floor"', 'Pedestrian "pedestrian(2)"', 'Pedestrian "pedestrian(1)"', 'Road "road"', 'Pedestrian "pedestrian"', 'Windmill "windmill"', 'Windmill "windmill(1)"', 'Windmill "windmill(2)"', 'SmallManor "small manor"', 'SquareManhole "manhole"', 'CardboardBox "cardboard box"', 'TeslaModel3Simple "vehicle"', 'Forest'. The 'Mavic 2 PRO' object is selected, displaying its properties: 'translation 0.00531 -1.9e-07 0.0857', 'rotation 0.0349 7.3e-07 0.999 -3.14', 'name "Mavic 2 PRO"', 'controller "mavic2pro_patrol"', 'controllerArgs', 'window "<generic>"', 'customData', 'supervisor FALSE', 'synchronization TRUE', 'battery', 'bodySlot', 'cameraSlot'. The 'controller' property is set to 'mavic2pro_patrol'. Below this, there's a 'Selection: controller (String)' field with 'mavic2pro_patrol' entered and 'Select' and 'Edit' buttons. The main view shows a simulated outdoor environment with a drone on a platform, a person, and a car. A 'Controller choice' dialog box is open in the center, listing controller options: '<none>', '<extern>', '<generic>', 'braitenberg', 'drone_controller', 'mavic2pro', 'mavic2pro_patrol', 'sumo_supervisor'. 'drone_controller' is highlighted. Below the list are 'OK' and 'Cancel' buttons. The top toolbar has simulation controls including play, pause, step, and speed settings (0:00:00:000, 0.00x). Numbered blue circles indicate specific interaction points: 1 points to 'Mavic 2 PRO' in the scene tree, 2 points to 'controller "mavic2pro_patrol"' property, 3 points to the 'Select' button, 4 points to 'drone_controller' in the dialog, 5 points to the 'OK' button, and 6 points to the play button in the toolbar.
Table Structure:
Headers: N/A Rows:
Key Values: File, Edit, View, Simulation, Build, Overlays, Tools, Help, DJI Mavic 2 PRO demo, IMPORTABLE EXTERNPROTO, WorldInfo, Viewpoint, TexturedBackground, TexturedBackgroundLight, Floor "floor", Pedestrian "pedestrian(2)", Pedestrian "pedestrian(1)", Road "road", Pedestrian "pedestrian", Windmill "windmill", Windmill "windmill(1)", Windmill "windmill(2)", SmallManor "small manor", SquareManhole "manhole", CardboardBox "cardboard box", TeslaModel3Simple "vehicle", Forest, Mavic 2 PRO, translation 0.00531 -1.9e-07 0.0857, rotation 0.0349 7.3e-07 0.999 -3.14, name "Mavic 2 PRO", controller "mavic2pro_patrol", controllerArgs, window "<generic>", customData, supervisor FALSE, synchronization TRUE, battery, bodySlot, cameraSlot, Selection: controller (String), mavic2pro_patrol, Select, Edit, Controller choice, Please select a controller from the list (It will start at the next time step), <none>, <extern>, <generic>, braitenberg, drone_controller, mavic2pro, mavic2pro_patrol, sumo_supervisor, OK, Cancel, 0:00:00:000, 0.00x Context: This figure visually guides the user through the steps of selecting and applying a controller program ('mavic2pro_patrol' or 'drone_controller') to a simulated DJI Mavic 2 PRO drone within the Webots environment, and then initiating the simulation, as described in the accompanying instructions.
🎴 بطاقات تعليمية للمراجعة
عدد البطاقات: 5 بطاقة لهذه الصفحة
ما هي الخطوة الأولى من شجرة المشهد (Scene tree) التي يجب تحديدها لإدراج برنامج التحكم؟
الإجابة: من Scene tree (شجرة المشهد)، اضغط على Mavic2Pro ثم اضغط على controller "mavic2pro_patrol".
الشرح: تشير هذه التعليمات إلى تحديد الطائرة المسيرة (Mavic2Pro) في شجرة المشهد ثم اختيار برنامج التحكم الخاص بها (mavic2pro_patrol).
تلميح: فكر في الكائن الأساسي الذي يمثل الطائرة المسيرة في بيئة المحاكاة.
بعد تحديد الطائرة المسيرة وبرنامج التحكم، أي خيار يجب اختياره في محرر الحقل (Field editor)؟
الإجابة: من Field editor (محرر الحقل)، اضغط على ... Select (اختيار).
الشرح: خطوة 'Select' تسمح باختيار المتحكم المناسب للطائرة المسيرة.
تلميح: ماذا تفعل عندما تريد اختيار شيء من قائمة أو واجهة؟
ما هو نوع المتحكم الذي يتم تحديده بعد الضغط على 'Select' في محرر الحقل؟
الإجابة: حدد drone_controller (متحكم_الطائرة المسيرة)، ثم اضغط على OK (موافق).
الشرح: يتم اختيار 'drone_controller' كنوع محدد لمتحكم الطائرة المسيرة في بيئة المحاكاة.
تلميح: ابحث عن الكلمة التي تدل على نوع المتحكم في التعليمات.
ما هو الإجراء الذي يجب اتخاذه في شريط الأدوات (Toolbar) لبدء المحاكاة بعد إدراج برنامج التحكم؟
الإجابة: من Toolbar (شريط الأدوات)، اضغط على Run the simulation in real-time (شغل المحاكاة بشكل فوري).
الشرح: لتشغيل المحاكاة بشكل فعلي ومراقبة حركة الطائرة المسيرة، يتم الضغط على زر تشغيل المحاكاة في الوقت الفعلي.
تلميح: كيف تبدأ عملية تشغيل في أي برنامج؟
ما هو اختصار لوحة المفاتيح الموصى به لحفظ التغييرات على النصوص البرمجية أثناء العمل في بيئة المحاكاة؟
الإجابة: عند إجراء تغييرات على النصوص البرمجية، لا تنس أن تضغط على S + Ctrl.
الشرح: اختصار 'Ctrl + S' هو المعيار لحفظ الملفات في معظم التطبيقات، ويتم استخدامه هنا للتأكيد على أهمية حفظ التغييرات البرمجية.
تلميح: ما هي المجموعة الشائعة من المفاتيح التي تستخدم للحفظ؟