Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(14)

Issue 144064: Waypoint mobility model for ns-3

Can't Edit
Can't Publish+Mail
Start Review
Created:
3 months, 1 week ago by Phillip Sitbon
Modified:
3 months ago
Reviewers:
ns-3-reviews
CC:
Phillip Sitbon
SVN Base:
Visibility:
Public.

Description

Adds a Waypoint object as a (time,value) pair and a WaypointMobilityModel to the
ns-3 mobility group.

Discussion leading up to this code:
http://groups.google.com/group/ns-3-users/browse_thread/thread/f78de8c92bf43e...

Patch Set 1

Total comments: 12

Patch Set 2 : Addressing some of the reviewer comments

Total comments: 2

Patch Set 3 : Style update

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/mobility/mobility.h View 1 chunk 14 lines 0 comments Download
A src/mobility/waypoint-mobility-model.cc View 1 2 1 chunk 186 lines 1 comment Download
A src/mobility/waypoint-mobility-model.h View 1 1 chunk 121 lines 0 comments Download
A src/mobility/waypoint.cc View 1 1 chunk 58 lines 0 comments Download
A src/mobility/waypoint.h View 1 1 chunk 74 lines 0 comments Download
M src/mobility/wscript View 2 chunks 20 lines 0 comments Download

Messages

Total messages: 5
Tom Henderson
Suggest to add a unit test that inserts some waypoints, calls SetPosition (), etc.. Otherwise, ...
3 months, 1 week ago
faker.moatamri
Hi Phillip, You will find my comments for your code in the appspot link that ...
3 months, 1 week ago
Phillip Sitbon
Thanks for your reviews, Tom & Faker. I attempted to address all of the comments ...
3 months, 1 week ago
Mathieu Lacage
the code looks great (modulo the small coding style nits I commented upon). Bonus points ...
3 months, 1 week ago
Phillip Sitbon
3 months ago
This looks like the last edit needed besides the addition of tests & examples.

http://codereview.appspot.com/144064/diff/3001/3003
File src/mobility/waypoint-mobility-model.cc (right):

http://codereview.appspot.com/144064/diff/3001/3003#newcode101
src/mobility/waypoint-mobility-model.cc:101: if ( now <= m_current.time )
The coding style document online (http://www.nsnam.org/codingstyle.html)
suggests that single-statement conditional is accepted - changed it anyway, will
change anywhere else I noticed it as well.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r511