Project

General

Profile

Statistics
| Branch: | Revision:

scoutos / scout / scoutsim / src / scout.cpp @ ffaa3e81

History | View | Annotate | Download (19.2 KB)

# Date Author Comment
6ebee82c 03/23/2013 02:44 PM Alex Zirbel

Moved all messages to the messages/ folder.

This meant changing a lot of includes and things.

071926c2 03/04/2013 08:28 PM Alex Zirbel

Retired (deleted) unused packages.

Moved their msg/srv definitions to the messages/ package instead, and revised the libscout and scoutsim files that depended on those namespaces.

f09d002e 03/03/2013 03:06 PM Hui Jun Tay

behaviors now overwrite teleop (see comments in scout.cpp for details)

c06735bb 02/17/2013 03:42 PM Hui Jun Tay

Removed headers, sonar uses custom timestamp, added code to manually update timestamp

fa857318 02/13/2013 08:53 PM Priya

Fixed bugs with how the simulator was doing math for pose estimation.

60a90290 02/10/2013 02:36 PM Hui Jun Tay

\Fixed teleop to work with behaviors. Teleop currently has priority over behaviors

dd065971 12/02/2012 07:06 PM Alex Zirbel

Fixed sonar out of range bug. Max range now at 9.144 m.

e5ac3afb 12/02/2012 04:51 PM Alex Zirbel

Updated sonar so it broadcasts readings in mm as specified.

093a1aea 12/02/2012 04:24 PM Alex Zirbel

"Fixed" the sonar bug.

Turns out the sonar just wasn't set to on by default, so nothing was being visualized.
Changed it so the sonar is on by default.
We should probably make it more clear when the sonar is off.

43811241 12/01/2012 07:04 PM Alex Zirbel

Added services to set individual control for visualization tools.

However, there is a bug in the sonar viz for multiple scouts, looking into it now.

a0928f39 12/01/2012 05:11 PM Alex Zirbel

Merge branch 'master' of ssh://roboclub.org/home/svn/scoutos

Conflicts:
scout/scoutsim/src/sim_frame.cpp

9cb9623b 12/01/2012 05:10 PM Alex Zirbel

Working on turning sonar on and off for robots individually.

7f095440 11/30/2012 07:55 PM Priya

Sepearated refresh rate for scouts and for the simulator.

4918cbee 11/17/2012 03:22 AM Alex Zirbel

Merge branch 'master' of ssh://roboclub.org/home/svn/scoutos

Conflicts:
scout/scoutsim/src/sim_frame.cpp

04114d13 11/17/2012 03:21 AM Alex Zirbel

Fixed teleop with new units, and changes the refresh rate to be closer to true m/s.

ddfeb111 11/17/2012 02:15 AM Priya

Fixing bugs with ghost scout (these were problems in odometry related
to constants in the simulator and coordinate frame and theta representation
in the simulator). Also made ghost scout translucent in order to differentiate
it.

35d1885f 11/17/2012 01:16 AM Alex Zirbel

Merge branch 'master' of ssh://roboclub.org/home/svn/scoutos

Conflicts:
scout/scoutsim/src/scout_constants.h

6257c97d 11/17/2012 01:15 AM Alex Zirbel

Continuing work on standardization of units.

96ec9388 11/16/2012 06:55 PM Hui Jun Tay

Merge branch 'master' of ssh://roboclub.org/home/svn/scoutos

Conflicts:
scout/scoutsim/src/scout.cpp
scout/scoutsim/src/scout.h

eb9cff77 11/16/2012 06:44 PM Hui Jun Tay

Fixed sonar bug (corrected y direction)
Added sonar_toggle and set_scan command and callbacks
Cleaned up sonar_visual toggle code

c63c9752 11/12/2012 09:40 PM Alex Zirbel

Scoutsim now has consistent units of m and m/s.

This will cause some problems.

  • Behaviors which relied on the old units will have to change. We need to change the Control classes to scale things right.
  • Encoder ticks are almost fixed, but not quite right (I think because of a rounding problem)....
b1fdaaf6 11/09/2012 06:11 PM Hui Jun Tay

Added toggle for Sonar. Added backsonar indicate
-Sonar can be toggled under Sim -> Sonar
-Front and Back onars now display most recent scan point as a green dot

68b23184 11/02/2012 01:03 PM viki

Scoutsim: Added Sonar Toggle

Sonar display can now be toggled via Menu->Sim->Sonar

6639ce9c 10/28/2012 05:58 PM viki

Edited Sonar to display points on simulator.

Changed rate of sonar scan to 0.5s
Made a new wxDC graphics object for sonar

71e1154d 10/26/2012 06:20 PM Alex Zirbel

Sonar works!

Also added new testing files for sonar - maps/racetest*.bmp

a2e6bd4c 10/25/2012 10:02 PM Alex Zirbel

Added sonar, though it looks buggy.

Use sonar_viz to continue debugging and make sonar work!

23b8119f 10/07/2012 06:53 PM Alex Zirbel

Just commented out a line of unused code.

5866cb38 04/10/2012 04:59 PM Alex Zirbel

Linesensor tested and done!

ade1b7f9 04/10/2012 04:53 PM Alex Zirbel

Basic line sensor readings!

af0d9743 04/09/2012 08:00 PM Alex Zirbel

Added template linesensors to scoutsim

5e2c3dc1 03/26/2012 04:51 PM Alex Zirbel

New scout images.

e3f69e61 03/03/2012 06:21 PM Alex Zirbel

Fixed up scoutsim package. Sorry.

9b3564f3 02/25/2012 05:40 PM Alex Zirbel

Sonar prototypes in scoutsim package.

9f547ef7 01/28/2012 04:58 PM Alex Zirbel

Added scoutsim support for encoders.

To see the query_encoders.srv (used for accessing this data) in action, use: rosrun libscout test_encoders. You will see a stream of encoder data.

c492be62 01/03/2012 11:41 PM Alex Zirbel

Updated the licensing information in many files.

This is a broken commit because I decided to do this at a bad time. Sorry! The build will be working after next commit, I promise (and I won't push till then). This commit reflects the licensing in the files after I used my auto-add/remove script.

144137a1 12/26/2011 04:15 PM Alex Zirbel

Got motor control working with scoutsim

Behaviors can now use the MotorControl class to change the speed of the motors in the simulator. The simulator correctly handles the command.
At the moment, the set_motors command is limited to 'scout1'. We should look into prefixes to specify which scout (scout1, scout2, etc) each behavior should command....

a8480867 12/04/2011 01:17 AM Alex Zirbel

Made a lot of changes to the general structure.

Applied object-orienting techniques to the code, cleaning it up considerably. Major design changes are as follows:

  • All separate node code (ie motors) are meant to only interface with hardware - doing as little logic as possible....
266ae7f2 11/26/2011 09:43 PM Alex Zirbel

Added a template scout simulator class.

Scoutsim is modeled directly from turtlesim. At this point, the only changes are in names and indentation. A separate licensing file was also added to get rid of the junk at the top of the old turtlesim files.