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

hansolo's profile - activity

2023-05-05 00:05:55 -0500 received badge  Famous Question (source)
2022-12-16 03:24:30 -0500 received badge  Notable Question (source)
2022-12-16 03:24:30 -0500 received badge  Popular Question (source)
2022-08-02 04:14:26 -0500 commented question Cannot locate node of type [rosnode] in package [rosnode]

Unlike killing a single node, apparently, kill all causes another issue. Please refer to this issue.

2022-08-02 04:14:08 -0500 commented question Cannot locate node of type [rosnode] in package [rosnode]

Unlike killing a single node, apparently, _kill all_ causes another issue. Please refer to this issue.

2022-08-02 03:23:27 -0500 commented answer rosnode kill in launch file

Comment on the last edit: Another walkaround might be cloning ros_comm, or just its ros_node folder into catkin workspac

2022-08-01 11:03:35 -0500 commented question Cannot locate node of type [rosnode] in package [rosnode]

Thank you for creating the issue in ros_comm. Anyway, when that issue is solved this question will become obsolete, so l

2022-08-01 11:03:35 -0500 received badge  Commentator
2022-08-01 10:50:44 -0500 commented question Cannot locate node of type [rosnode] in package [rosnode]

Oh, just noticed that you closed it for being a duplicate, but it is not. The other question asks whether they can kill

2022-08-01 10:44:11 -0500 commented question Cannot locate node of type [rosnode] in package [rosnode]

Thank you for editing the answer there. I will put the solution also here as it is not exactly the same question.

2022-08-01 09:12:41 -0500 edited question Cannot locate node of type [rosnode] in package [rosnode]

Cannot locate node of type [rosnode] in package [rosnode] In ros-noetic, ubuntu 20.04, I am launching the following rosl

2022-08-01 09:11:50 -0500 asked a question Cannot locate node of type [rosnode] in package [rosnode]

Cannot locate node of type [rosnode] in package [rosnode] In ros-noetic, ubuntu 20.04, I am launching the following rosl

2021-02-12 13:32:18 -0500 commented answer how to convert rosrun mux command to a launch file

This should work: <node pkg="topic_tools" type="mux" name="mux_cmdvel" args="sel_cmdvel joystick/cmd_vel cmd_vel mux:

2021-02-12 13:12:55 -0500 commented answer how to convert rosrun mux command to a launch file

<node pkg="topic_tools" type="mux" name="mux_cmdvel" args="sel_cmdvel joystick/cmd_vel cmd_vel mux:=mux_cmdvel"> T

2020-10-02 11:40:32 -0500 edited answer How to add ROS to path in VS Code?

I had the same problem, having installed the ROS extension on VSCode. I created a workspace file under ~/catkin_ws, I co

2020-10-02 09:18:14 -0500 commented question How to setup Intelisense on VS Code for ROS C++

There are suggested answers to this problem under another question.

2020-10-02 09:03:20 -0500 answered a question How to add ROS to path in VS Code?

I had the same problem, having installed the ROS extension on VSCode. I created a workspace file under ~/catkin_ws, I co

2020-06-02 09:06:33 -0500 commented answer bag file and tf transformation

Note, in Melodic, BufferCore doesn't have a lookup_transform method. Instead it is named tf_buffer.lookup_transform_core

2020-06-02 09:06:21 -0500 commented answer bag file and tf transformation

Note, in Melodic, BufferCore doesn't have a lookup_transform method. Instead it is named tf2_py.lookup_transform_core().

2020-02-06 06:32:36 -0500 commented question MoveIt doesn't assume the initial pose in RViz

It is too old, I am not fully sure. Do you mean that the universal-robot package installed through apt-get may be run in

2020-01-21 12:29:04 -0500 received badge  Nice Question (source)
2019-06-25 11:56:52 -0500 commented question Control a manipulator in Moveit! with an unfixed base

Yes, it should be alright as long as you update the TF information. You should publish the latest pose of the arm base t

2019-06-24 04:08:50 -0500 commented question Control a manipulator in Moveit! with an unfixed base

MoveIt is generally used to control manipulator chains (e.g. robot arm). You can attach a robot arm on a mobile robot by

2019-02-28 08:02:45 -0500 commented answer move_base launch fails due to: cannot marshal None unless allow_none is enabled

For me it was indentation mismatch in a yaml file.

2019-01-15 01:26:47 -0500 received badge  Famous Question (source)
2019-01-15 01:26:47 -0500 received badge  Notable Question (source)
2018-10-20 11:15:41 -0500 received badge  Popular Question (source)
2018-10-20 07:38:18 -0500 marked best answer Can't get double parameter in node (C++)

I have a launch file with:

  <arg name="INTENSITY" default="1.2" />
  <param name="my_intensity" type="double" value="$(arg INTENSITY)" />

The same launch file starts a ROS node, my_node . In my_node's main method I have the following, to get that parameter:

  ros::init(argc, argv, "my_node");
  ros::NodeHandle nh;
  string param_name;
  if(!nh.searchParam("/my_intensity", param_name) ){
    ROS_ERROR("Can't find param.");
    return -1;
  }

  double it;
  ros::param::get(param_name, it);  

  ROS_INFO("Intensity is %f.", it);
  ...

Running this prints Intensity is 0.0.. Although when I run rosparam get /my_intensity in a terminal window I get the correct value (1.2).

When I change the type of it to string, what I get is an empty string. The same approach always worked for my other nodes. So I am really confused. What may be causing this behavior?

Thank you.

System: Ubuntu 16.04, ros-kinetic.

2018-10-20 07:38:08 -0500 answered a question Can't get double parameter in node (C++)

Ok, I found the reason after poking some more. The same node was subscribing to a topic with the same name (my_intensity

2018-10-19 11:13:12 -0500 asked a question Can't get double parameter in node (C++)

Can't get double parameter in node (C++) I have a launch file with: <arg name="INTENSITY" default="1.2" /> &l

2018-10-04 06:21:51 -0500 received badge  Good Question (source)
2018-05-10 22:07:32 -0500 received badge  Nice Question (source)
2018-05-06 20:38:36 -0500 received badge  Famous Question (source)
2018-04-23 16:34:49 -0500 received badge  Famous Question (source)
2018-04-11 06:54:03 -0500 received badge  Enthusiast
2018-04-09 08:35:29 -0500 marked best answer Moveit import scene from text automatically

We can export and import Moveit scene objects to/from a text file (*.scene) using the RViz GUI (picture below). I would like to do the same automatically, so that the scene will be loaded on start. I am aware of the option of creating collision objects by code, however I want to have a more maintainable approach (data over code).

Is there a way to save/load Moveit planning scene objects to/from text, using C++ API or using an existing ros node/service?

System: Ubuntu 16.04, ROS-Kinetic

image description

2018-04-09 08:35:29 -0500 received badge  Scholar (source)
2018-04-08 13:26:29 -0500 received badge  Notable Question (source)
2018-04-07 20:47:39 -0500 received badge  Student (source)
2018-04-06 11:17:14 -0500 received badge  Popular Question (source)
2018-04-04 05:58:38 -0500 edited question Moveit import scene from text automatically

Moveit import scene from text automatically We can export and import Moveit scene objects to/from a text file (*.scene)

2018-04-04 05:58:38 -0500 received badge  Editor (source)
2018-04-04 05:58:35 -0500 edited question Moveit import scene from text automatically

Moveit import scene from text automatically We can export and import Moveit scene objects to/from a text file (*.scene)

2018-04-03 11:12:05 -0500 asked a question Moveit import scene from text automatically

Moveit import scene from text automatically We can export and import Moveit scene objects to/from a text file (*.scene)