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

Divyanshu's profile - activity

2023-08-05 10:11:06 -0500 received badge  Notable Question (source)
2023-05-15 05:22:09 -0500 received badge  Popular Question (source)
2023-04-15 16:13:14 -0500 asked a question robot_localization jumping unexpectedly with GPS+IMU

robot_localization jumping unexpectedly with GPS+IMU Hi, I am currently using the robot_localization package to fuse GP

2022-06-28 19:00:27 -0500 received badge  Student (source)
2021-05-24 04:02:03 -0500 received badge  Famous Question (source)
2021-03-05 02:04:41 -0500 received badge  Famous Question (source)
2021-01-07 02:07:15 -0500 received badge  Famous Question (source)
2021-01-05 06:50:48 -0500 received badge  Notable Question (source)
2020-12-18 12:50:09 -0500 received badge  Popular Question (source)
2020-11-28 01:25:39 -0500 received badge  Notable Question (source)
2020-11-27 01:39:36 -0500 received badge  Enthusiast
2020-11-26 03:11:23 -0500 marked best answer nav2: changing controller plugins manually during runtime

I have created a controller plugin by following the tutorial and it is working as expected. I now have two controller plugins (The DWB controller present by default and the controller plugin I created) which are loaded at runtime and I can use those plugins in my behaviour tree as per my requirements.

My question is: Is there a way in which I can I change the controller plugin during runtime manually if the need arises? If yes then How?

I am using Ubuntu 20.04 with ROS2 Foxy

Thanks for the help in advance

2020-11-25 13:18:58 -0500 received badge  Popular Question (source)
2020-11-25 04:10:03 -0500 commented question ROS 2 Params YAML File Package-Relative Path

I am facing a similar issue, it would be great if someone could answer this.

2020-11-25 01:55:06 -0500 asked a question nav2: changing controller plugins manually during runtime

Changing controller plugins manually during runtime I have created a controller plugin by following the tutorial and it

2020-11-25 01:55:06 -0500 asked a question Use of RewrittenYaml in launch of nav2 stack and providing controller plugin params from a separate yaml file

RewrittenYaml and its use in launch of nav2 stack I am creating a controller plugin for the nav2 stack. I have added the

2020-11-23 06:29:08 -0500 received badge  Notable Question (source)
2020-11-20 10:37:02 -0500 received badge  Supporter (source)
2020-11-20 10:16:09 -0500 marked best answer rclcpp::Time() without nodehandles in ROS2 Foxy

I am trying to create a controller plugin for the nav2 stack. As per the tutorials, I have rclcpp_lifecycle::LifecycleNode shared pointer which I use to create a clock (node->get_clock()) and use clock-> now() to get the latest time. I have created libraries which are used with this plugin. I want to get the latest time in these libraries without having to pass down the node handles.

In ROS1 we could create node handles in the library itself and get the latest time using ros::Time::now() but the library itself wouldn't be a node. However, I don't think we can have a ros2 node handle spawned out of the blue, without it being tied to an actual node. I don't want to have to pass a node handle 3 layers into this library for two timers that can be paused with simulation time. I have seen some examples where to get the latest time without node handles they use rclccpp::Time() but I am not sure what it means and what it does. Also, is there an alternative to ros::Time::now() or ros::Time(0) in ROS2 without passing down the node handles as mentioned earlier and what exactly does rclcpp::Time() mean without any node initialisation?

I am using ROS2 Foxy in Ubuntu 20.04

2020-11-20 10:16:09 -0500 received badge  Scholar (source)
2020-11-20 10:14:43 -0500 received badge  Popular Question (source)
2020-11-19 08:51:01 -0500 asked a question rclcpp::Time() without nodehandles in ROS2 Foxy

rclcpp::Time() without nodehandles in ROS2 Foxy I am trying to create a controller plugin for the nav2 stack. As per the