build details

Show: section status errors & todos local changes recent changes last change in-page changes feedback controls

Assignment

Modified 2020-09-08 by sageshoyu

This assignment gives an introduction to our course and reviews some basic material you will need. Hand ins will be noted in italics. Create an answers.txt file in your Github repository (see handin instructions at the bottom of this page) in which to write your answers.

Collaboration Policy

Modified 2019-09-10 by Matthew Berg

Please read and sign the collaboration policy for CS1951R. Submit the signed pdf with filename collaboration_policy.pdf.

Safety Policy

Modified 2019-09-10 by Matthew Berg

Please read and sign the safety policy for CS1951R. Submit the signed pdf with filename safety_policy.pdf

Motivations (20 points)

Modified 2019-09-12 by Stefanie Tellex

Submit the answers to these questions in answers.txt

Before you start putting a lot of time into this course, it is important to figure out what you will get out of the course. Think about what you expect to learn from this course and why it is worth investing a lot of time.

  1. What is a robot?
  2. If I can fly a drone by remote, what can I get out of programming it?

Matrices and Transformations (20 points)

Modified 2019-09-12 by Stefanie Tellex

Write the answers to these questions in the corresponding section of answers.txt.

Transformation matrices are fundamental to reasoning about sensors and actuators. For example, the robot might detect a landmark with its camera, and we might want to know the location of the landmark relative to the robot’s base. Or we might want to know where we can expect the landmark to be located after the robot has moved forward. We will cover this in detail but for know are asking you to do a warmup on these topics.

For this problem we strongly recommend you do these calculations by hand, because they are warmup questions designed to remind you of some of the prerequisite material for the class.

  1. Multiply the matrix by the following vector: \begin{bmatrix}1 & 0 & 1\\ 0 & 1 & 2\\ 0 & 0 & 1\end{bmatrix} \times \begin{bmatrix}0\\ 0\\ 1\end{bmatrix}
  2. Multiply the matrix by the following vector: \begin{bmatrix}0& 0& 1\end{bmatrix} \times \begin{bmatrix}1 & 0 & 4\\ 0 & 1 & 10\\ 0 & 0 & 1\end{bmatrix}
  3. Imagine a robot is located in the (x, y) coordinate plane at the origin (0,0) . It uses a sensor to detect an obstacle at a distance of 6\mbox{m} and a heading of 30^{\circ} . The positive y-axis represents 0^{\circ} , and the degrees increase when turning clockwise. What are the (x, y) coordinates of the obstacle? Give the coordinates in answers.txt. Then draw your answer on a map and add it to your repo as map.png.

Law of Leaky Abstractions (20 points)

Modified 2019-09-12 by Stefanie Tellex

Write your answers in the corresponding section of answers.txt

Read The Law of Leaky Abstractions. How might this be especially relevant to robotics? Make sure you address:

  1. Give an example of a system that you have worked with that had an abstraction that “leaked.” Describe the abstraction, what it was hiding, and what went wrong so that the abstraction broke down.
  2. How can we use abstractions in light of these challenges?

Handin

Modified 2020-09-10 by sageshoyu

If you do not have a Github account, please create one at this link. We will be using git repos throughout the course for versioning, moving code around, and submitting assignments.

Once you have a github account, click on this link to join our Github classroom. This should ask you to select your name from the list and create a repository for you. Clone the directory to your computer

git clone https://github.com/h2r/assignment-introduction-yourGithubName.git

This will create a new folder. Before you submit your assignment, your folder should contain

  • collaboration_policy.pdf
  • safety_policy.pdf
  • answers.txt
  • map.png

Commit and push your changes before the assignment is due. This will allow us to access the files you pushed to Github and grade them accordingly. If you commit and push after the assignment deadline, we will use your latest commit as your final submission, and you will be marked late.

cd assignment-introduction-yourGitHubName
git add collaboration_policy.pdf safety_policy.pdf answers.txt map.png
git commit -a -m 'some commit message. maybe handin, maybe update'
git push

Note that assignments will be graded anonymously, so don’t put your name or any other identifying information on the files you hand in.