Ask Your Question

db's profile - activity

2021-08-10 14:10:40 -0500 received badge  Nice Question (source)
2021-08-10 14:10:34 -0500 received badge  Nice Answer (source)
2021-03-20 14:59:33 -0500 received badge  Good Answer (source)
2021-03-20 14:59:33 -0500 received badge  Enlightened (source)
2021-03-12 17:45:37 -0500 received badge  Nice Answer (source)
2021-02-14 12:38:48 -0500 marked best answer How to to convert point UV in image to XYZ in pointcloud2 (python)?

Given the pixel position, say (u,v) in the RGB image, how do I get the corresponding (X,Y,Z) from pointcloud2 data, using a sensor like kinetic camera.

2021-02-14 12:38:47 -0500 received badge  Self-Learner (source)
2021-02-10 02:36:45 -0500 received badge  Teacher (source)
2021-02-10 02:36:45 -0500 received badge  Self-Learner (source)
2021-02-10 02:36:29 -0500 received badge  Famous Question (source)
2021-02-10 02:36:29 -0500 received badge  Notable Question (source)
2020-11-23 11:33:47 -0500 received badge  Famous Question (source)
2020-09-29 15:51:30 -0500 received badge  Notable Question (source)
2020-09-29 15:51:30 -0500 received badge  Famous Question (source)
2020-08-16 17:21:09 -0500 received badge  Notable Question (source)
2020-08-16 09:37:54 -0500 edited question ROS_INFO can't print a ROS message?

ROS_INFO can't print a message? I just spent around almost 2 hrs trying to fix a problem, that didn't even exist in the

2020-08-16 09:35:48 -0500 edited question ROS_INFO can't print a ROS message?

ROS_INFO can't print a message? I just spent around almost 2 hrs trying to fix a problem, that didn't even exist in the

2020-08-16 09:35:13 -0500 edited question ROS_INFO can't print a ROS message?

ROS_INFO can't print a message? I just spent around almost 2 hrs trying to fix a problem, that didn't even exist in the

2020-08-16 09:33:24 -0500 commented answer ROS_INFO can't print a ROS message?

@gvdroorn I saw this documentation. But, as you can see, I just wanted to make a simple logging of an std::string and a

2020-08-16 09:29:29 -0500 commented answer ROS_INFO can't print a ROS message?

Ok, I didn't know about the ROS_INFO_STREAM, thank you. Do you know if the ROS message objects have a built-in "to_strin

2020-08-16 09:26:04 -0500 marked best answer ROS_INFO can't print a ROS message?

I just spent around almost 2 hrs trying to fix a problem, that didn't even exist in the first place. All because ROS_INFO was printing the wrong thing (essentially printing garbage) when I tried to do something like

std::string s = "..."
ROS_INFO("result: %s", s)

I had to print an std::string because I was trying to print a ROS message, which I had to parse myself, because I couldn't JUST PRINT THE MESSAGE:

void soemclass::jointPositionsCallback(const some_msgs::JointsPositions::ConstPtr& msg){
    ROS_INFO(msg); // <- COMPILE ERROR
}

Is there really no way to JUST PRINT THE MESSAGE? Why can't I just print the std::string as well?

I feel this should be so much easier.

2020-08-16 00:58:16 -0500 received badge  Popular Question (source)
2020-08-14 07:54:10 -0500 edited question ROS_INFO can't print a ROS message?

ROS_INFO can't print a message? I just spent like 1:30 hrs trying to fix a problem, that didn't even exist in the first

2020-08-14 07:53:30 -0500 edited question ROS_INFO can't print a ROS message?

ROS_INFO can't print a message? I just spent like 1:30 hrs trying to fix a problem, that didn't even exist in the first

2020-08-14 07:52:32 -0500 edited question ROS_INFO can't print a ROS message?

ROS_INFO can't print an std::string? I just spent like 1:30 hrs trying to fix a problem that didn't even exist because R

2020-08-14 07:52:20 -0500 asked a question ROS_INFO can't print a ROS message?

ROS_INFO can't print an std::string? I just spent like 1:30 hrs trying to fix a problem that didn't even exist because R

2020-08-14 06:57:32 -0500 commented question Subscriber not receiving messages even though publisher is continuously publishing on the given same topic

Ok, in my case the problem was that I was doing nh.subscribe("topic", 1, &cla::mehtod, this), without assigning the

2020-08-14 06:29:37 -0500 commented question Subscriber not receiving messages even though publisher is continuously publishing on the given same topic

I am having this exact same problem, no solution.

2020-08-14 06:19:13 -0500 commented answer Using subscriber/callback function inside of a class C++

why was this so hard to find

2020-08-12 10:07:22 -0500 commented answer Implement MoveIt! on Real Robot

I don't see where the control is being done there. You are just receiving the action goals on this code? There isn't eve

2020-08-12 09:39:55 -0500 commented question how to connect moveit with real robot

It's not a vague question, the tutorials are almost useless. they don't teach you how to use the software to do anything

2020-08-11 23:54:18 -0500 received badge  Popular Question (source)
2020-08-11 15:59:58 -0500 edited answer MoveIt: "Unable to identify any set of controllers that can actuate the specified joints"

The solution was to update the URDF file generated to support position control instead of effort control by Gazebo. Th

2020-08-11 15:57:03 -0500 marked best answer MoveIt: "Unable to identify any set of controllers that can actuate the specified joints"

I'll try to keep this very concise. After doing the MoveIt setup assistant wizard for a new robot, I wanted to simulate the MoveIt-Gazebo integration. This repository has all the modifications I needed to make to get it working-ish: https://github.com/dhiegomaga/MoveitA...

robotic_arm_control.yaml :

joint_state_controller:
  type: joint_state_controller/JointStateController
  publish_rate: 50

arm_position_controller:
  type: effort_controllers/JointTrajectoryController
  joints:
    - joint_1
    - joint_2
    - joint_3
    - joint_4
    - joint_5
    - joint_6

  constraints:
    goal_time: 2.5                   # Override default
    stopped_velocity_tolerance: 1.0 # Override default
    joint_1:
      trajectory: 1.0

controllers.yaml :

controller_list:
  - name: arm_position_controller
    action_ns: follow_joint_trajectory
    type: FollowJointTrajectory
    default: true
    joints:
      - joint_1
      - joint_2
      - joint_3
      - joint_4
      - joint_5
      - joint_6

However, it is using "effort_controllers/JointTrajectoryController", but I would like to control using position.

But when I change to type: position_controllers/JointTrajectoryController, like it is done here, I get the following error:

[ERROR] [1597152510.808588978, 48.242000000]: Unable to identify any set of controllers that can actuate the specified joints: [ joint_1 joint_2 joint_3 joint_4 joint_5 joint_6 ]

[ERROR] [1597152510.808635527, 48.242000000]: Known controllers and their joints:

How do I change to position control without getting such error?

2020-08-11 15:57:03 -0500 received badge  Scholar (source)
2020-08-11 15:56:44 -0500 received badge  Rapid Responder (source)
2020-08-11 15:56:44 -0500 answered a question MoveIt: "Unable to identify any set of controllers that can actuate the specified joints"

The solution was to update the URDF file generated to support position control instead of effort control by Gazebo. Th

2020-08-11 15:54:52 -0500 commented question MoveIt: "Unable to identify any set of controllers that can actuate the specified joints"

it was on robotic_arm_control.yaml