Skip to content

Commit

Permalink
refactor(vehicle_cmd_gate): move private headers (autowarefoundation#…
Browse files Browse the repository at this point in the history
…1799)

Signed-off-by: Takagi, Isamu <[email protected]>

Signed-off-by: Takagi, Isamu <[email protected]>
  • Loading branch information
isamu-takagi authored and boyali committed Oct 3, 2022
1 parent d77a183 commit 028fbb9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion control/vehicle_cmd_gate/src/vehicle_cmd_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "vehicle_cmd_gate/vehicle_cmd_filter.hpp"

#include "vehicle_cmd_filter.hpp"

#include <algorithm>
#include <cmath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef VEHICLE_CMD_GATE__VEHICLE_CMD_FILTER_HPP_
#define VEHICLE_CMD_GATE__VEHICLE_CMD_FILTER_HPP_
#ifndef VEHICLE_CMD_FILTER_HPP_
#define VEHICLE_CMD_FILTER_HPP_

#include <rclcpp/rclcpp.hpp>

Expand Down Expand Up @@ -74,4 +74,4 @@ class VehicleCmdFilter
double limitDiff(const double curr, const double prev, const double diff_lim) const;
};

#endif // VEHICLE_CMD_GATE__VEHICLE_CMD_FILTER_HPP_
#endif // VEHICLE_CMD_FILTER_HPP_
2 changes: 1 addition & 1 deletion control/vehicle_cmd_gate/src/vehicle_cmd_gate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "vehicle_cmd_gate/vehicle_cmd_gate.hpp"
#include "vehicle_cmd_gate.hpp"

#include <rclcpp/logging.hpp>
#include <tier4_api_utils/tier4_api_utils.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef VEHICLE_CMD_GATE__VEHICLE_CMD_GATE_HPP_
#define VEHICLE_CMD_GATE__VEHICLE_CMD_GATE_HPP_
#ifndef VEHICLE_CMD_GATE_HPP_
#define VEHICLE_CMD_GATE_HPP_

#include "vehicle_cmd_gate/vehicle_cmd_filter.hpp"
#include "vehicle_cmd_filter.hpp"

#include <diagnostic_updater/diagnostic_updater.hpp>
#include <rclcpp/rclcpp.hpp>
Expand Down Expand Up @@ -252,4 +252,4 @@ class VehicleCmdGate : public rclcpp::Node
};

} // namespace vehicle_cmd_gate
#endif // VEHICLE_CMD_GATE__VEHICLE_CMD_GATE_HPP_
#endif // VEHICLE_CMD_GATE_HPP_
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "vehicle_cmd_gate/vehicle_cmd_filter.hpp"
#include "../../src/vehicle_cmd_filter.hpp"

#include <gtest/gtest.h>

Expand Down

0 comments on commit 028fbb9

Please sign in to comment.