Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better use of numpy #14

Merged
merged 1 commit into from
Jul 22, 2017
Merged

Conversation

eric-wieser
Copy link
Contributor

List comprehensions are much slower than numpy ranges, and broadcasting lets us remove the top line of this diff

@vrabaud vrabaud merged commit c9cbfc6 into ros-perception:indigo-devel Jul 22, 2017
@vrabaud
Copy link
Contributor

vrabaud commented Jul 22, 2017

very late but thx !

nuclearsandwich pushed a commit to ros/rosdistro that referenced this pull request Apr 22, 2019
Increasing version of package(s) in repository `laser_geometry` to `2.0.0-0`:

- upstream repository: https://github.com/ros-perception/laser_geometry.git
- release repository: https://github.com/ros2-gbp/laser_geometry-release.git
- distro file: `dashing/distribution.yaml`
- bloom version: `0.7.2`
- previous version for package: `null`

## laser_geometry

```
* Removed the ``angle`` dependency as no longer necessary.
* Updated to build statically but use position independent code.
* Updated to compile, and to remove PointCloud support, and remove boost.
* Added visibility headers modified from ``rclcpp``.
* Updated ``laser_geometry`` to build for ros2 (and on Windows 10).
* Improved use of numpy. (#14 <ros-perception/laser_geometry#14>)
* Contributors: Alessandro Bottero, Andreas Greimel, Brian Fjeldstad, Eric Wieser, Jon Binney, Jonathan Binney, Martin Idel, Mikael Arguedas, Vincent Rabaud, William Woodall
```
andre-rosa pushed a commit to andre-rosa/rosdistro that referenced this pull request May 3, 2019
…0976)

Increasing version of package(s) in repository `laser_geometry` to `2.0.0-0`:

- upstream repository: https://github.com/ros-perception/laser_geometry.git
- release repository: https://github.com/ros2-gbp/laser_geometry-release.git
- distro file: `dashing/distribution.yaml`
- bloom version: `0.7.2`
- previous version for package: `null`

## laser_geometry

```
* Removed the ``angle`` dependency as no longer necessary.
* Updated to build statically but use position independent code.
* Updated to compile, and to remove PointCloud support, and remove boost.
* Added visibility headers modified from ``rclcpp``.
* Updated ``laser_geometry`` to build for ros2 (and on Windows 10).
* Improved use of numpy. (ros#14 <ros-perception/laser_geometry#14>)
* Contributors: Alessandro Bottero, Andreas Greimel, Brian Fjeldstad, Eric Wieser, Jon Binney, Jonathan Binney, Martin Idel, Mikael Arguedas, Vincent Rabaud, William Woodall
```
ivanpauno pushed a commit to ivanpauno/laser_geometry that referenced this pull request Nov 2, 2020
…-perception#14)

* Remove return of std::move from fromMsg for Time.

Windows VC++ was complaining that we were returning a pointer
to a temporary.  To avoid this, don't return a pointer, and
just construct and return an object, which C++11 should be
able to elide the copy for (see
http://stackoverflow.com/questions/14856344/when-should-stdmove-be-used-on-a-function-return-value

Signed-off-by: Chris Lalancette <[email protected]>

* Fix silly typos.

Signed-off-by: Chris Lalancette <[email protected]>

* Make getTimestamp not return const ref

* Update getTimestamp template specialisations

* Make getFrameId not return const ref
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants