mdecourse / vecp2018

車輛工程系大一計算機程式 (課程已經結束)
GNU Affero General Public License v3.0
0 stars 0 forks source link

vecp-week2 #4

Closed mdecourse closed 6 years ago

mdecourse commented 6 years ago

計算機程式第二週課程

  1. 各學員是否已經根據說明, 以學號申請 Github 帳號, 並且了解如何建立倉儲, 如何在 Issues 發佈資料.
  2. 各學員是否已經將 kmol_level1 放入 USB 隨身碟, 並且了解如何利用 Sc1.exe 執行 C, Python 與 Lua 程式.

ANSI C 測試程式

/* Hello World program */
// Sc1.exe 是以副檔名 .c 辨識程式語法, 將本程式放入編輯器後, 以 Tools->Go 執行

#include<stdio.h>

main()
{
    int i;

    for (i=0; i<10; i++){
        printf("Hello World\n");
    }

}

Python 測試程式

# 單行註解
''' 多行註解,
Sc1.exe 是以副檔名 .py 辨識程式語法, 將本程式放入編輯器後, 以 Tools->Go 執行
'''
for 索引 in range(10):
    print("可以")

Lua 測試程式

-- lua test
--[[ 這是 Lua 程式的多行註解
Sc1.exe 是以副檔名 .lua 辨識程式語法, 將本程式放入編輯器後, 以 Tools->Go 執行
]]
for i = 1,10 do
  print(i, "沒有問題")
end

接下來將利用初步了解 Lua 程式語言, 以及 Lua 變數 scope 用法 進入 Lua 的程式世界

利用 Solvespace 與 V-rep 練習 Lua 與 Python 程式

本課程將利用 Solvespace 建立汽車相關零組件, 導入 V-rep 後, 以 Lua 及 Python 程式進行控制.

mdecourse commented 6 years ago

請在以下回應填入各組組員, 並且自選組別, 隨後輸入的組別不可與前面的組別重複.

40628437 commented 6 years ago

第11組 40628412 40628427 40628437

40628435 commented 6 years ago

第19組 40628435 40628417 40628414

40628407 commented 6 years ago

第17組 40628401 40628407 40628445

40628425 commented 6 years ago

第10組 40628424 40628425 40628431

40628452 commented 6 years ago

第18組 40628452 40628442 40628454

40628428 commented 6 years ago

第1組 40628408 40628428 40628436

40628426 commented 6 years ago

21組 40628426 40628432 40628439

40328410 commented 6 years ago

第13組 40328410 40328421 40628448

40628402 commented 6 years ago

第12組 40628402 40628403 40628415

40628456 commented 6 years ago

第7組 40628456 40628404 40628422

40628405 commented 6 years ago

第14組 40628405 40628410 40628416

40628413 commented 6 years ago

第15組 40628413 40628440 40628450

40628420 commented 6 years ago

第20組 40628420 40628441 40628434

40628418 commented 6 years ago

第12組 40628411 40628418

40628443 commented 6 years ago

第16組 40628443 40628419 40628429

40628453 commented 6 years ago

第9組 40628453 40628438 40628411

40628446 commented 6 years ago

第6組 40628446 40628423 40628433