[Fawkes Git] branch/tneumann/angle_distance_fix: 2 revs updated. (0.5.0-3087-gd4018f1)

Tobias Neumann tobias.neumann at alumni.fh-aachen.de
Fri Jun 24 18:43:35 CEST 2016


Changes have been pushed for the project "Fawkes Robotics Software Framework".

Gitweb: http://git.fawkesrobotics.org/fawkes.git
Trac:   http://trac.fawkesrobotics.org

The branch, tneumann/angle_distance_fix has been updated
        to  d4018f10c2e57dcb84486b960409f183e5e1c98d (commit)
       via  2bc87d58113921bc60bfd3647035827774190e41 (commit)
      from  c4a99d154657d9a7284be18813f6c0a330578fa9 (commit)

http://git.fawkesrobotics.org/fawkes.git/tneumann/angle_distance_fix

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- *Log* ---------------------------------------------------------------
commit 2bc87d58113921bc60bfd3647035827774190e41
Author:     Tobias Neumann <t.neumann at fh-aachen.de>
AuthorDate: Fri Jun 24 18:40:04 2016 +0200
Commit:     Tobias Neumann <t.neumann at fh-aachen.de>
CommitDate: Fri Jun 24 18:43:26 2016 +0200

    angle.h: changed parameter order of angle_distance_signed
    
    the order was opposite to angle_distance

http://git.fawkesrobotics.org/fawkes.git/commit/2bc87d5
http://trac.fawkesrobotics.org/changeset/2bc87d5

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
commit d4018f10c2e57dcb84486b960409f183e5e1c98d
Author:     Tobias Neumann <t.neumann at fh-aachen.de>
AuthorDate: Fri Jun 24 18:42:15 2016 +0200
Commit:     Tobias Neumann <t.neumann at fh-aachen.de>
CommitDate: Fri Jun 24 18:43:30 2016 +0200

    colli: adapt to new syntax of angle distance
    
    for raytracing and deleting obstacales the signed version is needed

http://git.fawkesrobotics.org/fawkes.git/commit/d4018f1
http://trac.fawkesrobotics.org/changeset/d4018f1

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


- *Summary* -----------------------------------------------------------
 src/libs/utils/math/angle.h           |    2 +-
 src/plugins/colli/search/og_laser.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


- *Diffs* -------------------------------------------------------------

- *commit* 2bc87d58113921bc60bfd3647035827774190e41 - - - - - - - - - -
Author:  Tobias Neumann <t.neumann at fh-aachen.de>
Date:    Fri Jun 24 18:40:04 2016 +0200
Subject: angle.h: changed parameter order of angle_distance_signed

 src/libs/utils/math/angle.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

_Diff for modified files_:
diff --git a/src/libs/utils/math/angle.h b/src/libs/utils/math/angle.h
index db4aad8..9c1326c 100644
--- a/src/libs/utils/math/angle.h
+++ b/src/libs/utils/math/angle.h
@@ -137,7 +137,7 @@ angle_distance(float angle_rad1,
  * @return signed distance from angle "angle_from" to "angle_to"
  */
 inline float 
-angle_distance_signed(float angle_to, float angle_from)
+angle_distance_signed(float angle_from, float angle_to)
 {
   return normalize_mirror_rad(angle_to - angle_from);
 }

- *commit* d4018f10c2e57dcb84486b960409f183e5e1c98d - - - - - - - - - -
Author:  Tobias Neumann <t.neumann at fh-aachen.de>
Date:    Fri Jun 24 18:42:15 2016 +0200
Subject: colli: adapt to new syntax of angle distance

 src/plugins/colli/search/og_laser.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

_Diff for modified files_:
diff --git a/src/plugins/colli/search/og_laser.cpp b/src/plugins/colli/search/og_laser.cpp
index f0c3098..ede4bf1 100644
--- a/src/plugins/colli/search/og_laser.cpp
+++ b/src/plugins/colli/search/og_laser.cpp
@@ -235,7 +235,7 @@ LaserOccupancyGrid::update_laser()
             new_readings_.push_back(point);
 
             if ( cfg_delete_invisible_old_obstacles_ ) {
-              float angle_dist = angle_distance( angle_min_, point_polar.phi );
+              float angle_dist = angle_distance_signed( angle_min_, point_polar.phi );
               if ( angle_dist >= 0 && angle_dist <= angle_range_ ) {
                 validate_old_laser_points(pos_robot, point.coord);
               }




-- 
Fawkes Robotics Framework                 http://www.fawkesrobotics.org


More information about the fawkes-commits mailing list