国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代做CSC477、代寫Python,C++設計編程

時間:2024-02-05  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



CSC**7 – Introduction To Mobile Robotics

assignment 1, 15 points due: Jan 31, 2024, at 6pm ET

Overview: In this assignment you will write a feedback controller that enables a ground robot, which obeys differential drive dynamics, to follow a wall. The purpose of this assignment is to make you develop experience with the following concepts:

 Robot Operating System: its architecture and its publisher-subscriber model, which abstracts away the details of distributed computation and message passing from the robot programmer. Familiarity will also be developed with ROS’s main visualization tool, called rviz.

 Controlling the yaw of a ground robot via PID control

 Processing 2D laser measurements

 The gazebo simulator, which is currently one of the most popular simulators in the robotics community.

Setting up VNC:

If you are planning on using the lab machines for this assignment, you will have to use VNC to access the lab PCs since you will need a GUI to run the simulations. If you plan on working from your local machine please skip this section and go to ”Setting Up ROS”.

We have posted a shared google spreadsheet containing the assignment of MCS lab machines to students, so please refer to Quercus for instructions on how to get a lab PC for yourself, if you need one. You can also work from your own machine, but note the requirements for setting up ROS, listed in the following sections. We might not be able to provide support or advice for the starter code if you run it on machines that do not satisfy those specs.

VNC is already installed on all the systems, but you need to set up your credentials so you can run your own VNC server that only you can access.

1. ssh into your account on your assigned lab PC

2. Type vncpasswd to create a password for yourself to access the PC

3. run vncserver with the following command so it creates the required directories.

vncserver

4. Then kill the server with

vncserver -kill :*

5. Use your favourite text editor to open the .vnc/xstartup file and put the following text in it:

#!/bin/sh

unset SESSION_MANAGER

exec /etc/X11/xinit/xinitrc

6. Now start a vncserver again with the same command:

vncserver

page 1 of 10

 

CSC**7: Introduction to Mobile Robotics - Assignment 1 Jan 18, 2024

 7. In the output of the command you just ran, make note of the :1 (or whatever number it is, it will be :x where x is an integer)

Here is an example of the output where the x=2 :

UTORid@dh2026pc09:~$ vncserver

New ’dh2026pc09.utm.utoronto.ca:2 (UTORid)’ desktop at :2 on machine dh2026pc09.utm.utoronto.ca

Starting applications specified in /student/UTORid/.vnc/xstartup

Log file is /student/UTORid/.vnc/dh2026pc09.utm.utoronto.ca:2.log

Use xtigervncviewer -SecurityTypes VncAuth -passwd /student/UTORid/.vnc/passwd :2 to

connect to the VNC server.

Now on your desktop:

1. Install a vncviewer (I installed realvnc-vnc-viewer but I think any one will work)

2. Start an ssh tunnel which the vncserver will go through. We are doing this because the vnc connection by itself is not encrypted and insecure, so its important that all the packets for your vnc connection pass through the secure ssh tunnel. To start the tunnel use the command:

ssh -L yyyy:localhost:5**x -C UTORid@[your assigned lab pc].utm.utoronto.ca

where yyyy is a port you want to use on your workstation that is not already used. And x is the :x number that is shown to you when you started vncserver. The ’-C’ is to allow compression, it should help your remote instance be more responsive.

3. Once you log in, leave the window open and start the vncviewer on your local pc. The address you would be connecting to would be

localhost:yyyy

4. It will prompt for the vncpasswd that you created, and you should see your desktop.

If you run into trouble at any of the above steps, you may want to go through the relevant sections of the following VNC guides to see if they solve your problem before you ask for help.

For Ubuntu 18:

www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04

For Ubuntu 20:

www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04

For Ubuntu 22:

www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-22-04

For Mac OS and Windows:

www.linode.com/docs/applications/remote-desktop/install-vnc-on-ubuntu-18-04/

page 2 of 10

 

CSC**7: Introduction to Mobile Robotics - Assignment 1 Jan 18, 2024

 Setting up ROS: There are multiple ways to install ROS. If you are planning to work from the MCS lab machines in Deerfield Hall (e.g. DH2020, DH2010, DH2026), Ubuntu and ROS are already installed and available to you. If you want to work from your own machine, we are assuming that you are running Ubuntu 20.04 on a computer which you have sudo access, then please make sure the following are installed:

 Ubuntu 20.04. NOTE: Ubuntu 22.04 is by default not compatible with precompiled ROS 1 noetic packages, so it will not work. Compiling ROS noetic from source should work, but it is quite a long process, and it is not recommended. If you have Ubuntu 22.04 on your personal desktop then you might need to follow these instructions to install ROS 1 precompiled packages https://robostack. github.io/index.html, but we have not tested this. If this does not work, you might need to run ROS nodes inside a Docker container, as shown here https://roboticseabass.com/2021/04/21/ docker-and-ros/.

 ROS 1 (noetic) http://wiki.ros.org/noetic/Installation/Ubuntu. If you have trouble installing ROS 1 please post on Piazza.

 ROS 1 simulation dependencies (if you didn’t do a full install of ROS you can get them from sudo apt-get install ros-noetic-simulators)

any video screen recorder for assignment submission (e.g. recordmydesktop https://wiki.ubuntu.com/ScreenCasts/RecordMyDesktop)

Get and run the starter code: We have created a few simulated worlds consisting of sequences of walls and a simulated ground robot for you for the purposes of this assignment. A screenshot of the what the Gazebo simulation environment looks like is shown in Fig 1.
CSC**7: Introduction to Mobile Robotics - Assignment 1 Jan 18, 2024

  Figure 1: Gazebo environment with walls only on one side of the robot.

We are also providing starter code for this assignment. This starter code is provided in the form of ROS packages in your workspace. Make sure the following lines are at the end of your /home/[username]/.bashrc file:

export ROS_HOME=~/.ros

source /opt/ros/noetic/setup.bash

source ~/csc**7_ws/devel/setup.bash

Then run the following command, this adds the paths to catkin and ros for your bash terminal, allowing you to use them

source ~/.bashrc

Then actually create your workspace:

mkdir -p ~/csc**7_ws/src

cd ~/csc**7_ws/src

catkin_init_workspace

In csc**7 ws/src download the starter code:

git clone https://github.com/florianshkurti/csc**7_winter24.git

Then compile it, but you have to run catkin make twice, as it fails the first time :

cd ~/csc**7_ws

catkin_make

source ~/.bashrc

page 4 of 10

 

CSC**7: Introduction to Mobile Robotics - Assignment 1 Jan 18, 2024

 If this last command results in errors, you might need to install additional packages. Please post your questions on Piazza if this is the case and you don’t know what to do. In the MCS lab machines this will most likely not be an issue. If you are working from a personal laptop or desktop, however, you might need to install the following packages:

sudo apt-get install ros-noetic-control-toolbox ros-noetic-joystick-drivers

sudo apt-get install ros-noetic-realtime-tools ros-noetic-ros-control

sudo apt-get install ros-noetic-ros-controllers ros-noetic-gazebo-ros-control

If you still get errors after installing them please post a question on Quercus or email us as soon as possible. If compilation goes smoothly, move on to the following.

Your assignment is run using 3 commands, each in their own separate terminal. First you create the simulation environment, then you populate it with a virtual husky robot, and finally you run your code piloting the husky around the environment. This is what the commands look like at a glance, they are explained in further detail, and with some more setup info + checks below:

roslaunch wall_following_assignment gazebo_world.launch  world_name:=[world_name]

roslaunch wall_following_assignment husky_follower.launch

roslaunch wall_following_assignment wall_follower_[language].launch

Here is a step-by-step walkthrough of the commands: Bring up a world with walls in the gazebo simulator

roslaunch wall_following_assignment gazebo_world.launch  world_name:=walls_one_sided

Bring up the robot (husky) in that world

roslaunch wall_following_assignment husky_follower.launch

The only error that should appear after these two commands is that no joystick can be found. If another error is printed, please let us know. If these two commands go well this should make the gazebo image in Fig 1 shown above appear. Then, call rviz, which is the default visualization system for ROS:

rosrun rviz rviz

And then go to File > Open config and select the config file

csc**7 ws/src/wall following assignment/resources/csc**7.rviz You should see what’s shown in Fig 2:

The rainbow-colored line is actually a set of points detected by the simulated 2D laser. The other line and frames represent the tree of reference frames that the system is aware of. If all of this goes well then you will be ready to proceed to the next section, which is the essence of the assignment, and to write your controller code to make the robot move. At this point, you can run a simple last check:

rosrun teleop_twist_keyboard teleop_twist_keyboard.py  \

   cmd_vel:=/husky_1/husky_velocity_controller/cmd_vel

This command bring up a node publishing on topic /husky 1/husky velocity controller/cmd vel and enable you to control the robot through keyboard. If you can successfully move husky around using the keyboard through the command-line interface shown in Fig. 3 then you are ready to proceed with writing your PID controller.

Implement and test a wall-following controller (15 pts) The input to the robot will be laser scan messages from the robot’s simulated laser scanner. See here http://docs.ros.org/api/sensor_msgs/ html/msg/LaserScan.html for the ROS message definition. Also, make sure you have understood these ROS tutorials about the publisher-subscriber model of distributed computing: http://wiki.ros.org/ROS/ Tutorials. We have provided starter code for Python and C++ in the files

page 5 of 10

 

CSC**7: Introduction to Mobile Robotics - Assignment 1 Jan 18, 2024

  Figure 2: Rviz visualization for the Husky robot in Fig 1. Overlaid on the robot you can see the various reference frames from ROS’s tf system.

csc**7_ws/src/csc**7_fall22/wall_following_assignment/python/wall_follower.py

csc**7_ws/src/csc**7_fall22/wall_following_assignment/src/wall_follower_node.cpp

csc**7_ws/src/csc**7_fall22/wall_following_assignment/include/wall_following_assignment/pid.h

Choose your language and edit the appropriate files. Specifically:

[Part A, 2 pts] Compute the cross-track error based on each incoming laser scan and publish it un- der the topic name /husky 1/cte with the ROS message type std msgs/Float**, which can be found here http://wiki.ros.org/std_msgs. Tutorials for how to write your own publisher in Python can be found at http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28python%29.

[Part B, 7 pts] Populate the PID class based on the provided API. For each incoming laser scan is- sue an angular velocity command to the robot at the topic /husky velocity controller/cmd vel, based on the output of the PID controller. You need to follow the wall on the LEFT of the robot, as it is placed in its initial configuration.

[Part C, 2 pts]

Create a dynamic reconfigure server for tweaking your controller’s parameters in real time. Follow the in- structions presented here: http://wiki.ros.org/dynamic_reconfigure/Tutorials. Dong forget to make your cfg file executable, according to the instructions above. Add at least three parameters for the PID gains and run

rosrun rqt_reconfigure rqt_reconfigure

to tweak the PID parameters manually. A set of parameters is considered good enough and the run is considered successful if the robot does not collide with the wall and completes at least 3/4 of a full circuit around the left wall. NOTE: If you have build or import errors during this part let us know on Piazza.

page 6 of 10

 

CSC**7: Introduction to Mobile Robotics - Assignment 1 Jan 18, 2024

  Figure 3: Command-line interface for the node teleop twist keyboard.py which allows you to drive the robot using your keyboard. If you can do this successfully then you are ready to proceed with designing the controller.

page 7 of 10

 

CSC**7: Introduction to Mobile Robotics - Assignment 1 Jan 18, 2024

 [Part D, 4 pts] For each of the two simple wall worlds in wall following assignment/worlds/, namely: walls one sided.world, walls two sided.world, do the following:

Launch your wall following controller like this:

   roslaunch  wall_following_assignment wall_follower_python.launch

   or

   roslaunch  wall_following_assignment wall_follower_cpp.launch

according to your language of choice.

 (1pt/world) Use a desktop recording program such as recordMyDesktop or something similar to record a video of your robot while it is following the wall. Be sure to include any failure cases.

 (1pt/world) Record the cross-track error published by your node as follows: rosbag record /husky_1/cte

and after your robot’s run is done, convert the recorded messages in the bag into a text file like so:

        rostopic echo -b file.bag -p /husky_1/cte  > cross_track_error.csv

        rosbag play file.bag

[Optional Part E, 1 bonus pt] Implement and evaluate the PID self-tuning algorithm that was mentioned in class. Plot the cross-track error as a function of epochs (or iterations), where an epoch is a round of evaluation of a PID parameter setting on the simulator.

[Optional Part F, 2 bonus pts] Evaluate your wall-following ROS node on one of the real racecars that we have available for this course at UTM, shown here:

Note that these racecars as well as a technician to support their operation are only available at UTM. If you are interested in completing this bonus question, please reach out to our robotics lab technician at UTM, Ruthrash Hari (ruthrash.hari@mail.utoronto.ca).

Submission Instructions Assignment submissions will be done on Quercus. You will submit a zip file containing the following:

1. Your csc**7 winter24/wall following assignment directory for Parts A, B, and C.

2. Two videos, one for demonstrating the robot’s navigation in the world walls one sided.world and another video for the world walls two sided.world as explained in Part D. The videos should be named as follows:

         FirstName_LastName_StudentNumber_walls_one_sided.[mp4/avi]

         FirstName_LastName_StudentNumber_walls_two_sided.[mp4/avi]

Each video should not exceed 10MB.

3. Similarly, two csv files from Part D. They should be named:

page 8 of 10

 

CSC**7: Introduction to Mobile Robotics - Assignment 1 Jan 18, 2024

  Figure 4: CSC**7 Racecar

         FirstName_LastName_StudentNumber_walls_one_sided.csv

         FirstName_LastName_StudentNumber_walls_two_sided.csv

The point of including a video of your controller in your submission is not just for us to easily examine your code. It’s also so that you can easily show your work later on to classmates/coworkers/employers. It becomes part of your portfolio. It is also worth noting that, due to the ROS abstraction layer, if you want, you could run your feedback controller on a real Husky robot, without major modifications.

4. If you’ve done the optional bonus question E, please submit the resulting figure as:

         FirstName_LastName_StudentNumber_bonus_question_PID_autotuning.[png/jpg]

5. If you’ve done the optional bonus question F, please submit a video (under 20MB) showing the racecar doing wall-following on the 3rd floor of Deerfield Hall at UTM:

         FirstName_LastName_StudentNumber_bonus_question_Racecar.[mp4/avi]

We expect your code to run on the MCS Lab machines. If it does not you will lose marks. We expect to be able to compile it using catkin make. Once we compile your code we will run the following:

roslaunch wall_following_assignment gazebo_world.launch  world_name:=[world_name]

roslaunch wall_following_assignment husky_follower.launch

roslaunch wall_following_assignment wall_follower_[language].launch

page 9 of 10

 

CSC**7: Introduction to Mobile Robotics - Assignment 1 Jan 18, 2024

 We will test your code on other similar worlds to the one provided. We will also test it using different desired distances away from the goal. The default desired distance is 1 meter away, and the default forward speed is 1m/s. We will test your code with different parameters in that neighbourhood. Your code will also be examined for correctness, style and efficiency. We recommend that you come by during office hours or email us if you are unsure of your implementation.
如有需要,請加QQ:99515681 或WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:CSC3002代做、代寫C/C++設計編程
  • 下一篇:COM3524代做、代寫Java,Python編程設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    欧洲日本亚洲国产区| 国产乱人伦真实精品视频| 久久亚洲春色中文字幕| 国产精品老女人视频| 国产精品对白一区二区三区| 国产精品久久久久久久久久ktv| 国产精品丝袜高跟| 国产精品人人做人人爽| 久久久国产精品一区| 久久久国产在线视频| 国产精品黄页免费高清在线观看| 国产精品免费一区二区三区四区 | 少妇免费毛片久久久久久久久| 亚洲精品电影在线一区| 欧美一区二区三区电影在线观看| 欧洲在线视频一区| 美女主播视频一区| 国产在线观看欧美| 成人免费观看视频在线观看| 久久综合九色综合网站| www高清在线视频日韩欧美| 久久久99久久精品女同性| 久久中文字幕在线| 亚洲国产欧美一区二区三区不卡 | 欧美成人在线免费| 亚洲一区二区三区乱码| 欧美一区二区三区成人久久片| 欧美自拍视频在线观看| 国产一区免费| 7777免费精品视频| 国产成人精品视频在线观看| 精品国产免费人成电影在线观...| 亚洲日本精品一区| 欧美日韩另类丝袜其他| 国产欧美va欧美va香蕉在| 国产福利片一区二区| 国产精品久久77777| 性日韩欧美在线视频| 黄色影视在线观看| 国产高清自拍一区| 毛片精品免费在线观看| 人妻久久久一区二区三区| 国产九九精品视频| 日韩中文字幕在线视频播放| 中文字幕中文字幕一区三区| 欧美日韩亚洲一| 91国产精品91| 欧美区二区三区| 欧美亚洲精品一区二区| 97伦理在线四区| 久久成人免费视频| 欧美又大粗又爽又黄大片视频| 成人免费视频a| 国产精品久久色| 日本一区视频在线观看| 国产日韩欧美精品| 久久精品久久久久久国产 免费| 亚洲精品9999| 国产综合久久久久久| 日韩在线一区二区三区免费视频| 一本色道久久综合亚洲精品婷婷| 欧美黄网在线观看| 九九九九免费视频| 午夜精品一区二区在线观看 | 欧美日韩一区在线播放| 114国产精品久久免费观看| 欧美xxxx18性欧美| 欧洲精品在线播放| 国产v综合ⅴ日韩v欧美大片| 中文字幕在线乱| 国产一区二区黄色| 国产精品日韩一区二区免费视频| 无码内射中文字幕岛国片| av动漫在线看| 一本色道久久88亚洲精品综合 | 欧美日韩精品不卡| 国产不卡av在线免费观看| 亚洲国产高清国产精品| 成人国产精品日本在线| 美女黄色丝袜一区| 国产在线98福利播放视频| 久久精品视频99| 欧美性视频在线播放| 日韩在线视频观看正片免费网站| 岛国视频一区| 91九色蝌蚪成人| 在线观看一区二区三区三州| 国产日韩欧美中文在线播放| 欧美精品在线视频观看| 国产一区二区不卡视频| 久久成人这里只有精品| 国产精品综合网站| 亚洲一区二区三区四区在线播放 | 男人亚洲天堂网| 国产精品久久久久久久久免费看 | 久久资源av| 日本丰满少妇黄大片在线观看| 国产精欧美一区二区三区| 午夜精品一区二区三区在线视| 91精品国产99| 日韩免费在线视频| 国产精品视频1区| 国产日韩在线看| 亚洲在线www| 国产www精品| 精品欧美一区二区精品久久| 久久香蕉国产线看观看网| 成人a视频在线观看| 日日骚一区二区网站| 啊v视频在线一区二区三区| 欧美 日韩 国产 激情| 久色乳综合思思在线视频| 97色在线观看免费视频| 日韩精品伦理第一区| 国产精品久久久久一区二区| 国产日韩在线播放| 亚洲精品久久区二区三区蜜桃臀| 久久久天堂国产精品女人| 热久久免费国产视频| 国产精品黄页免费高清在线观看 | 国产精品一久久香蕉国产线看观看 | 日韩综合中文字幕| 黄色国产精品一区二区三区| 精品国产一区二区三区日日嗨| 99热在线播放| 欧美午夜性视频| 综合一区中文字幕| 久久久久久久久影视| 国产一区二区三区色淫影院 | 欧美在线一区视频| 欧美区在线播放| 国产富婆一区二区三区| 国产在线观看不卡| 午夜精品在线观看| 国产精品久久久久久久乖乖| av一本久道久久波多野结衣| 欧美一级爱爱| 亚洲精品一区二区三区樱花| 国产精品三级一区二区| 97精品在线视频| 欧美日韩精品在线一区二区| 在线一区亚洲| 国产精品视频永久免费播放| 91久久久亚洲精品| 国语对白做受xxxxx在线中国| 一本久久a久久精品vr综合| 丝袜美腿亚洲一区二区| 成人中文字幕在线播放| 黄色一级片av| 日韩精品久久久免费观看| 久久五月天综合| 国产成人精品在线观看| 国产激情在线看| 97精品欧美一区二区三区| 免费精品视频一区二区三区| 日本乱人伦a精品| 亚洲精品中文字幕无码蜜桃| 精品国产一区二区三区无码| 国产成人精品午夜| 国产成人精品久久二区二区91| 国产午夜福利在线播放 | 欧美日韩在线观看一区| 欧美一级片免费播放| 欧美激情极品视频| 久久这里有精品视频| 国产精品无码电影在线观看| 久久精品无码中文字幕| 91av在线国产| 国产日产欧美视频| 免费久久久久久| 国严精品久久久久久亚洲影视| 欧美做受777cos| 欧美自拍视频在线| 日本一区免费观看| 五月天综合婷婷| 亚洲成人精品电影在线观看| 欧美黄网免费在线观看| 久久这里有精品| 欧美另类99xxxxx| 久久资源免费视频| 久久伊人精品天天| 国产精品成熟老女人| 国产精品涩涩涩视频网站| 日韩视频免费大全中文字幕| 日韩中文字幕免费看| 国产成人一区二区三区别 | 国产一区二区三区精彩视频| 黄色片视频在线播放| 男人天堂成人在线| 黄色片免费在线观看视频| 欧美日韩一区二区三区电影| 免费毛片一区二区三区久久久| 精品少妇在线视频| 国产欧美综合一区| 国产精品一线二线三线| 91九色精品视频| 九色91视频| 国产精品久久久久久久电影| 欧美日韩aaaa| 亚洲欧美在线网|