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

[ControllerInterface] Avoid warning about conversion from int64_t to unsigned int #1173

Merged
merged 1 commit into from
Nov 21, 2023

Commits on Nov 21, 2023

  1. [ControllerInterface] Avoid warning about conversion from int64_t t…

    …o `unsigned int`
    
    Without this there is a warning. For what I found the best way is to do static cast.
    
    ```
    ros2_control/controller_interface/src/controller_interface_base.cpp:88:67: warning: conversion from ‘int64_t’{aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion]
    88 |     update_rate_ = get_node()->get_parameter("update_rate").as_int();
    ```
    destogl authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    99cccc5 View commit details
    Browse the repository at this point in the history