Skip to content

Change decode mode into replace.#176

Merged
jacobperron merged 1 commit intoros2:rollingfrom
fujitatomoya:topic/20220802-decode-mode-replace
Aug 9, 2022
Merged

Change decode mode into replace.#176
jacobperron merged 1 commit intoros2:rollingfrom
fujitatomoya:topic/20220802-decode-mode-replace

Conversation

@fujitatomoya
Copy link
Copy Markdown
Contributor

address ros2/rclpy#881

Signed-off-by: Tomoya Fujita [email protected]

@fujitatomoya
Copy link
Copy Markdown
Contributor Author

@iuhilnehc-ynos could you do review when you have time?

Copy link
Copy Markdown

@iuhilnehc-ynos iuhilnehc-ynos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@fujitatomoya
Copy link
Copy Markdown
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya
Copy link
Copy Markdown
Contributor Author

@clalancette CI is unstable, are we having any problems on CI?

@iuhilnehc-ynos
Copy link
Copy Markdown

@fujitatomoya

I think @clalancette had already fixed it in this PR(ros2/ci#677).

@fujitatomoya
Copy link
Copy Markdown
Contributor Author

CI retry:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@jacobperron jacobperron self-requested a review August 9, 2022 23:24
Copy link
Copy Markdown
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is reasonable. It makes the behavior more consistent between subscriptions in rclcpp and rclpy.

@fujitatomoya
Copy link
Copy Markdown
Contributor Author

@Mergifyio backport humble galactic foxy

mergify bot pushed a commit that referenced this pull request Aug 10, 2022
Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 20df683)
mergify bot pushed a commit that referenced this pull request Aug 10, 2022
Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 20df683)
mergify bot pushed a commit that referenced this pull request Aug 10, 2022
Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 20df683)
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Aug 10, 2022

backport humble galactic foxy

✅ Backports have been created

Details

sloretz added a commit that referenced this pull request Aug 22, 2022
* Invert bounds check in order to permit floating point NaN values

Signed-off-by: Øystein Sture <[email protected]>

* Allow floating point numbers set to Inf to pass bounds check

Signed-off-by: Øystein Sture <[email protected]>

* Add float/double NaN/Inf tests

Signed-off-by: Øystein Sture <[email protected]>

* Increase precision of float32 bounds

Signed-off-by: Øystein Sture <[email protected]>

* Only perform float64 bounds check on non-compliant IEEE 754 systems

Signed-off-by: Øystein Sture <[email protected]>

* Disable bounds test for float64 on IEEE 754 compatible systems

Signed-off-by: Øystein Sture <[email protected]>

* Disable bounds test for float64 on IEEE 754 compatible systems

Signed-off-by: Øystein Sture <[email protected]>

* Resolve failing nan/inf test by comparing the same types

Signed-off-by: Øystein Sture <[email protected]>

* Change decode error mode to replace (#176)

Signed-off-by: Tomoya Fujita <[email protected]>

* Replace rosidl_cmake imports with rosidl_pycommon (#177)

Signed-off-by: Jacob Perron <[email protected]>

* Delete trailing whitespace

Signed-off-by: Shane Loretz <[email protected]>

* Split fail case array check tests into two

Signed-off-by: Shane Loretz <[email protected]>

Signed-off-by: Øystein Sture <[email protected]>
Signed-off-by: Tomoya Fujita <[email protected]>
Signed-off-by: Jacob Perron <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
Co-authored-by: Tomoya Fujita <[email protected]>
Co-authored-by: Jacob Perron <[email protected]>
Co-authored-by: Shane Loretz <[email protected]>
clalancette pushed a commit that referenced this pull request Oct 18, 2022
Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 20df683)

Co-authored-by: Tomoya Fujita <[email protected]>
clalancette pushed a commit that referenced this pull request Oct 19, 2022
Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 20df683)

Co-authored-by: Tomoya Fujita <[email protected]>
clalancette pushed a commit that referenced this pull request Oct 19, 2022
Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 20df683)

Co-authored-by: Tomoya Fujita <[email protected]>
clalancette pushed a commit that referenced this pull request Nov 7, 2022
* Invert bounds check in order to permit floating point NaN values

Signed-off-by: Øystein Sture <[email protected]>

* Allow floating point numbers set to Inf to pass bounds check

Signed-off-by: Øystein Sture <[email protected]>

* Add float/double NaN/Inf tests

Signed-off-by: Øystein Sture <[email protected]>

* Increase precision of float32 bounds

Signed-off-by: Øystein Sture <[email protected]>

* Only perform float64 bounds check on non-compliant IEEE 754 systems

Signed-off-by: Øystein Sture <[email protected]>

* Disable bounds test for float64 on IEEE 754 compatible systems

Signed-off-by: Øystein Sture <[email protected]>

* Disable bounds test for float64 on IEEE 754 compatible systems

Signed-off-by: Øystein Sture <[email protected]>

* Resolve failing nan/inf test by comparing the same types

Signed-off-by: Øystein Sture <[email protected]>

* Change decode error mode to replace (#176)

Signed-off-by: Tomoya Fujita <[email protected]>

* Replace rosidl_cmake imports with rosidl_pycommon (#177)

Signed-off-by: Jacob Perron <[email protected]>

* Delete trailing whitespace

Signed-off-by: Shane Loretz <[email protected]>

* Split fail case array check tests into two

Signed-off-by: Shane Loretz <[email protected]>

Signed-off-by: Øystein Sture <[email protected]>
Signed-off-by: Tomoya Fujita <[email protected]>
Signed-off-by: Jacob Perron <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
Co-authored-by: Tomoya Fujita <[email protected]>
Co-authored-by: Jacob Perron <[email protected]>
Co-authored-by: Shane Loretz <[email protected]>
clalancette added a commit that referenced this pull request Nov 8, 2022
* Allow NaN values to pass floating point bounds check. (#167)

* Invert bounds check in order to permit floating point NaN values

Signed-off-by: Øystein Sture <[email protected]>

* Allow floating point numbers set to Inf to pass bounds check

Signed-off-by: Øystein Sture <[email protected]>

* Add float/double NaN/Inf tests

Signed-off-by: Øystein Sture <[email protected]>

* Increase precision of float32 bounds

Signed-off-by: Øystein Sture <[email protected]>

* Only perform float64 bounds check on non-compliant IEEE 754 systems

Signed-off-by: Øystein Sture <[email protected]>

* Disable bounds test for float64 on IEEE 754 compatible systems

Signed-off-by: Øystein Sture <[email protected]>

* Disable bounds test for float64 on IEEE 754 compatible systems

Signed-off-by: Øystein Sture <[email protected]>

* Resolve failing nan/inf test by comparing the same types

Signed-off-by: Øystein Sture <[email protected]>

* Change decode error mode to replace (#176)

Signed-off-by: Tomoya Fujita <[email protected]>

* Replace rosidl_cmake imports with rosidl_pycommon (#177)

Signed-off-by: Jacob Perron <[email protected]>

* Delete trailing whitespace

Signed-off-by: Shane Loretz <[email protected]>

* Split fail case array check tests into two

Signed-off-by: Shane Loretz <[email protected]>

Signed-off-by: Øystein Sture <[email protected]>
Signed-off-by: Tomoya Fujita <[email protected]>
Signed-off-by: Jacob Perron <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
Co-authored-by: Tomoya Fujita <[email protected]>
Co-authored-by: Jacob Perron <[email protected]>
Co-authored-by: Shane Loretz <[email protected]>

* 👨‍🌾 Fix NaN values bound numpy windows version (#182)

* Replaced equal_nan for numpy<1.19

Signed-off-by: Crola1702 <[email protected]>

* Remove stray numpy import (#185)

NumPy was being imported in the template code (not the template output) for
apparently no reason. This was causing problems when cross-compiling, where
NumPy is only available for the target platform.

Signed-off-by: Ben Wolsieffer <[email protected]>

Signed-off-by: Øystein Sture <[email protected]>
Signed-off-by: Tomoya Fujita <[email protected]>
Signed-off-by: Jacob Perron <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Ben Wolsieffer <[email protected]>
Co-authored-by: Øystein Sture <[email protected]>
Co-authored-by: Tomoya Fujita <[email protected]>
Co-authored-by: Jacob Perron <[email protected]>
Co-authored-by: Shane Loretz <[email protected]>
Co-authored-by: Cristóbal Arroyo <[email protected]>
Co-authored-by: Ben Wolsieffer <[email protected]>
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.

3 participants