Commit Graph

29 Commits

Author SHA1 Message Date
Alejandro Hernández Cordero
cd71279466
Use seconds in sensor_msgs::msg::LaserScan msg inside the test (#107)
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
2025-10-03 14:13:31 +02:00
Alejandro Hernández Cordero
6d79cd6546
Added common linters (#96)
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
2024-08-19 16:32:44 +02:00
Chris Lalancette
bfe1c494fd
Fix building on running on Windows Debug. (#82)
* Fix building on running on Windows Debug.

In particular, we need to set the python executable properly
when running on Windows Debug.  While we are in here, we also
fix up some dependencies in the package.xml and CMakeLists.txt.
We also have to remove WERROR ON, due to some Python
warnings that are outside of our control.  Finally, we heavily
reduce the number of tests being run here so that the tests
complete in a reasonable amount of time, even on (slow) Windows
debug.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2021-09-09 14:59:07 -04:00
Jonathan Binney
af5bdc2874
Update python code and tests for ros2 (#80)
* Enable projection nose test using ament

* Update python package and tests for ros2

* Remove unneeded python setup file

* Use pytest instead of nose

Nose was outputting xml that xUnit (jenkins plugin) couldn't read.

* Fix pytest warnings
2021-08-10 21:11:23 -04:00
Ivan Santiago Paunovic
bafe85216e
Use rclcpp::Duration::from_seconds (#72)
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
2020-11-02 11:33:51 -08:00
Dirk Thomas
f59e3fea7e
code style only: wrap after open parenthesis if not in one line (#52)
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
2020-02-04 11:43:50 -08:00
Martin Idel
21946942e3 Add Copyright 2018-03-27 09:06:28 +02:00
Martin Idel
a62f1f1d79 Remove several test cases
- On not so fast machines, tests run into timeouts due to exponential explosion: test setup makes for about 7000 test cases
- Keep edge cases
2018-03-27 09:06:28 +02:00
Martin Idel
c985f5defc Fix Windows warnings 2018-03-27 09:06:28 +02:00
Martin Idel
48e676ff7f Disable second test for now
Test needs a correct lookupTransform
It would be best to make that call mockable, but that's not possible with tf2::BufferCore
2018-03-27 09:06:28 +02:00
Martin Idel
2783d803f8 Fix cpplint 2018-03-27 09:06:28 +02:00
Martin Idel
433181e63e Uncrustify 2018-03-27 09:06:28 +02:00
Martin Idel
b88330b64c Add tests (remove superfluous test cases) and linters
- Code now lints with standard ament linters
- Added test cases for LaserScan to PointCloud2
- Removed tests that were commented out + tests for LaserScan to PointCloud
2018-03-27 09:06:28 +02:00
Brian Fjeldstad
d39ce225c9 Make laser_geometry build for ros2 (on windows 10) 2018-01-09 09:26:19 -08:00
Vincent Rabaud
8d916f93d5 provide support for tf2 2014-09-28 16:18:23 +02:00
Vincent Rabaud
cba03f270e get test to run as rosunit 2014-06-08 15:00:57 +02:00
enriquefernandez
0ed1dafb14 adds Python projection test
Conflicts:
	package.xml
2014-06-08 04:51:46 +02:00
Vincent Rabaud
3b3cd8d129 revert to the angles package
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@40134 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2012-09-16 00:55:55 +00:00
Vincent Rabaud
2759d7b7a6 more angles fixing
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@40123 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2012-09-15 20:45:21 +00:00
Jeremy Leibs
9c8817ba97 Unit tests are actually passing now
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@35276 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2011-01-16 08:42:54 +00:00
Jeremy Leibs
ae9141d36d Fixing the tests in laser_geometry -- now they break
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@35275 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2011-01-16 04:45:46 +00:00
Jeremy Leibs
b59d080add Adding call to FAIL which never gets reached
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@35267 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2011-01-15 03:12:01 +00:00
Jeremy Leibs
3a00224b10 Starting to add unit tests for PointCloud2
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@35266 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2011-01-15 02:50:28 +00:00
Jeremy Leibs
4fafc67ab6 removing deprecation warnigns
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@35257 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2011-01-14 21:18:20 +00:00
Jeremy Leibs
671ec17afe Resolved some float->double conversion errors to fix the tolerances for #1651
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@26612 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2010-01-07 19:29:45 +00:00
Tully Foote
2175503845 patching laser projection to work with inverted mode #3041
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@25120 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2009-10-12 22:28:38 +00:00
Jeremy Leibs
ac4a77f57a More laser_geometry deprecations and code fixes.
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@24345 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2009-09-23 01:37:30 +00:00
Jeremy Leibs
0d240201c4 Somehow managed to not fix the laser_geomety test itself.
git-svn-id: https://code.ros.org/svn/ros-pkg/pkg/trunk/stacks/laser_pipeline@23530 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2009-09-01 14:05:37 +00:00
Jeremy Leibs
58e93bb190 Merging in remaining missing contents for laser_piple that svn ignored on the first merge.
git-svn-id: https://code.ros.org/svn/ros-pkg/pkg/trunk/stacks/laser_pipeline@23510 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
2009-09-01 08:18:14 +00:00