Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gpio_controllers/src/gpio_command_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ bool GpioCommandController::check_if_configured_interfaces_matches_received(
if (!(configured_interfaces.size() == interfaces_from_params.size()))
{
RCLCPP_ERROR(
get_node()->get_logger(), "Expected %ld interfaces, got %ld", interfaces_from_params.size(),
get_node()->get_logger(), "Expected %zu interfaces, got %zu", interfaces_from_params.size(),
configured_interfaces.size());
for (const auto & interface : interfaces_from_params)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ TEST_F(JointStateBroadcasterTest, UpdatePerformanceTest)
}

RCLCPP_INFO(
state_broadcaster_->get_node()->get_logger(), "Number of test interfaces: %lu",
state_broadcaster_->get_node()->get_logger(), "Number of test interfaces: %zu",
test_interfaces_.size());

std::vector<LoanedStateInterface> state_interfaces;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ inline bool check_state_tolerance_per_joint(
if (show_errors)
{
const auto logger = rclcpp::get_logger("tolerances");
RCLCPP_ERROR(logger, "State tolerances failed for joint %lu:", joint_idx);
RCLCPP_ERROR(logger, "State tolerances failed for joint %zu:", joint_idx);

if (state_tolerance.position > 0.0 && abs(error_position) > state_tolerance.position)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ controller_interface::CallbackReturn JointTrajectoryController::on_configure(
for (size_t i = 0; i < command_joint_names_.size(); i++)
{
RCLCPP_DEBUG(
logger, "Command joint %lu: '%s' maps to joint %lu: '%s'.", i,
logger, "Command joint %zu: '%s' maps to joint %zu: '%s'.", i,
command_joint_names_[i].c_str(), map_cmd_to_joints_[i],
params_.joints.at(map_cmd_to_joints_[i]).c_str());
}
Expand Down