辅导案例-CITS2401

辅导案例-CITS2401
Dr. Ghulam Mubashar Hassan Page 1 of 4 Unit Coordinator CITS2401
CITS2401 Computer Analysis and Visualisation
Semester 2, 2019

Lab 3 Part 1
Due date: Friday 5:00 pm, 25 October 2019
Total marks: 30

Assignment submission instructions:
• Submit 1 Python file via the CITS2401 page on LMS -> Labs ->
Lab 3: Analysis and visualisation with Python -> Lab 3 (Part 1/3)
• Submit one Python file under the filename: YourSurname_Studentnumber e.g.
Smith_902787889
• You have unlimited attempts to upload your solution. However, only the last
submission before deadline will be considered and graded. You need to contact
Unit Coordinator for late submission if you are making submission after the
due date.
• Ensure your solution works on ECM computers because it will be graded on
ECM computers using Thonny. In addition, ensure that you have submitted
the correct file and completed the submission process.
• You are required to use libraries which are discussed in the lectures. No other
libraries are allowed to be used.
• Failure to follow the submission guidelines may result in the award of zero
grade.

Plagiarism.
All work submitted should be your own. I am sure that you agree that this is for
your own good!! If you do not agree, please note that we have ways to detect
plagiarism in code. Incidences of plagiarism will be taken seriously and will involve
follow-up with head of school and consequences to academic results.

Question
There is one problem which has two major parts. Your solution should be generic
and will be tested with different data in the same format. You need to submit your
solution as per guidelines provided above.

Real-time Optimization, Scheduling and Logistics (ROSL) research group
(http://www.ecm.uwa.edu.au/research/real-time-optimisation-scheduling-
logistics) in Department of Computer Science and Software Engineering (CSSE)
bought Remote-controlled Zen Wheel microcars for its research
(http://zenwheels.com/). Researchers developed a testbed for testing different
algorithms for autonomous vehicles and the project was chosen as finalist in
WAITTA awards 2018 in the category of Research and Innovation Project of the year
– Postgraduate Tertiary Student. You can watch the 60 seconds pitch at:
https://www.youtube.com/watch?v=ow3AwdkZjmE&feature=youtu.be and read
about the details on IEEE website
(https://ieeexplore.ieee.org/abstract/document/8452376). You can also visit
Room G04 in CSSE building to have a look at the project.

While working on the project, researchers developed an interface which can execute
pre-determined programs. However, it is found that movement of microcars is not
perfect and will sometimes perform an incorrect action.

Dr. Ghulam Mubashar Hassan Page 2 of 4 Unit Coordinator CITS2401
Researchers when testing their latest development maintain a copy of the intended
program but also track what movements have actually been made externally. Each
car can move at any angle with respect to East direction at any speed for any time.

Researchers have performed a series of trials where multiple microcars have been
tested in sequence and have bundled all the data into two csv files per microcar.
One contains the instructions given to each microcar and other contains the actions
performed by each microcar. In some cases, researchers were unable to get the
actual values, so they inserted “NA” for missing values in csv files.

Your task, given both files is to find:
• The final displacement of each microcar from the origin (in both horizontal
and vertical axes).
• The total distance travelled by each microcar.
Note: you are allowed to import only those library modules which are discussed in
the lectures.

Part 1:
Write a function microcar which accepts two inputs. The two inputs are two lists of
strings containing names of csv files (including locations if files are not in the same
folder where file containing the function is stored): the first list contains the names
of the files (including locations if required) containing the expected instructions for
each microcar and, the second list contains the names of the files (including
locations if required) containing the actual actions of each car corresponding to the
expected instructions provided to them.

The two csv files will contain lines in the following format: Angle, time, speed -
where each action will be specified as:
• A, t, s = Move at an angle of A degrees with respect to East direction
(positive horizontal axis) for t seconds with speed s meters per second.
辅导案例-CITS2401
Dr. Ghulam Mubashar Hassan Page 1 of 4 Unit Coordinator CITS2401
CITS2401 Computer Analysis and Visualisation
Semester 2, 2019

Lab 3 Part 1
Due date: Friday 5:00 pm, 25 October 2019
Total marks: 30

Assignment submission instructions:
• Submit 1 Python file via the CITS2401 page on LMS -> Labs ->
Lab 3: Analysis and visualisation with Python -> Lab 3 (Part 1/3)
• Submit one Python file under the filename: YourSurname_Studentnumber e.g.
Smith_902787889
• You have unlimited attempts to upload your solution. However, only the last
submission before deadline will be considered and graded. You need to contact
Unit Coordinator for late submission if you are making submission after the
due date.
• Ensure your solution works on ECM computers because it will be graded on
ECM computers using Thonny. In addition, ensure that you have submitted
the correct file and completed the submission process.
• You are required to use libraries which are discussed in the lectures. No other
libraries are allowed to be used.
• Failure to follow the submission guidelines may result in the award of zero
grade.

Plagiarism.
All work submitted should be your own. I am sure that you agree that this is for
your own good!! If you do not agree, please note that we have ways to detect
plagiarism in code. Incidences of plagiarism will be taken seriously and will involve
follow-up with head of school and consequences to academic results.

Question
There is one problem which has two major parts. Your solution should be generic
and will be tested with different data in the same format. You need to submit your
solution as per guidelines provided above.

Real-time Optimization, Scheduling and Logistics (ROSL) research group
(http://www.ecm.uwa.edu.au/research/real-time-optimisation-scheduling-
logistics) in Department of Computer Science and Software Engineering (CSSE)
bought Remote-controlled Zen Wheel microcars for its research
(http://zenwheels.com/). Researchers developed a testbed for testing different
algorithms for autonomous vehicles and the project was chosen as finalist in
WAITTA awards 2018 in the category of Research and Innovation Project of the year
– Postgraduate Tertiary Student. You can watch the 60 seconds pitch at:
https://www.youtube.com/watch?v=ow3AwdkZjmE&feature=youtu.be and read
about the details on IEEE website
(https://ieeexplore.ieee.org/abstract/document/8452376). You can also visit
Room G04 in CSSE building to have a look at the project.

While working on the project, researchers developed an interface which can execute
pre-determined programs. However, it is found that movement of microcars is not
perfect and will sometimes perform an incorrect action.

Dr. Ghulam Mubashar Hassan Page 2 of 4 Unit Coordinator CITS2401
Researchers when testing their latest development maintain a copy of the intended
program but also track what movements have actually been made externally. Each
car can move at any angle with respect to East direction at any speed for any time.

Researchers have performed a series of trials where multiple microcars have been
tested in sequence and have bundled all the data into two csv files per microcar.
One contains the instructions given to each microcar and other contains the actions
performed by each microcar. In some cases, researchers were unable to get the
actual values, so they inserted “NA” for missing values in csv files.

Your task, given both files is to find:
• The final displacement of each microcar from the origin (in both horizontal
and vertical axes).
• The total distance travelled by each microcar.
Note: you are allowed to import only those library modules which are discussed in
the lectures.

Part 1:
Write a function microcar which accepts two inputs. The two inputs are two lists of
strings containing names of csv files (including locations if files are not in the same
folder where file containing the function is stored): the first list contains the names
of the files (including locations if required) containing the expected instructions for
each microcar and, the second list contains the names of the files (including
locations if required) containing the actual actions of each car corresponding to the
expected instructions provided to them.

The two csv files will contain lines in the following format: Angle, time, speed -
where each action will be specified as:
• A, t, s = Move at an angle of A degrees with respect to East direction
(positive horizontal axis) for t seconds with speed s meters per second.

◆-CITS2401
古拉姆·穆巴沙尔·哈桑博士 第 1 页,共 4 个单位协调员 CITS2401
CITS2401 计算机分析和可视化
学期 2, 2019

实验 3 第 1 部分
截止日期:2019年10月25日(星期五)下午5:00
总分: 30

作业提交说明:
• 通过 LMS 上的 CITS2401 页面提交 1 个 Python 文件 -* 实验室 -*
实验 3:使用 Python 进行分析和可视化 -* 实验 3(第 1/3 部分)
• 在文件名下提交一个 Python 文件:您的"您的Surname_学生编号",例如
史密斯#902787889
• 您可以无限制地尝试上传您的解决方案。但是,只有最后
在截止日期之前提交将考虑和分级。您需要联系
如果提交后提交,则延迟提交的单位协调员
到期日期。
• 确保您的解决方案在 ECM 计算机上工作,因为它将在
使用汤尼的ECM计算机。此外,请确保您已提交
正确的文件,并完成提交过程。
• 您需要使用讲座中讨论的图书馆。没有其他
允许使用库。
• 不遵守提交准则可能导致判给零
年级。

剽窃。
提交的所有工作都应是您自己的。我相信你同意,这是为
你自己的好!!如果您不同意,请注意,我们的方法可以检测
代码中的剽窃。剽窃事件将受到严肃对待,并将涉及
对校长的跟进和对学习结果的影响。

问题
有一个问题有两个主要部分。您的解决方案应该是通用的
并在同一格式用不同的数据进行测试。您需要提交
根据上述准则提供的解决方案。

实时优化、调度和物流 (ROSL) 研究小组
(http://www.ecm.uwa.edu.au/research/real-time-optimisation-scheduling-
计算机科学与软件工程系(CSSE)的物流)
购买遥控禅轮微型车进行研究
(httpzenwheels.com/)。研究人员开发了一个测试台,用于测试不同的
自主车辆的算法和该项目被选为入围
2018年WAITTA年度研究与创新项目奖
• 研究生大专生。您可以在以下时间观看 60 秒的音高:
https://www.youtube.com/watch?v=ow3AwdkZjmE&feature=youtu.be和阅读
关于IEEE网站的详细信息
(https://ieeexplore.ieee.org/abstract/document/8452376)。您也可以访问
CSSE大楼的G04室,看看该项目。

在进行这个项目时,研究人员开发了一个可以执行
预先确定的程序。然而,发现微型车的运动不是
完美,有时会执行不正确的操作。

古拉姆·穆巴沙尔·哈桑博士 第 2 页,共 4 个单位协调员 CITS2401
研究人员在测试他们的最新发展时,会保留一份预期
程序,但也跟踪什么运动实际上已经做了外部。每个
汽车可以在任何时候以任何速度相对于东方向以任何角度移动。

研究人员进行了一系列试验,其中多辆微型车已经
按顺序测试,并将所有数据捆绑到每个微型车的两个 csv 文件中。
一个包含给每个微型车的说明,另一个包含动作
由每个微型车执行。在某些情况下,研究人员无法获得
实际值,因此它们在 csv 文件中插入了缺少值的"NA"。

鉴于这两个文件的任务是查找:
• 每辆微型车的最终位移从原点(在两个水平
和垂直轴)。
• 每辆微型车行驶的总距离。
注意:您只能导入在
讲座。

第 1 部分:
编写一个接受两个输入的功能微车。两个输入是两个列表
包含 csv 文件名称的字符串(包括文件不在同一位置的位置)
存储包含函数的文件的文件夹):第一个列表包含名称
包含预期说明的文件(包括位置(如果需要)的
每个微型车,第二个列表包含文件的名称(包括
位置(如果需要),包含每辆车的实际行动对应于
提供给他们的预期说明。

两个 csv 文件将包含以下格式的行: 角度, 时间, 速度 -
每个操作将指定为:
• A、t、s = 相对于东向以 A 度的角度移动
(正水平轴)为 t 秒,速度为每秒。

你可能感兴趣的:(辅导案例-CITS2401)