| Description
| Owners
| Specs
| Interface
| Add'l Info
</table>
Component Description
The mode management module takes paths delivered by various pathplanning modules and picks one to send to the driving module based on the present circumstances the vehicle faces such as the density of obstacles, presence of a road, and system component availibility. Ideally, the mode management module's decisions should not depend on what the input paths actually are, and hence this module should not combine the paths (lest it become Arbiter v.2) but select one out of those calculated by modules such as Pathplanner, Roadfollowing, Reactive Planner, and reflexive planners. Under non-optimal modes, the module may modify the selected path (e.g. slow down or stop). As a part of choosing the best path or course of action, the mode management module must also respond to fault detections relayed by fault detection mechanisms all over the system. This function, named "fault management", includes responses to emergency situations such as sensor, actuator, or computer failure and also to situations requiring special logic such as being stuck on a barbed wire fence.
Component Owners
Component Specifications
| Name | Specification description | Test to verify | Status
|
Vehicle speed optimization with safety
|
Choose the fastest safe path or the one that will lead to the fastest path in near future, given vehicle condition and environment.
1. If there's an emergency, stop or slow down. Otherwise, choose deliberate planner path when possible; if not, choose reactive.
2. Reverse if necessary (condition not yet specified).
3. Deadbaby sensing: slow down path according to pitch/roll rates.
|
Test in simulation, then the real environment.
|
Mode switch framework is implemented. The conditions for switching between deliberate, reactive, stop, and reverse are not yet implemented. A primitive version of deadbaby sensing to be implemented by spring field test.
|
Emergency Response (Fault Management)
|
Quickly respond to emergency signals (e.g. system failure, e-stop).
|
The best test for this would be to drive the vehicle in a race-like environment for as long as possible, which isn't very easy to do early on. The first step to testing would be to implement a test code that introduces all possible known emergency signals to the mode management module.
|
Fault Management: preliminary schemes are specified. Certainly additional cases will be found in Spiral 3/Summer when we get to actual testing.
| </tr>
Computational Speed
|
Should have a typically insignificant computation time, with an exception of when paths need to be generated/modified inside the block. Estimated time not yet available. (Planning Overall Specs #3)
|
Benchmark code while running all modules.
|
Spiral 3: we're not really worried about Mode Management's speed, but fault management may take more computational power.
| </tr>
Development Versatility
|
Be able to run in 3 standard modes: live, simulation, playback.(Planning Overall Specs #3)
|
See if it works in 3 modes (test switching).
|
Spiral 3
| </tr>
</table>
Interface Specifications
| Name | Interface description | Components | Owner | Status
|
|
|
Accept SkyNet messages from planner modules that calculate paths.
(Path: state, trajectory class (defines northing, easting, yaw, feed-forward steering angle, and derivatives), confidence)
|
Cost-based path planning (NTG)
Reactive Planner (Arbiter)
[testing only]
RoadFollowing
RDDF Path Generation
|
Dima Kogan
|
skynet interface working
|
|
|
Accept SkyNet messages from the state server for deadbaby sensing.
|
State
|
Jeremy Leibs
|
Extends CStateClient class to receive skynet packets from astate.
|
|
|
Accept SkyNet messages from fault detection mechanisms: Module/sensor/actuator state info (i.e. "i'm dying", "i'm back up").
|
subteams TBD (possible modules below)
(actuators)
vdrive
adrive
(sensors)
Stereo Mapper
Ladar Mapper
State
(computers)
SkyNet
(s/w modules)
RoadFollowing
RDDF Path Generation
Cost-based path planning (NTG)
Reactive Planner (Arbiter)
Path Following
|
Alex Stewart (specifications team)
Sue Ann Hong
|
Design in progress. E-stop pause is to be simulated in sparrow display by spring field test. Full implementation is scheduled for spiral 3.
|
|
|
Accept SkyNet messages from the static planner module that indicate the speedlimit for the path given. Static sends speedlimit to NTG only.
|
Static Planner
|
Eric Cady
Sue Ann Hong
|
Spiral 3.
|
|
|
Send SkyNet messages to static planner and deliberative planner requesting for the speed limit (static planner) and obstacle safety (delib. planner) of the path. (Path: state, trajectory class (defines northing, easting, yaw, feed-forward steering angle, and derivatives), confidence)
|
Static Planner
Cost-based path planning (NTG)
|
Adam Craig
Eric Cady
Sue Ann Hong
|
CMap: scheduled for spring field test, 2005.
|
|
|
Send SkyNet messages to path follower with the path determined best for the moment. (Path: trajectory class (same format as the input path, without confidence level?))
|
Path Following
|
Dima Kogan
|
skynet interface working
</table>
Mode Management Architecture/Functionality Review
Mode Management Schemes
Meeting Notes
Mode Management Meeting 2004-12-01, Wed 10:30am, Guggenheim shop
Mode Management, Fall, 2004
Goals (Winter, 2005)
- Complete specifications for fault management interfaces and responses.
- Test and complete the path speed modification function ctraj class (code written last term) - Ryan Cable
- Complete the path checking mechanism in collaboration with the cmap/deliberative planner subteam - Sue Ann Hong.
Timeline
Week 8 (2/20/05-2/27/05)
- Separate ModeMan from MTA into skynet. ✔
Week 9 (2/28/05-3/6/05)
- Meet with specifications team to define interfaces for fault detection-management.
- Keep compiling the list of emergency & special logic situations and corresponding responses (which will all be "slow down"...).
Week 10 (3/7/05-3/13/05)
- Test and complete the path speed modification function CTraj class (code written last term)✔
Week 11 (3/14/05-3/17/05) - Finals
- Project Arch. Review
- Implement the path checking mechanism in collaboration with the cmap/deliberative planner subteam.
- Sparrow for ModeManModule with e-stop pause using path speed modification function in CTraj class.
- Basic deadbaby sensing unit.
Spring Term
- ModeMan MapDisplay
- Implement Fault Management
- Implement switching schemes for ModeMan
Action Items (Updated 11/2/2004)
- Spiral 1.5 (by 12/29/2004)
- Implement MTA framework, datum, a simple mode-switch mechanism. ✔
- Implement E-stop procedures.
- Spiral 2 (by March, 2004 or beyond)
- Complete the mode-switch grid and implement them.
- Refine the mode-switch grid (possibly by training).
- Specify more elaborate emergency responses and implement them.
- Implement the playback mode.
- What we think other people should do (Bugzilla'd)
-
Roadfollowing needs fast obstacle checking (CC: Terrain, RT Mapping) Roadfollowing now only feeds into CMap, not ModeMan. If that doesn't seem to work well for incorporating roadfollowing, we should still consider having a separate path module synch'ed with DFE and Pathchecking.
- DFE --> Path Class (Pathfollowing subteam) - for pathchecking (not only through the cmap but also for the current position. for example, if the path is a bit old and we've moved, then we need to check the path's validity again.)
Additional Information
|
|