User:Jeremy
From DGC Wiki
Contents |
Work for Spring 2005 Term (With Convenient Links to Documentation for the Spring Term)
- Terrain (GOTChA Chart, Status Chart)
- Stereovision - Hardware and software maintenance, including the creation of a howto on installing the libraries necessary for stereovision, as well as Doxygen documentation for the stereovision driver and stereovision processing classes.
- LADAR - Hardware and software maintenance, including very major driver cleanup and unification for running on live data, logged data, and simulation data. (See Doxygen)
- FusionMapper - Work to enable obstacle avoidance for the site visit. Since this was done jointly with Joe Donovan, he's agreed to do the documentation for this. (Although I did add documentation in doxygen on how to use mapDeltas manually instead of automatically.)
- Testing Team (GOTChA Chart) - Subteam lead
- Created the Alice_Scheduling page
- Created the Field_Test_HOWTO page
- Spring_W6_Field_Test - Test team member with responsibilities including:
- Giving the terrain team part of the vehicle tour,
- Explaining to the DARPA officials our past test plans
- Safety passengering Alice (which is very scary)
- We passed the site visit! Woohoo!
- IPT Team - IPT Team Member
- And as always, corraling many many bugs and keeping them up to date
CS/ME/EE 75 HW#8
- Terrain (GOTChA Chart, Status Chart)
- Stereovision
- LADAR
- FusionMapper
- Terrain Classification
- Testing Team (GOTChA Chart)
Assessment of Feedback from Winter Term Project Review
Overall, I think the feedback from the review team for the Terrain team can be broken down into three general areas. The first area covers something we have had some trouble with in the past: the interface between the teams, especially between Terrain and Planning. We need to continue to be very careful that we know how this interface is defined, both in terms of the data flow (e.g. FusionMapper) as well as how we're dealing with fault detection and management across this interface. I believe it would be helpful to have a meeting between the appropriate people on the Planning, Terrain, and Embedded teams some time after the site visit, so that we can explicitly define what is expected and under the scope of each team in terms of fault detection/management.
The second area of weakness the reviewers pointed out concerned a few of our historically weak areas/modules. The first of these was the gimbal, which the reviewers suggested we decide on and implement or not implement very soon - a suggestion we are following. The second was the use of static data, which the reviewers suggested we prioritize with respect to our other activities, so that we can allocate the proper amount of resources to it. (Doing this would require some input from the Planning team, and the team as a whole, to know how useful static data will likely be.) The third was FusionMapper, due to the fact that it is still very early in development - the additional time available due to the increased number of units for CS/ME/EE 75 should help fix this, however.
The final suggestion by the reviewers, which I feel is especially important to remember, was that we should make our logging, playback, and debugging system as mature as possible as soon as possible. Doing so will have a huge impact on our ability to continue development in other areas, and I'm hopeful that the increased focus on this area early during this term will prove beneficial.
Lessons Learned from Winter Term
Code Development in the Field
- Problem: As always, a lot of code was debugged and developed in the field, especially during the Spring Field Test, and especially pertaining to obstacle avoidance code (LADARFeeder/FusionMapper). You'd think we'd have solved this one by now, but it looks like we still need a little work.
- Root Cause: This has a lot of root causes, as far as I can see.
- First, at least with regards to the sensor and obstacle avoidance code, the very late mounting of the sensors prevented much hardware-based testing of the sensors or the vehicle. (We knew the sensors worked and communicated properly - that wasn't the problem. The problem was that we hadn't been able to see how the sensors would pick up obstacles, and how the planner would react.) In general, we need to pay closer attention to keepign track of when progress in one area impedes progress in another,
- Second, there was no simulation environment to test the sensors or algorithms with (e.g. Gazebo wasn't yet working). This would have allowed us to get by the first problem, at least roughly.
- Third, the code was not mature when it was time for it to be tested. No time was allocated during the term to work on the code, since it didn't really fit with any of the classes.
- Actions: Several:
- The sensors are now mounted. However, this by itself won't completely solve the problem. We need better logging/playback/debugging tools to observe the results and see that they are what we expect. SkynetGUI in its present form is a good first step, but we need a standardized logging and playback system. The Testing Sub-Team should implement this - essentially we need the following functionality:
- A Logging module, which can:
- Log skynet messages from different modules in a standardized manner
- Send "begin/end logging" messages to modules to have them log raw data (e.g. LADAR scans, stereo images) that are not sent over Skynet, and then move those logs (once the test is over) to a central location
- A Playback module, which can:
- Send out skynet messages that have been logged
- Send out "begin/end running off logged data" messages to modules that need raw data to run (e.g. LADARFeeder, StereoFeeder), so that they can run off logged data in a coherent way with other modules
- Control the rate at which modules run, probably using some sort of skynet-based "heartbeat" functionality. This, combined with an ability to jump to specific points in the logged data stream, would allow us to fast-forward or slow-down playback of logged data to examine the system's behavior more closely.
- A Logging module, which can:
- Get Gazebo working and working well. Ideally, Gazebo would be integrated in the same way running off of logged data would be - e.g. the code would not have to be recompiled, or the executables even restarted, to be running off of a simulation or logged data - the modules would simply receive a skynet message indicating to them that they should switch the incoming data stream they're using. This will require a good deal of continued effort by the Simulation Sub-Team.
- Allocate time to work on "trivial" code - like LADARFeeder. With CS/ME/EE 75 now at 18 units, this shouldn't be nearly as much of a problem.
- The sensors are now mounted. However, this by itself won't completely solve the problem. We need better logging/playback/debugging tools to observe the results and see that they are what we expect. SkynetGUI in its present form is a good first step, but we need a standardized logging and playback system. The Testing Sub-Team should implement this - essentially we need the following functionality:
Sensors Weren't Calibrated Well
- Problem: Sensor calibration is a time-sink and an art at best, and a sloppy and unreliable process at worst. And the stereo cameras weren't calibrated well enough to do much with them during the Spring Break Field Test.
- Root Cause: We don't have any reliable, accurate calibration procedures. The procedures we do have are hacks left over from when we would spend a lot of time out at El Mirage with a nice flat surface for us to use, and when we weren't trying to squeeze as much accuracy as we currently are out of the sensors. That and not much time has yet been spent on figuring out a better calibration procedure. (Note: we really don't need a better calibration procedure for the intrinsic stereo parameters - that works fine. When I discuss calibration here, I am referring to measuring the pose of the sensors with respect to the vehicle.)
- Action: Devote some time to coming up with a better calibration procedure prior to week 3. Some possible solutions:
- Acquire (or get loaned) a total station or some other very accurate position measurement device. If we really want to know where the sensors are located on the vehicle, then yardsticks and tape measures will not do the job. No matter what other option we choose, at some point a device like this would be very useful, if only to measure the positions of the calibration target with respect to the vehicle.
- Come up with some sort of calibration target that would mount on Alice very tightly in the same position every time. For example, if we could fabricate a target that always snapped on to Alice's front bumper at some known position/angle, we could write a small program that would use the position of the LADARs, combined with the range to the target, to estimate their orientation. (You could measure the orientation of the cameras in a similar fashion.) (This idea is based on a discussion with Professor Burdick.)
- As always, we don't want to re-invent the wheel. We should take a look and see if we can't make use of this to calibrate the cameras extrinsically.
Dima is Indispenable
- Problem: Dima is often distracted by others (including myself) to help with things like how to use GDB or a malloc debugger.
- Root Cause: There are no classes (or even seminars) at Caltech which teach people how to do in-depth debugging of C/C++ code. Anyone who knows how to use GDB picked it up on their own - and since this is difficult, a lot of people just bug Dima instead.
- Action: Dima (or somebody else) should teach a short (hour-long) course on the basics of GDB - or just start referring people to appropriate documentation. At the same time, it wouldn't hurt to make sure all the race computers can use a malloc debugger. It also wouldn't hurt to have an "Advanced Subversion" seminar to teach people how to make branches, properly resolve conflicts, etc.
Winter Term Activities
- Stereovision - Code maintenace, documentation, transfer to Skynet
- LADARFeeder - Transfer to Skynet, documentation
- FusionMapper - Re-implementation/interface to planner/LADARFeeder, Matlab development of 2D simulation of cell-by-cell Kalman filter fusing stereo/LADAR
- CMap - Maintenance, Doxygen documentation, Testing and Further Documenation of MapDeltas
- DARPA Video - Creation with the help of Alex Stewart (voiceover, storyboard) and Jeremy Leibs (technical expertise), and everyone who helped take video, made Alice actually move, or was willing to be an extra in the video
- Winter_W6_Field_Test - Test team member
- Helped along the development process by creating/commenting on a ton of bugs - which will start dropping like flies come next term when I have time to start handling them.
Responsibilities:
- Stereovision (CS/EE/ME 75, HW6)
- LADAR (Characterization)
- Terrain Classification
- Real-Time Mapping
- Maintain CMap_Index
Current Work:
Working on making the stereovision algorithms faster and more accurate, and integrating the road-following for a 2004 SURF.
- Notes on the Video
- GOTChA Chart
- To-Do List
- Wiki Note Space (for me to jot down stuff)
- Notes on Terrain Team Goals
- Quickie Intro to Team Caltech and the DGC
- Initial team status chart,
Contact Information:
AIM SN: CmdrRoel
Other AIM SN: FlyingSaucrDude
Phone #: (626) 840-8742
Email address: jeremy@caltech.edu
Do not hesitate to contact with ANY questions regarding stereovision, road-following, cameras, whatever.
![[Main Page]](../../../../upload/alice.jpg)