Skip to content

Commit

Permalink
Merge branch 'ros2-master' into add/exp_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich authored Nov 20, 2024
2 parents 41702d3 + 641c929 commit afc34ba
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 36 deletions.
34 changes: 34 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
pull_request_rules:

- name: Ask to resolve conflict
conditions:
- conflict
- author!=mergify[bot]
- author!=dependabot[bot]
actions:
comment:
message: This pull request is in conflict. Could you fix it @{{author}}?

- name: Ask to resolve conflict for backports
conditions:
- conflict
- author=mergify[bot]
actions:
comment:
message: This pull request is in conflict. Could you fix it @bmagyar @destogl @christophfroehlich @saikishor?

- name: development targets master branch
conditions:
- base!=master
- author!=bmagyar
- author!=destogl
- author!=christophfroehlich
- author!=saikishor
- author!=mergify[bot]
- author!=dependabot[bot]
actions:
comment:
message: |
@{{author}}, all pull requests must be targeted towards the `master` development branch.
Once merged into `master`, it is possible to backport to `{{base}}`, but it must be in `master`
to have these changes reflected into new distributions.
2 changes: 1 addition & 1 deletion .github/workflows/abi-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, jazzy, iron, humble]
ROS_DISTRO: [rolling, jazzy, humble]
steps:
- uses: actions/checkout@v4
- uses: ros-industrial/industrial_ci@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, jazzy, iron, humble]
ROS_DISTRO: [rolling, jazzy, humble]
ROS_REPO: [main, testing]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-semi-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, jazzy, iron, humble]
ROS_DISTRO: [rolling, jazzy, humble]
ROS_REPO: [testing]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/build-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
- ROS_DISTRO: humble
CONTAINER: ""
OS_NAME: ubuntu-22.04
- ROS_DISTRO: iron
CONTAINER: ""
OS_NAME: ubuntu-22.04
- ROS_DISTRO: jazzy
CONTAINER: ubuntu:24.04
OS_NAME: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [humble, iron, jazzy, rolling]
ROS_DISTRO: [humble, jazzy, rolling]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
2 changes: 1 addition & 1 deletion .github/workflows/debian-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, jazzy, iron, humble]
ROS_DISTRO: [rolling, jazzy, humble]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
upstream_workspace: control_toolbox.${{ matrix.ROS_DISTRO }}.repos
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rhel-semi-binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ROS_DISTRO: [rolling, jazzy, iron, humble]
ROS_DISTRO: [rolling, jazzy, humble]
with:
ros_distro: ${{ matrix.ROS_DISTRO }}
upstream_workspace: control_toolbox.${{ matrix.ROS_DISTRO }}.repos
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ ROS2 Distro | Branch | Build status | Documentation | Released packages
:---------: | :----: | :----------: | :-----------: | :---------------:
**Rolling** | [`ros2-master`](https://github.com/ros-controls/control_toolbox/tree/ros2-master) | [![Binary Build](https://github.com/ros-controls/control_toolbox/actions/workflows/build-binary.yml/badge.svg?branch=ros2-master)](https://github.com/ros-controls/control_toolbox/actions/workflows/build-binary.yml?branch=ros2-master) <br /> [![Rolling Source Build](https://github.com/ros-controls/control_toolbox/actions/workflows/build-source.yml/badge.svg?branch=ros2-master)](https://github.com/ros-controls/control_toolbox/actions/workflows/build-source.yml?branch=ros2-master) | [API](http://docs.ros.org/en/rolling/p/control_toolbox/) | [control_toolbox](https://index.ros.org/p/control_toolbox/#rolling)
**Jazzy** | [`ros2-master`](https://github.com/ros-controls/control_toolbox/tree/ros2-master) | see above | [API](http://docs.ros.org/en/jazzy/p/control_toolbox/) | [control_toolbox](https://index.ros.org/p/control_toolbox/#jazzy)
**Iron** | [`ros2-master`](https://github.com/ros-controls/control_toolbox/tree/ros2-master) | see above | [API](http://docs.ros.org/en/iron/p/control_toolbox/) | [control_toolbox](https://index.ros.org/p/control_toolbox/#iron)
**Humble** | [`ros2-master`](https://github.com/ros-controls/control_toolbox/tree/ros2-master) | see above | [API](http://docs.ros.org/en/humble/p/control_toolbox/) | [control_toolbox](https://index.ros.org/p/control_toolbox/#humble)

## Publication
Expand Down
4 changes: 0 additions & 4 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ coverage:
patch: off
fixes:
- "ros_ws/src/control_toolbox/::"
ignore:
- "**/test"
- "test"
- "test/**/*"
comment:
layout: "diff, flags, files"
behavior: default
6 changes: 0 additions & 6 deletions control_toolbox-not-released.iron.repos

This file was deleted.

9 changes: 0 additions & 9 deletions control_toolbox.iron.repos

This file was deleted.

7 changes: 0 additions & 7 deletions include/control_filters/low_pass_filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@
#ifndef CONTROL_FILTERS__LOW_PASS_FILTER_HPP_
#define CONTROL_FILTERS__LOW_PASS_FILTER_HPP_

#include <Eigen/Dense>
#include <cmath>
#include <memory>
#include <string>
#include <vector>

#include "filters/filter_base.hpp"
#include "geometry_msgs/msg/wrench_stamped.hpp"
Expand All @@ -36,8 +33,6 @@ namespace control_filters
This class implements a low-pass filter for
various data types based on an Infinite Impulse Response Filter.
For vector elements, the filtering is applied separately on
each element of the vector.
In particular, this class implements a simplified version of
an IIR filter equation :
Expand Down Expand Up @@ -96,7 +91,6 @@ class LowPassFilter : public filters::FilterBase<T>
bool update(const T & data_in, T & data_out) override;

private:
rclcpp::Clock::SharedPtr clock_;
std::shared_ptr<rclcpp::Logger> logger_;
std::shared_ptr<low_pass_filter::ParamListener> parameter_handler_;
low_pass_filter::Params parameters_;
Expand All @@ -106,7 +100,6 @@ class LowPassFilter : public filters::FilterBase<T>
template <typename T>
bool LowPassFilter<T>::configure()
{
clock_ = std::make_shared<rclcpp::Clock>(RCL_SYSTEM_TIME);
logger_.reset(
new rclcpp::Logger(this->logging_interface_->get_logger().get_child(this->filter_name_)));

Expand Down

0 comments on commit afc34ba

Please sign in to comment.