Changes between Version 23 and Version 24 of Old/Dailyupdates


Ignore:
Timestamp:
Jun 18, 2007, 9:54:03 PM (17 years ago)
Author:
aniket
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/Dailyupdates

    v23 v24  
    157157
    158158In the mean time, Vamsi has been playing with python scripting with some great success. He discovered a command which causes the robot to wander around with obstacle avoidance enabled. It seems python has access to much of the ERSP and may actually be enough for what we need from the robots. However, it is not nearly as well documented and might be much more difficult for us to learn.
     159
     160= Week 3 =
     161== 6/18/07 – Day 11 ==
     162
     163Today was full of reading: reading the API, reading the User's guide, reading sample code, and reading the tutorials. We started using the behavior composer for the first time, and find it has some pretty nifty features. The essential command is ''behave''. A behavior is something the robot does constantly, ask compared to a task which is generally a one time assignment. For example, a task might be to move across a room, whereas a behavior is to repeatedly check for obstacles and change course to avoid one.
     164
     165We still cannot figure out how to compile our own code or generate makefiles. Instead, we have been writing small code snipets using the same filenames as those in the sample code, (eg ''simple.cpp'') and using the makefiles provided with our fingers crossed.
     166
     167Right now I believe the most important thing for us to understand is the last three tutorials in the navigation section. These are the tutorials about using vSlam and creating landmarks. Understanding this will be, in my opinion, the critical step towards successfully using the robots in wifi experiments.
     168
     169Unfortunately (though not surprisingly) the code resists compiling. Navigation Tutorial !#4 is the introduction to vSlam, and consists of 4 programs, only the first of which actually works. This first program causes the robot to move in a "bow-tie" pattern, but does not demonstrate any of the map-building capabilites of the robot. The remaining tutorials give compile errors, often with this error:
     170{{{
     171error: extra qualification 'Evolution::OccupancyGrid::' on member 'distance_to_obstacle'
     172}}}
     173
     174I sincerely hope we can overcome our compiler issues shortly. In the meantime, we have python to work in.
     175
     176A complication we keep running into is that we do not have a joystick here at winlab to operate these robots, and while a joystick is not strictly required, much of the sample code assumes you have one. It is hard for us to study the sample code as we cannot see it in action. Additionally, a joystick is required to run the provided odometry calibration scripts (something we probably should have done by now). We plan to bring in some of our home gaming equipment tomorrow; Vamsi has a USB joystick and I have a USB xbox controller. Hopefully at least one of those will work and allow us to explore the sample code better.