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

dasanche's profile - activity

2020-06-19 03:30:36 -0500 received badge  Famous Question (source)
2020-06-19 03:30:36 -0500 received badge  Notable Question (source)
2020-06-19 03:30:36 -0500 received badge  Popular Question (source)
2019-06-17 08:43:57 -0500 commented answer How to publish odometry from 3 wheeled omnidirectional robot

Yes, by default ROS works in meters. I can see you have a transformation to cm (odometry_to_cm) that makes me doubt.

2019-06-17 08:43:43 -0500 commented answer How to publish odometry from 3 wheeled omnidirectional robot

Yes, by default ROS works in meters. I can see you have a transformation to cm (odometry_to_cm) that makes me doubt.

2019-06-17 08:43:19 -0500 commented answer How to publish odometry from 3 wheeled omnidirectional robot

Yes, by default ROS works in meters. I can see you have a transformation to cm (odometry_to_cm) that makes me doubt.

2019-06-17 08:42:54 -0500 commented answer How to publish odometry from 3 wheeled omnidirectional robot

Yes, by default ROS works in meters. I can see you have a transformation to cm (odometry_to_cm) that makes me doubt.

2019-06-17 08:42:16 -0500 commented answer How to publish odometry from 3 wheeled omnidirectional robot

Yes, by default ROS works in meters. I can see you have a transformation to cm (odometry_to_cm) that makes me doubt.

2019-06-17 07:43:03 -0500 commented answer How to publish odometry from 3 wheeled omnidirectional robot

Yes, by default ROS works in meters. I can see you have a transformation to cm (odometry_to_cm) that makes me doubt.

2019-06-14 17:13:54 -0500 commented answer How to publish odometry from 3 wheeled omnidirectional robot

Normally you can edit the original message to update. Are you also publishing the tf transform? Do you have all your d

2019-06-14 16:59:17 -0500 answered a question Tf_echo missing timestamp

Does your rosbag publish a /clock topic?

2019-06-14 16:54:38 -0500 answered a question How to publish odometry from 3 wheeled omnidirectional robot

As you say, in that code you have all the variables you need. Only one strange thing, you have a transformation to cm,

2019-06-08 10:40:57 -0500 received badge  Nice Answer (source)
2019-06-08 06:52:22 -0500 received badge  Teacher (source)
2019-06-08 05:21:36 -0500 answered a question How to get the Quaternion from Matrix with python

You can find the API you're looking for in here: http://docs.ros.org/melodic/api/tf/html/python/transformations.html T

2019-06-08 05:13:52 -0500 answered a question Spawning Multiple Turtles in a python

What do you mean you spawned different turtles using ROSSERVICE, did you use something like this? rosservice call /spaw

2019-06-08 04:45:37 -0500 answered a question Callback function for sensor_image sensor

If you have a working solutions, please mark it as the accepted answer.

2019-06-08 04:32:55 -0500 answered a question Can I get the pose data from Lidar required in navigation stack?

Do you have a map to compare the scans with? What kind of laser is it? Do you have an other sensor data? For 2D scans a

2019-06-03 14:47:11 -0500 marked best answer Linking problem when building apriltag_ros package

Hello,

I'm trying to build this project ( http://wiki.ros.org/apriltag_ros ) in Ubuntu 18.04 and ROS-melodic.

I just did:

(i) cd catkin_ws/src/

(ii) git clone https://github.com/AprilRobotics/apri...

(iii) cd catkin_ws/ & catkin_make

I'm getting a linking problem against a very basic ROS library:

[ 96%] Linking CXX executable /home/das/catkin_ws/devel/lib/apriltag_ros/apriltag_ros_single_image_client_node
CMakeFiles/apriltag_ros_single_image_client_node.dir/src/apriltag_ros_single_image_client_node.cpp.o: In function `main':
apriltag_ros_single_image_client_node.cpp:(.text.startup+0x101): undefined reference to `ros::NodeHandle::NodeHandle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__debug::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
apriltag_ros_single_image_client_node.cpp:(.text.startup+0x1b0): undefined reference to `ros::NodeHandle::NodeHandle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__debug::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)'
collect2: error: ld returned 1 exit status

Any idea why?

2019-06-03 14:46:52 -0500 answered a question Linking problem when building apriltag_ros package

Solved by removing the .catkin_tools, .private, build, devel, logs directories in the root of the workspace manually. In

2019-06-01 17:44:12 -0500 asked a question Linking problem when building apriltag_ros package

Linking problem when building apriltag_ros package Hello, I'm trying to build this project (http://wiki.ros.org/aprilta

2018-11-29 02:10:44 -0500 received badge  Enthusiast
2018-01-21 14:51:31 -0500 commented answer Has anyone used April Tags with ROS?

I cloned the repo last week in a colleagues computer and made it work with an Xtion Primesense on Friday, did no changes

2018-01-20 11:38:32 -0500 commented answer How to do real time hand detection on Kinect V2/ROS

Because that code performs humand body (including hand) body tracking in real time. The software is based on the detect

2018-01-20 10:29:55 -0500 answered a question Has anyone used April Tags with ROS?

Hello, I've used Apriltags and ROS in several projects. The wrappers change a lot with time and therefore there are se

2018-01-20 10:25:07 -0500 answered a question How to do real time hand detection on Kinect V2/ROS

Hello, For real time hand pose detection I'd take a look at this code. https://github.com/CMU-Perceptual-Computing-L

2015-11-18 02:53:58 -0500 received badge  Famous Question (source)
2015-10-28 03:51:15 -0500 received badge  Student (source)
2015-10-27 10:52:03 -0500 received badge  Notable Question (source)
2015-10-27 10:04:14 -0500 received badge  Editor (source)
2015-10-25 12:37:15 -0500 received badge  Popular Question (source)
2015-10-20 12:35:00 -0500 asked a question tf target frame does not exist

Hi, I'm working with ROS Indigo,

I was trying to set up two new transformations in a system in which I already have many and came across with the problem that ROS tells me these particular two recently adde don't exist when I ask for them.

I decided to try it out in a simpler manner, so I attached the code 2 very simple nodes, one broadcasts and the other one looks for the transform, I have both C++ and python versions. Basic code:

C++ broadcaster:

tf::TransformBroadcaster br;
tf::Transform transform;
transform.setOrigin(tf::Vector3(0.5,0.0,0.5));
transform.setRotation(tf::Quaternion(0.0,0.0,0.0,1.0)); 
 while(1){
    br.sendTransform(tf::StampedTransform(transform, ros::Time::now(), "base_camera", "base_arm"));
    //br.sendTransform(tf::StampedTransform(proximal_tf[i], ros::Time::now(), s1, s2));
    ros::Duration(0.5).sleep();
}

Python broadcaster:

tf_br = tf.TransformBroadcaster()
while (1):
     tf_br.sendTransform((0.5,0.0,0.5), (0.0,0.0,0.0,1.0), rospy.Time.now(), "base_camera", "base_arm")
     rospy.sleep(0.5)

C++ listener:

tf::TransformListener listener;
tf::StampedTransform transform;
char s1[50]; char s2[50];
sprintf(s1, "base_camera");
sprintf(s2, "base_arm");
try{
        listener.lookupTransform(s1, s2, ros::Time(0), transform);
        //listener.lookupTransform(s1, s2, ros::Time(0), transform);
}catch (tf::TransformException ex){
    ROS_ERROR("%s",ex.what());
}

Python listener:

tf_frames = tf.TransformListener()
    #object_in_arm = tf_frames.transformPose("Base_Camera", "Base_Arm", object_in_cam)
    (object_in_arm.pose.position, object_in_arm.pose.orientation) = tf_frames.lookupTransform("base_camera", "base_arm", rospy.Time(0))

This is what I get when executing either C++ or pythin versions:

rosrun control_node tf_helper `[ERROR] [1445342805.139442730]: "base_camera" passed to lookupTransform argument target_frame does not exist. Similar in Python:

rosrun control_node tf_read.py
Object in camera frame: [0.1, 0.1, 0.1] [0.0, 0.0, 0.0, 1.0] Traceback (most recent call last): File "/home/alva_da/catkin_src/src/control_node/src/tf_read.py", line 25, in <module> (object_in_arm.pose.position, object_in_arm.pose.orientation) = tf_frames.lookupTransform("base_camera", "base_arm", rospy.Time(0)) tf.LookupException: "Base_Camera" passed to lookupTransform argument target_frame does not exist.

So I thought frames where not being published for some reason, but I actually got normal results when used tf tools:

rosrun tf tf_echo "/base_camera" "/base_arm"

At time 1445343041.156 - Translation: [-0.500, 0.000, -0.500] - Rotation: in Quaternion [0.000, 0.000, 0.000, 1.000] in RPY (radian) [0.000, -0.000, 0.000] in RPY (degree) [0.000, -0.000, 0.000]

Also, tf monitor results show:

rosrun tf tf_monitor "base_camera" "base_arm"

Waiting for transform chain to become available between base_camera and base_arm RESULTS: for base_camera to base_arm Chain is: Net delay avg = 0.0223074: max = 0.215266 Frames: All Broadcasters:

Also, when executig view_frames, the two frames ar listed as parent and child.

I came back to this, th only new clue I found is that roswtf tells me this:

`WARNING The following node subscriptions are unconnected:

  • /data_analyzer_node:
    • /tf_static
  • /reflex_tf_broadcaster:
    • /object_pose
  • /rviz:
    • /finger1_sensor9_array
    • /finger1_sensor7_array
    • /finger1_sensor8_array
    • /finger1_sensor6_array
    • /finger1_sensor3_array
    • /finger1_sensor5_array
    • /finger1_proximal_pad_array
    • /finger1_sensor2_array
    • /particles_array
    • /object_array
    • /tf_static`

Although I'm ... (more)

2015-03-18 14:26:43 -0500 received badge  Famous Question (source)
2014-12-08 17:45:56 -0500 received badge  Notable Question (source)
2014-12-08 16:25:41 -0500 answered a question bfl - particle filter

Sorry or the delay, I forgot to answer. Thanks a lot for the feedback!

2014-12-08 16:25:08 -0500 received badge  Scholar (source)
2014-12-02 03:21:44 -0500 received badge  Popular Question (source)
2014-12-01 08:47:08 -0500 asked a question bfl - particle filter

Hello,

I'm trying to implement a particle filter using the BFL library from Orocos.

My problem is that my measurement system is multi-modal and in some cases non-analytical, with up to 30 measurements. For some measurements I have and expected value of 0, but for most of them I just know that they should be < 0, but I can't be sure in advance of the exact value. So, it s a bit different from the examples given in BFL website, or in the one from ROS, because they always know the value of the measurement they expect and then use a gaussian distribution to define to probability of this measurement.

I came up with the idea of applying every measurement value I get to a function that gives me an ouput between 0 and 1, and then multiply all these values into a final number (also between 0 and 1) that would be my probability for that measurement.

I'm not sure if this idea has any sense in for the measurement model. If not, can you suggest any way to handle this?

Thank very much!