ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2021-09-21 13:21:51 -0500 | received badge | ● Famous Question (source) |
2021-02-20 15:07:16 -0500 | received badge | ● Famous Question (source) |
2020-11-17 10:44:22 -0500 | received badge | ● Notable Question (source) |
2020-11-16 11:05:31 -0500 | edited answer | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? I found that my question was not stated correctly. Restated, it would be: I have Local Rotation Axis of all the joints a |
2020-11-16 10:18:16 -0500 | edited answer | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? I found that my question was not stated correctly. Restated, it would be: I have Local Rotation Axis of all the joints a |
2020-11-16 10:16:48 -0500 | marked best answer | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information?
SetupI am running ROS2 Eloquent, but I copied the Foxy version of the robot_state_publisher from github to use in my own project. Inside robot_state_publisher (Foxy version!) I learned how to use setupURDF(...) to transform my URDF file into a URDF::Model, and subsequently copy the Joints from that Model into a MimicMap. This MimicMap is used inside the JointState callback and ultimately end up at publishTransforms. In short, the URDF Model and JointStateMsg (sensor_msgs::msg::JointState) are used to populate at a TransformStampedMsg (geometry_msgs::msg::TransformStamped), which is published for anyone to use. I can see that a bulk of the magic is done with the KDL namespace, which manages the tree, segments, joints, links, plus more, and allows us to get poses of a segment based on the current joint position. QuestionIs there a way for me to get 'live' (or Global) Joint Axis pose (with the applied joint_positions) using functions already provided to me by KDL or another ROS library? If not, how do I apply my joint rotations to the segments so that I can calculate the Forward Kinematics for the Axis of Rotation for each joint? |
2020-11-16 10:16:42 -0500 | answered a question | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? I found that my question was not stated correctly. Restated, it would be: I have Local Rotation Axis of all the joints a |
2020-11-15 11:59:37 -0500 | commented question | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? I am looking for information on how to get the orientation for the Joint Axis (or Axis of Rotation for the associated jo |
2020-11-15 02:15:18 -0500 | received badge | ● Popular Question (source) |
2020-11-14 11:28:26 -0500 | commented question | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? I don't have any problem with ROS2, my system, my package or the robot_state_publisher node itself. My system works exac |
2020-11-14 11:27:51 -0500 | commented question | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? At first, I was trying to understand the usage of joint_state_publisher and robot_state_publisher, so I investigated the |
2020-11-14 11:26:50 -0500 | commented question | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? At first, I was trying to understand the usage of joint_state_publisher and robot_state_publisher, so I investigated the |
2020-11-14 11:25:44 -0500 | commented question | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? At first, I was trying to understand the usage of joint_state_publisher and robot_state_publisher, so I investigated the |
2020-11-14 11:25:02 -0500 | commented question | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? I don't have any problem with ROS2, my system, my package or the robot_state_publisher node itself. My system works exac |
2020-11-14 11:19:40 -0500 | commented question | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? At first, I was trying to understand the usage of joint_state_publisher and robot_state_publisher, so I investigated the |
2020-11-13 16:25:37 -0500 | received badge | ● Associate Editor (source) |
2020-11-13 16:25:37 -0500 | edited question | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? Ubuntu 18.04 ROS2 Eloquent C++ TF KDL URDF r |
2020-11-13 14:32:46 -0500 | asked a question | ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? ROS2 Eloquent - KDL - How do I get 'live' (Global) Joint Axis information? Ubuntu 18.04 ROS2 Eloquent C++ TF KDL URDF r |
2020-11-13 12:36:46 -0500 | received badge | ● Notable Question (source) |
2020-11-02 13:47:34 -0500 | marked best answer | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly
My pipeline:I have a robot which uses sensors to detect the rotation, extension of its joints. It has revolute, prismatic, and fixed joints in a URDF file. Yes, I realize that the link names may be confusing, but its not really relevant.
I am gathering data from sensors and publishing that data with my node on a custom Msg interface.
I then have a second node which takes my custom Msg and converts it to Msg::JointState
I make use of robot_state_publisher to convert my Msg::JointState to send my transforms over the TF server. This is done through a launch file My problem:Although I can use There are a couple things to note about the image
|
2020-11-02 13:47:23 -0500 | answered a question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly I haven't figured out the exact answer but I believe the problem is in my CMakeLists.txt. I built a new minimal project |
2020-11-02 13:45:39 -0500 | received badge | ● Popular Question (source) |
2020-10-23 20:23:31 -0500 | commented question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly I have created a minimal reproducible package and the issue has resolved. I will be doing more research and will update |
2020-10-23 09:16:24 -0500 | commented question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly The behavior on /tf is as expected, no freezes or anything. I have use_tf_static set to false, so the /tf_static topic d |
2020-10-23 09:15:41 -0500 | commented question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly The behavior on /tf is as expected, no freezes or anything. I have use_tf_static set to false, so the /tf_static topic d |
2020-10-23 09:14:20 -0500 | commented question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly The behavior on /tf is as expected, no freezes or anything. I have use_tf_static set to false, so the /tf_static topic d |
2020-10-23 09:13:58 -0500 | commented question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly The behavior on /tf is as expected, no freezes or anything. I have use_tf_static set to false, so the /tf_static' topic |
2020-10-22 19:14:33 -0500 | edited question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly Ubuntu 18.04 ROS2 Eloquent TF C++ |
2020-10-22 19:10:35 -0500 | edited question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly Ubuntu 18.04 ROS2 Eloquent TF C++ |
2020-10-22 19:02:03 -0500 | edited question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly Ubuntu 18.04 ROS2 Eloquent TF C++ |
2020-10-22 18:54:09 -0500 | edited question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly Ubuntu 18.04 ROS2 Eloquent TF C++ |
2020-10-22 18:21:38 -0500 | asked a question | ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly ROS2 Eloquent TF listener (tf_echo) values freeze/resume on a cycle unexpectedly Ubuntu 18.04 ROS2 Eloquent TF C++ M |
2020-08-01 00:56:24 -0500 | commented answer | [ROS2] msg stamp time difference bump. I would also like this comment answered |
2020-03-10 07:07:49 -0500 | received badge | ● Famous Question (source) |
2020-03-10 07:07:49 -0500 | received badge | ● Notable Question (source) |
2019-04-24 11:23:46 -0500 | marked best answer | Getting hector_SLAM to work with Neato Lidar, tf issues? First off, I understand that versions of this question have been asked before, but I have already scoured through ROS wiki, ROS answers, google, etc. and I'm still lost. I am brand new to Linux, and ROS, but have MUCH time to devote to learning this material. I am running a fresh install of Ubuntu 16.04 and ROS Kinetic. My objective is to use the Neato Lidar and Hector SLAM to create a 2D map of our office. I have the Lidar running and it can create real-time maps on rviz, but I am having issues when trying to implement Hector SLAM. I think my problem stems from a tf issue. In order to get to this point, I used this tutorial: http://meetjanez.splet.arnes.si/2015/... . I had already completed everything to get the Lidar drivers running (as in the tutorial, but from the ROS source), and the tutorial was useful to help me understand how to get the SLAM installed. But, in the very last step when I launch the neato.launch file, I get a repeating error of and a one-time error of My launch files are as follows.. neato.launch : mapping_default.launch ... (more) |
2019-03-05 09:33:31 -0500 | marked best answer | Dreaded linker error. Boost and catkin_make Hey there, I am creating my own package with Boost, and I have a .cpp file that is able to compile using g++ with: But, when I try to put the .cpp file into my package and catkin_make my package, I get the following error: which is a similar error to the one I got before adding the flags onto the g++ terminal command I have tried to add Boost into my CMakeLists.txt, but (although it did improve my errors), I am still left with the above errors. My CMakeLists.txt is: I am pretty sure it's a linker error but I don't know how to fix it. Again, the edits I made to my CMakeLists.txt eliminated a lot of "undefined reference to" errors, but now that those are gone, I am left with the above. I appreciate any and all help. Thank you. |
2019-03-05 09:33:31 -0500 | received badge | ● Teacher (source) |
2019-03-05 09:33:31 -0500 | received badge | ● Self-Learner (source) |
2019-01-11 07:02:19 -0500 | received badge | ● Famous Question (source) |
2018-03-10 06:19:36 -0500 | received badge | ● Famous Question (source) |
2018-03-10 06:19:36 -0500 | received badge | ● Popular Question (source) |
2018-03-10 06:19:36 -0500 | received badge | ● Notable Question (source) |
2018-02-28 20:13:16 -0500 | marked best answer | Can you please help with my hector mapping launch file? I have a LaserScan node "keyencelaser" that is publishing on the topic "scan" with frame "laser_frame" My launch file currently looks like: But I throw this error once I use my launch file: Can someone please help me figure this out? I have tried multiple combinations but can't quite get it. |
2018-01-11 01:28:20 -0500 | marked best answer | How do I get the transformed point cloud from in callback? I'm not getting a rotated cloud in my CB Hello everyone, I have a hardware setup which consists of a Keyence SZ-V LiDAR and a Razor 9-DOF IMU. There is no real robot, I just have the two sensors somewhat attached so that I can move them at the same time with one motion. I wrote my own first laser driver node to poll the laser and produce a sensor_msgs::LaserScan with the frame_id as "base_link". No issue there. I then have a second node which uses message_filters::Synchronizer to tf transform the LaserScan into a 3D sensor_msgs::PointCloud2 that is rotated by the IMU orientation with frame_id "laser_link". No issue there. I then have a third node which listens for these sensor_msgs::PointCloud2, converts them to pcl::PointCloud2, adds 20 of them, converts them back to sensor_msgs::PointCloud2 and then publishes that larger point cloud. Here is the issue: because the rotation is caused by a tf transform, the rotation is not seen in the combined cloud when I move the IMU. If I turn the laser alone, the combined cloud is as expected and shows some old points as well as the changed ones (not rotated). If I turn the IMU alone, the rotation is seen in the second node (Laser+IMU) but in the third node I just see a something that looks like my 20 scans stacked on top of each other, but rotated by the IMU orientation. I would expect to see several clouds at intermittent positions between the start and end rotation positions. I have tried changing the frame_id of this combined cloud to both "base_link" and "laser link" to see if I could grab the rotated cloud when combining the clouds, but neither of these worked. I mean, this error makes sense because I'm never really getting the rotated values into my third node. How do I correctly get these transformed clouds into my third node so that I can collect several clouds together whether the changes are seen in either the LaserScan or IMU? EDIT: Better late than never.. my objective with this combined 3D point cloud is to get a 3D SLAM going. I'm aiming for ethzasl_icp_mapper as my SLAM algo but it seems that it needs more than just single scans as an input. That's why I'm trying to produce a larger cloud. I want to give it more points to extract data from. I've also looked at loam_back_and_forth but since it's now commercial that's out. I've also looked at BLAM! but there was so many issues trying to get it and it's dependencies installed that I gave up. I forgot the exact errors there.... |
2018-01-11 01:05:05 -0500 | received badge | ● Notable Question (source) |