optional programming assignment 2o

2
 Help Optional Prog ramming Ass ignment 2: Instructions Start by downloading the rob ot simulator and update manual for this week: 1. simiam-coursera-week-2.zip (Updated: 2014-01-24) 2. manual-coursera-sp14.pdf  (Updated: 2014-01-23) Instructions Before wec can design and test controllers in the simulator, you will need to implement three components of the simulator: 1. I mplement the transfo rmation from unicycle dynamics to differen tial drive dynamics, i.e. convert from to the right and left angular wheel speeds . 2. I mpl ement odometry for the robot, such that as the robot moves around, its pose is estimated based on how far each of the wheels have turned. Assume that the robot starts at . 3. Read the ”IR Range Sensors” section in the manual and take note of the table in Section 2.1, which maps distances (in meters) to raw IR values. Implement code that converts raw IR values to distances (in meters). Remember to read the section for Week 2 in the manual for details that will help you complete this assignment! Submission This week's automatic grader will test: 1. Unicycle to differential-drive transformation: Is the transformation from the linear a ngular velocities to the left and right angular wheel velociti es correct? 2. Odometry :Is odometry implement correctly, such that the robot's estimate of its position is close to its actual position (within ~10% due to low-resolution encoders)? 3. Converting raw IR sensor values to distances: Were the raw IR sensor values converted to voltages and was polyfit used properly wi th the table of voltages to distance to estimate the actual distance measured by the IR sensor (no error greater than 10%). Run the submit script (from the simulator package) in MATLAB to submit your solutions.

Upload: jcvoscrib

Post on 02-Nov-2015

217 views

Category:

Documents


0 download

DESCRIPTION

o

TRANSCRIPT

  • HelpOptional Programming Assignment 2: Instructions

    Start by downloading the robot simulator and update manual for this week:

    1. simiam-coursera-week-2.zip (Updated: 2014-01-24)

    2. manual-coursera-sp14.pdf (Updated: 2014-01-23)

    Instructions

    Before wec can design and test controllers in the simulator, you will need to implement three

    components of the simulator:

    1. Implement the transformation from unicycle dynamics to differential drive dynamics, i.e. convert

    from to the right and left angular wheel speeds .

    2. Implement odometry for the robot, such that as the robot moves around, its pose is

    estimated based on how far each of the wheels have turned. Assume that the robot starts at

    .

    3. Read the IR Range Sensors section in the manual and take note of the table in Section 2.1,

    which maps distances (in meters) to raw IR values. Implement code that converts raw IR values to

    distances (in meters).

    Remember to read the section for Week 2 in the manual for details that will help you

    complete this assignment!

    Submission

    This week's automatic grader will test:

    1. Unicycle to differential-drive transformation: Is the transformation from the linear angular velocities

    to the left and right angular wheel velocities correct?

    2. Odometry:Is odometry implement correctly, such that the robot's estimate of its position is close to

    its actual position (within ~10% due to low-resolution encoders)?

    3. Converting raw IR sensor values to distances: Were the raw IR sensor values converted to

    voltages and was polyfit used properly with the table of voltages to distance to estimate the actual

    distance measured by the IR sensor (no error greater than 10%).

    Run the submit script (from the simulator package) in MATLAB to submit your solutions.

    2[ 2

    .

    2

    (

    4 5 J