ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Tudala's profile - activity

2022-08-14 02:39:01 -0500 received badge  Famous Question (source)
2022-08-06 15:30:13 -0500 received badge  Student (source)
2022-06-22 16:30:20 -0500 received badge  Famous Question (source)
2022-06-22 16:30:20 -0500 received badge  Notable Question (source)
2022-05-10 05:29:20 -0500 received badge  Popular Question (source)
2022-02-17 03:11:22 -0500 asked a question How to visualize an existed map in rviz2?

How to visualize an existed map in rviz2? Hello all, what I want to do is visualize an existed map (transfered by a floo

2022-02-15 09:08:57 -0500 received badge  Notable Question (source)
2022-02-12 22:44:47 -0500 commented question How can I visualize a map on rviz2? (ros2 eloquent)

Hi, have you solved this question? Facing the same problem after 2 years.

2022-02-12 22:06:56 -0500 marked best answer Do I need to write my own PID controller when using ros2_control?

Hi all, while using forward_controller in ros2_control I found:

There is no PID control code involved in ros2_control_demo. I think this is because ros2_control_demo is built on virtual hardware, for example, it handles the relationship between hw_state and hw_command like this:

hardware_interface::return_type RRBotSystemPositionOnlyHardware::read()
{
  RCLCPP_INFO(rclcpp::get_logger("RRBotSystemPositionOnlyHardware"), "Reading...");

  for (uint i = 0; i < hw_states_.size(); i++)
  {
    // Simulate RRBot's movement
    hw_states_[i] = hw_states_[i] + (hw_commands_[i] - hw_states_[i]) / hw_slowdown_;
    RCLCPP_INFO(
      rclcpp::get_logger("RRBotSystemPositionOnlyHardware"), "Got state %.5f for joint %d!",
      hw_states_[i], i);
  }
  RCLCPP_INFO(rclcpp::get_logger("RRBotSystemPositionOnlyHardware"), "Joints successfully read!");

  return hardware_interface::return_type::OK;
}

Does that mean I need to write my own PID control code if using real hardware?

2022-02-12 22:06:56 -0500 received badge  Scholar (source)
2022-02-10 02:38:45 -0500 received badge  Enthusiast
2022-02-09 14:34:14 -0500 received badge  Popular Question (source)
2022-02-09 03:47:14 -0500 received badge  Supporter (source)
2022-02-07 21:38:00 -0500 asked a question Do I need to write my own pid control code while using ros2_control?

Do I need to write my own pid control code while using ros2_control? Hi all, while using forward_controller in ros2_cont

2022-02-07 21:36:09 -0500 asked a question Do I need to write my own PID controller when using ros2_control?

Do I need to write my own PID controller when using ros2_control? Hi all, while using forward_controller in ros2_control

2022-01-02 05:47:23 -0500 commented question Rviz2 shows nothing while other function work fine

Hello, thanks for replying! I believe it is related to the intel graphic driver support in wsl2. I will close this quest

2021-12-25 04:47:54 -0500 asked a question Rviz2 shows nothing while other function work fine

Rviz2 shows nothing while other function work fine Im using ROS2 foxy with rviz2 under WSL2 for windows11. Everything wo