首页 > 编程语言 >COMP4620/8620 AI算法分析

COMP4620/8620 AI算法分析

时间:2023-09-01 20:24:02浏览次数:40  
标签:COMP4620 gripper AI wheelchair 8620 robot joint program each

COMP4620/8620 – Advanced Topics in AI Decision-making under Uncertainty in Robotics Semester-2 2023 – Assignment 1 Due date: Monday, 4 September 2023 23:59 Canberra time Convenor & Lecturer: Hanna Kurniawati Update 29/08/23: • No changes in the text, just reposition the picture to look nicer :) Update 22/08/23: • In each primitive step, the chair cannot move more than 0.10 rad 0.1 0 . • The time limit used will be CPU time. The time limit for the examples in the accompanying supporting codes are: 4 seconds for the no gripper example and 10 seconds for the example with gripper. Update 14/08/23: • Replace all hypen (‘-’) in class/fifile/folder names with underscore (‘ ’) Notes: 1. This is an individual assignment. 2. This assignment consists of two parts: Programming and Report. The maximum total mark is 100 points, with a maximum of 60 points for the Programming component and a maximum of 40 points for the Report component. 3. Submission Instruction: (a) You must write your program in Java. Supporting code (for checking the validity of a confifiguration) is provided. (b) Your main program should be placed in a fifile named a1 [courseCode] [UID].java. (c) Your program should compile from command prompt (e.g., using ant) and generate a fifile that can be run from command prompt as: > java -jar a1 [courseCode] [UID].jar inputFileName outputFileName OR > java a1 [courseCode] [UID] inputFileName outputFileName [courseCode] must be replaced with 4620 or 8620, depending on which class you are enrolled in. [UID] must be replaced with your ANU ID. (d) The report should be in .pdf format and named a1 [courseCode] [UID].pdf. (e) The report and all the source codes necessary to compile your program should be placed inside a folder named a1 [courseCode] [UID]. Please submit only source codes (i.e., remove all object an executable fifiles). (f) The folder should be zipped under the name a1 [courseCode] [UID].zip and the zip fifile should be submitted via wattle before the due date. Page 1 of 5 – Advanced Topics in AI – (COMP4620/8620)(a) (b) (c) Figure 2: Illustration of a simplifified wheelchair robot and its environment. s Figure 1: Wheelchair robot UNA has purchased the hardware for a robotics wheelchair that staffff and students in need can use for free. It is essen tially a wheelchair with a robotics arm and gripper, as il lustrated in Figure 1. To provide better functionality, UNA is developing the software package to plan the wheelchair robot motion autonomously, given initial and goal confifig urations. COMP4620/8620 has been hired to develop the core motion planning component of the software, and this assignment is about developing a simplifified prototype of the planner. Specififically, in this assignment, you need to develop a mo tion planning method and its implementation for a simplifified version of the above wheelchair and analyse its performance. The simplifification is detailed below. The simplifified wheelchair robot operates in a 2D workspace (rather than 3D). In particular, the 2D workspace is a plane, represented as [0, 1] × [0, 1] ⊂ R 2 and is populated by rectangular obstacles. The exact dimension and position of each obstacle in the environment is known prior to execution. Figure 2(a) illustrates an example of this environment. The wheelchair robot is composed of three parts: The chair (base), a robot arm, and a gripper (illus trated in Figure 2(b)). The details of each part are: 1. The chair can be thought of as a base for the arm (and gripper) and is a square of size 0.04×0.04 unit2 . The base can only translate. A local coordinate system is attached to this base. The origin of this coordinate system is at the center of the square, while the X and Y axis are parallel to the X and Y axis of the workspace, as illustrated in Figure 2(c). 2. The robot arm forms a chain and consists of J links and J joints, where J is a positive integer. Each link is a line segment attached to a joint. We number the joints and links sequentially (with the index starting at 1), i.e., joint-1 is located at the center of the base, link-1 is a line-segment attached to joint-1, joint-2 lies at the other end of link-1, etc. Each joint is a rotational joint. A local coordinate system is attached to each joint. The origin of this coordinate system is the position of the joint. For joint-1, this coordinate system coincides with the coordinate system of the base. For other joints, the X axis is the line that coincides with the previous link. Each joint is a rotational joint, which means it can only rotate. We defifine the joint angle of joint-i as Page 2 of 5 – Advanced Topics in AI – (COMP4620/8620)the angle between link-i and the X axis of the coordinate system attached to joint-i. The joint angle of each joint is limited to be within [−1500 , 1500 ]. Figure 2(c) illustrates the coordinate system of the rotational joints. Each link is of size 0.05 unit length. 3. The gripper consists of 2 L shape segments: upper and lower gripper, as illustrated in Fig ure 2(c). It is attached to the last link of the arm and has a fifixed relative orientation with respect to the last link of the arm. However, the length of the segments can be altered and is defifined as (u1, u2) for the upper gripper and as (l1, l2) for the lower gripper, where u1, u2, l1, l2 ∈ [0.03, 0.07]. What your program should do Given the initial and goal confifigurations of the wheelchair robot, as well as a map of the environment, your program must fifind a valid path from the initial to the goal confifiguration. A valid path means that when the wheelchair robot executes the path, it will satisfy the following requirements: 1. The path consists of primitive steps. In each primitive step, the chair cannot move more than 0.001 unit, each joint angle cannot move more than 0.10 rad 0.1 0 , and the length of a segment in the gripper cannot move more 0.001 unit. 2. The robot will not collide with any of the obstacles in the workspace. 3. The robot will not collide with itself. 4. The entire wheelchair robot must lie inside the workspace. 5. The joint angles for the robot arm and the segment length for the gripper must be inside their respective lower and upper limit as described in the previous section (i.e. [−1500 , 1500 ] for the joint angles and [0.03, 0.07] for the segment length). 6. Since a primitive step is very small, it is suffiffifficient to satisfy requirements 2-5 at the beginning and end of each primitive step. To help you develop the motion planning solution, we provide a supporting program (in Java) to test if a confifiguration satisfifies the above validity requirements. Your program should take a .txt fifile containing the problem scenarios as input and output a .txt fifile containing the resulting path. The input and output should follow the format described in the next section. Input and Output format To describe the format of the input fifile, we fifirst need to describe the format of a confifiguration. Format of a confifiguration. A confifiguration is represented by n real numbers, where n is the dimension of the C-space. Each number is separated by a white space. The fifirst two numbers are the position of the origin of the chair’s coordinate system in the workspace. If the wheelchair does not have a gripper, the last n − 2 numbers are the joint angles in sequential order (i.e., the third number is the joint angle of joint-1, the fourth number is the joint angle of joint-2, etc.). Each joint angle is defifined in radian. If the wheelchair has a gripper, the subsequent n − 6 numbers are the joint angles in sequential order, while the last 4 numbers are the values of u1, u2, l1, l2, respectively. Input format. The program you develop should accept a .txt fifile as input. The fifile contains the type of wheelchair, the initial and goal confifigurations, and the obstacles position and dimension. The format of the input fifile is as follows. Page 3 of 5 – Advanced Topics in AI – (COMP4620/8620)1. The fifile consists of k + 4 lines, where k is the number of obstacles in the environment. 2. The fifirst line is the type of wheelchair robot. There is only two possibilities, i.e., withGripper and noGripper for a wheelchair robot with a gripper and without a gripper, respectively. 3. The second line is the initial confifiguration. 4. The third line is the goal confifiguration. 5. The fourth line is the number of obstacles in the environment. 6. Each line in the next k lines represents an obstacle and consists of 4 real numbers. The fifirst two numbers represent the X and Y position of the upper-left vertex of the rectangle, while the last two represent the X and Y position of the lower-right vertex of the rectangle. Output format. Your program should output the wheelchair robot’s path to a .txt fifile with the following format. 1. The fifile consists of m + 2 lines, where m is the number of primitive steps in your path. 2. The fifirst line is the number of line-segments. 3. The second line is the initial confifiguration. 4. The next m lines are the end confifiguration of each primitive step. Examples of the input and output fifiles are in the accompanying supporting program. Grading for the Programming Part (total points: 60/100) For marking, we will use 2 difffferent classes of queries: 1. Class-1: The wheelchair robot consists of a chair and an arm. 2. Class-2: The wheelchair robot consists of all components, i.e., a chair, arm, and gripper. Each class has 3 problem scenarios and queries. The arm in each scenario will have at least 1 joint and 1 link, and at most 10 joints and 10 links. If you use sampling-based method, we will run your program 5× for each query. Your program is deemed as solving the query within the given time limit if it solves at least 3 out of 5 runs within the given time limit. The details of the grading scheme is provided below. • Mark = 0: No program is submitted • 1 ≤ Mark < 10: The program does not compile. • 10 ≤ Mark < 15: The program compiles but does not run. • If the program runs, you will receive 15 points plus Total QueryMarks, where each QueryMark will be given as follows: 1. For each query where your program fails to output a valid path within 2× the time limit, you will receive a QueryMark = 1. 2. For each query where your program outputs a valid path but requires a planning time longer than the time limit but under 2× the time limit, you will receive a QueryMark = 3 for class-1 scenario (i.e., no gripper) and a QueryMark = 4.5 for class-2 scenario (i.e., with gripper). 3. For each query where your program outputs a valid path longer than the time limit, you Page 4 of 5 – Advanced Topics in AI – (COMP4620/8620)will receive a QueryMark = 6 for class-1 scenario (i.e., no gripper) and a QueryMark = 9 for class-2 scenario (i.e., with gripper). Report (total points: 40/100) Your report must contain answers to the following questions: 1. [5 pts] Please defifine the Confifiguration Space of the problem. 2. [10 pts] Please explain the motion planning method that you use to solve the problem. You need to include the description of the solution and reasonings for why you choose the particular method and the design choices you made. 3. [12.5 pts] Please provide empirical analysis of your method with respect to the number of links in the arm of the wheelchair robot, for both classes of queries. Please provide the scenario (environment) you use for testing in the report. 4. [12.5 pts] Under what situation will your program fail? Please explain your answer. Hint on how to get started The following tasks are provided as hints to get you started. 1. Defifine the Confifiguration Space of the problem 2. Identify a suitable motion planning method for solving. If the method you choose to use is sampling-based motion planning, you will need to: (a) Develop the method for sampling the milestones (b) Develop the method to insert edges (c) Develop the method to fifind a path from the given initial to goal confifigurations. 3. Evaluate your method. If you use sampling-based method, this evaluation needs to consider the random nature of the method. oOo That’s all folks oOo Page 5 of 5 – Advanced Topics in AI – (COMP4620/8620)

标签:COMP4620,gripper,AI,wheelchair,8620,robot,joint,program,each
From: https://www.cnblogs.com/goodnewss/p/17672772.html

相关文章

  • 实用的文件编辑工具:UltraISO软碟通
    UltraISO软碟通是一个类似于WinISO的ISO文件编辑工具,UltraISO软碟通操作简单,界面简洁,用户可以用来制作启动光盘映像。不仅如此,UltraISO软碟通还可以用来处理ISO文件的启动信息,随心所欲烧录光碟。UltraISO软碟通软件简介UltraISO软碟通是一款功能强大而又方便实用的软碟文件制作/编......
  • AI辅助编程测试2023.9.1
    今天考虑做一个需求WinForm程序中,将DevExpress中的SpreadsheetControl控件的[Ctrl+S]快捷键禁掉,避免用户自行将程序中提供的表格进行另存。我将下面这句话拿给各个AI工具,以及搜索工具关键词:DevExpress的SpreadsheetControl控件,如何能禁用ctrl+S这个快捷键  POE中的chatGPT3......
  • 视频云存储/安防监控/AI视频智能分析网关V3:工服检测功能详解
    在一些工地、后厨、化工、电力等特定的场景中,工服的穿戴是必不可少的。这不仅是安全制度的要求,更能降低工作风险、提高工作效率。TSINGSEE青犀AI边缘计算网关硬件——智能分析网关可以通过实时监测和识别工人的工装穿戴情况,确保他们符合安全要求。只需在施工场地等监控区域内对......
  • mailcow - 搭建自己的邮件服务器
    title:mailcow-搭建自己的邮件服务器tags:邮件category:/小书匠grammar_cjkRuby:true欢迎使用{小书匠}(xiaoshujiang)笔记软件,您可以通过小书匠主按钮>模板里的模板管理来改变新建文章的内容。小书匠是一款本地优先,去中心化,分布式,支持选择性同步的全平台覆盖笔记......
  • 创意无限!AI绘画、ChatGPT、AIGC工具合集,让你的创作梦想成真
    推荐阅读项目实战:AI文本OCR识别最佳实践AIGamma一键生成PPT工具直达链接玩转cloudStudio在线编码神器玩转GPUAI绘画、AI讲话、翻译,GPU点亮AI想象空间资源分享史上最全文档AI绘画stablediffusion资料分享AI绘画stablediffusionMidjourney官方GPT文档AIGC百科全书......
  • 智慧电力方案:安防监控/视频分析AI识别技术在电力领域中的应用
    一、行业痛点随着经济的飞速发展,电力已经是人们生活中必不可少的,无论是在生活还是工作中,电的存在都是不可或缺的。但电力的高效运维,一直是一个难题,当前普通的电力运维系统已无法满足人们的管理需求,依然无法避免由人员疏忽和自然环境因素导致危险区域人员闯入、火灾、杆塔倒伏等现象......
  • 视频云存储/安防监控/视频AI智能分析:消防器材缺失检测功能详解
    在我们的日常生活中,消防器材是必不可少的,无论是在学校、园区还是工厂里,都需要摆放消防器材,做好防范措施,降低安全隐患。但有时也需防备消防器材被人为挪动甚至破坏,在危急时刻无法发挥作用。TSINGSEE青犀AI边缘计算网关硬件——智能分析网关消防器材缺失检测算法就能很好地预防这种情......
  • 使用全套开源工具构建 LLM 应用实战:在 Dify 调用 Baichuan 开源模型能力
    背景在当下开源大语言模型火热的背景下,有很大一部分开发者希望本地部署开源LLM,用于研究LLM或者是基于开源LLM构建自己的LLM应用。笔者也正在尝试通过开源社区的一系列相关优秀项目,通过本地化部署服务来构建自己的LLM应用。那么本地部署一个开源LLM来构建一个聊天应用需......
  • 昨日举办亚马逊云科技re:Inforce大会:数据和模型安全是构建AI应用的关键
     8月31日,亚马逊云科技re:Inforce2023中国站首次登陆中国,在北京盛大开启!此次大会以“AI时代全面智能的安全”为主题,聚焦生成式AI在安全层面给企业带来的挑战与机遇。亚马逊云科技认为,安全是构建生成式AI不可回避的重要议题,企业只有在AI旅程中做好数据、模型和应用的安全防护,才能更......
  • 石油化工智慧安监方案:视频AI智能识别安全风险预警平台建设
    一、行业背景石油化工生产存储企业属于高温、高压、易燃、易爆、有毒的危险行业,其生产装置大型化、密集化、生产工艺复杂、生产过程紧密耦合。随着互联网技术的发展,运用先进的AI、物联网、大数据、云计算等技术手段不断提高石油化工行业的安全监管水平,已成为行业的发展趋势。基于AI......