[Rock-dev] Problem base Spline?
Stefan Haase
stefan.haase at dfki.de
Tue Aug 27 12:42:29 CEST 2013
Hi guys,
I got the following problem:
The returned length of a spline is always nearly the same than the distance
from start to end, even if the spline contains several curves (see attached
images).
E.g.:
Calculated trajectory:
( 5.65 3.55 2.30769) ( 5.75 3.65 2.37712) ( 5.85 3.75
2.44654) ( 5.95 3.85 2.52591) ( 6.05 3.95 2.635) ( 6.15 4.05
2.73418) ( 6.25 4.15 2.8433) ( 6.35 4.25 2.97224) ( 6.45 4.35
3.09124) ( 6.55 4.45 3.22018) ( 6.65 4.45 3.2896) ( 6.75 4.45
3.36897) ( 6.85 4.45 3.43839) ( 6.95 4.55 3.54748) ( 7.05
4.65 3.64666) ( 7.15 4.65 3.69627) ( 7.25 4.65 3.75579) ( 7.35
4.65 3.82521) ( 7.45 4.65 3.88472) ( 7.55 4.65 3.9343) ( 7.65
4.75 4.04342) ( 7.75 4.85 4.09299) ( 7.85 4.95 4.13266) (
7.95 5.05 4.17236) ( 8.05 5.15 4.22193) ( 8.15 5.25 4.2616) (
8.25 5.35 4.2616) ( 8.35 5.45 4.2616) ( 8.45 5.55 4.2616) ( 8.55
5.65 4.2616) ( 8.65 5.75 4.2616) ( 8.75 5.75 4.2616) ( 8.85 5.85
4.2616) ( 8.95 5.95 4.2616) ( 9.05 6.05 4.27154) ( 9.15 6.15
4.27154) ( 9.25 6.25 4.28145) ( 9.35 6.35 4.27154) ( 9.45 6.45
4.2616) ( 9.55 6.55 4.25169) ( 9.65 6.65 4.24179) ( 9.75
6.75 4.23184) ( 9.85 6.85 4.22193) ( 9.95 6.85 4.22193) ( 10.05
6.85 4.22193) ( 10.15 6.85 4.22193) ( 10.25 6.95 4.19218) (
10.35 7.05 4.15251) ( 10.45 7.05 4.13266) ( 10.55 7.05 4.11285)
( 10.65 7.05 4.09299) ( 10.75 7.15 4.05333) ( 10.85 7.25
4.04342) ( 10.95 7.35 4.02357) ( 11.05 7.45 3.99381) ( 11.15
7.55 4.00372) ( 11.25 7.65 4.02357) ( 11.25 7.75 4.02357) ( 11.25
7.85 4.01366) ( 11.25 7.95 3.99381) ( 11.25 8.05 3.96406) (
11.25 8.15 3.92439) ( 11.25 8.25 3.90454) ( 11.25 8.35 3.86487)
( 11.25 8.45 3.85497) ( 11.25 8.55 3.82521) ( 11.25 8.65
3.79545) ( 11.25 8.75 3.7756) ( 11.25 8.85 3.75579) ( 11.35 8.95
3.70618) ( 11.45 9.05 3.66651) ( 11.55 9.15 3.6169) ( 11.65 9.25
3.57724) ( 11.65 9.35 3.55742) ( 11.65 9.45 3.52766) ( 11.75
9.55 3.50781) ( 11.85 9.65 3.46815) ( 11.85 9.75 3.43839) ( 11.95
9.85 3.40863) ( 12.05 9.95 3.35906)
CURVE LENGTH 9.11183
POINT COUNT 80
DIMENSION 3
Distance from start to end (3D): 9.117951531495708
Anyone any idea what could be the problem?
Best regards,
Stefan
--
Dipl.-Inf. Stefan Haase
Space Robotics and Animation
Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Phone: +49 (0)421 178 45-4108
Fax: +49 (0)421 178 45-4150
E-Mail: Stefan.Haase at dfki.de
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20130827/47319205/attachment-0001.htm
-------------- nächster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname : path_side.jpg
Dateityp : image/jpeg
Dateigr??e : 69039 bytes
Beschreibung: nicht verf?gbar
URL : http://www.dfki.de/pipermail/rock-dev/attachments/20130827/47319205/attachment-0002.jpg
-------------- nächster Teil --------------
Ein Dateianhang mit Bin?rdaten wurde abgetrennt...
Dateiname : path_top.jpg
Dateityp : image/jpeg
Dateigr??e : 67491 bytes
Beschreibung: nicht verf?gbar
URL : http://www.dfki.de/pipermail/rock-dev/attachments/20130827/47319205/attachment-0003.jpg
More information about the Rock-dev
mailing list