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

David Lu's profile - activity

2023-06-05 14:12:17 -0500 received badge  Guru (source)
2023-06-05 14:12:17 -0500 received badge  Great Answer (source)
2023-04-26 09:49:54 -0500 received badge  Good Answer (source)
2023-03-26 01:09:28 -0500 received badge  Nice Answer (source)
2022-10-06 12:09:12 -0500 commented answer Display only one layer of a costmap in rviz

The light blue comes from the inflation layer, but more things come from the inflation layer. Light blue/red/dark blue a

2022-10-04 13:57:57 -0500 received badge  Nice Answer (source)
2022-09-20 22:13:00 -0500 received badge  Necromancer (source)
2022-09-20 09:46:27 -0500 commented question leg_detector and ROS Melodic (ROSbot 2.0)

What are the key frames you're using with the Husarion? Is the full model being displayed in RViz?

2022-09-20 09:42:02 -0500 answered a question dynamic obstacle layer not working on global costmap

If you dump your parameters when your system is running, make sure the parameters are set the way you expect them to be.

2022-09-20 09:38:36 -0500 answered a question Usage of social costmap

You can read about the theory behind layered costmaps here There is a tutorial for how to configure costmaps on the wi

2022-08-13 21:40:37 -0500 received badge  Necromancer (source)
2022-08-04 05:04:50 -0500 received badge  Nice Answer (source)
2022-07-13 13:48:24 -0500 marked best answer Bloom an ament_python package with Pip Dependencies

I'm having trouble with blooming a rolling package, possibly because of its pip dependencies.

Key error:

fatal: Remote branch debian/ros-rolling-tf-transformations_1.0.0-1_focal not found in upstream origin
...
subprocess.CalledProcessError: Command '['git', 'clone', '--branch', 'debian/ros-rolling-tf-transformations_1.0.0-1_focal', '--depth', '1', '--no-single-branch', 'https://github.com/DLu/tf_transformations_release.git', '/tmp/sourcedeb/source']' returned non-zero exit status 128.

That branch doesn't exist in my release repo. I'm guessing its because of this line of the bloom execution:

==> git-bloom-generate -y rosdebian --prefix release/rolling rolling -i 1 --os-name debian --os-not-required
No platforms defined for os 'debian' in release file for the 'rolling' distro. This os was not required; continuing without error.

I bring up the pip dependencies because I got warnings about my pip dependency:

Key 'python-transforms3d-pip' resolved to '['transforms3d']' with installer 'pip', which does not match the default installer 'apt'.
Failed to resolve python-transforms3d-pip on ubuntu:focal with: Error running generator: The Debian generator does not support dependencies which are installed with the 'pip' installer.
python-transforms3d-pip is depended on by these packages: ['tf_transformations']
<== Failed
Some of the dependencies for packages in this repository could not be resolved by rosdep.
<== The following generator action reported that it is missing one or more
    rosdep keys, but that the key exists in other platforms:
'['/usr/bin/git-bloom-generate', '-y', 'rosdebian', '--prefix', 'release/rolling', 'rolling', '-i', '1', '--os-name', 'ubuntu']'

If you are absolutely sure that this key is unavailable for the platform in
question, the generator can be skipped and you can proceed with the release.
Skip generator action and continue with release [y/N]?

So how do I bloom my Python-y package correctly? I get that Native packages are preferred but there's got to be some way to use pip, otherwise why even support it in the rosdistro?

2022-05-31 04:31:41 -0500 received badge  Famous Question (source)
2022-05-30 08:48:28 -0500 received badge  Good Answer (source)
2022-04-07 08:01:53 -0500 received badge  Nice Answer (source)
2022-03-25 09:41:14 -0500 asked a question ament_python unit tests

ament_python unit tests Is there a nice canonical example of how to run unit tests for a pure Python (ament_python, not

2022-03-16 17:55:37 -0500 received badge  Necromancer (source)
2022-03-16 11:58:17 -0500 answered a question Global and Local costmap configuration

Some relevant info: https://answers.ros.org/question/10620/whats-the-difference-between-global-and-local-costmaps-static

2022-03-16 11:57:08 -0500 answered a question How do I convert costmap information to odom or pose information?

I have some documentation on the math here

2022-02-17 08:56:35 -0500 marked best answer Position and Velocity

Is there a standard-ish message that represents an object's 3d position and 3d velocity?

[insert Heisenberg joke here]

2022-02-09 04:27:04 -0500 received badge  Favorite Question (source)
2022-01-12 07:30:23 -0500 received badge  Nice Answer (source)
2022-01-11 22:26:17 -0500 edited answer 2021 Metrics missing?

There are two separate sources for metrics. One is the metrics.ros.org site that I maintain. The second is a curated rep

2022-01-11 22:25:57 -0500 answered a question 2021 Metrics missing?

There are two separate sources for metrics. One is the above site that I maintain. The second is a curated report that O

2022-01-11 22:25:57 -0500 received badge  Rapid Responder (source)
2021-11-16 03:14:20 -0500 received badge  Nice Answer (source)
2021-11-13 22:38:32 -0500 received badge  Good Question (source)
2021-11-13 22:38:23 -0500 marked best answer Atom + linter-clang

Trying to run linter-clang in Atom on some C++ files is running into trouble because it can't find the header files.

I notice that in Dirk's Atom Settings that he plugged at ROSCon, there are many ROS header include folders listed manually as part of the settings for clangIncludePaths.

What are the appropriate directories to list here, given that I'm using ROS 1.0/indigo and catkin-tools?

@Dirk Thomas

2021-11-10 16:53:51 -0500 commented answer Where can I find a good tutorial for Incorporating RViz2 into a Custom GUI (Qt5)?

Thank you for this @Mjeronimo

2021-11-04 13:28:35 -0500 marked best answer CMakeLists.txt: Install Python

What is the best way to install python libraries with a package?

This tutorial says how to do Python scripts, and I know you also need a setup.py, but I'm having trouble running import easy_markers with the deb package generated from easy_markers

(and now that I checked, I apparently can't run either of my scripts in the package either using rosrun)

You can download and test this package with apt-get install ros-groovy-easy-markers

2021-10-21 09:37:26 -0500 received badge  Good Answer (source)
2021-08-22 15:11:44 -0500 received badge  Notable Question (source)
2021-08-22 15:11:44 -0500 received badge  Famous Question (source)
2021-07-23 05:25:15 -0500 received badge  Guru (source)
2021-07-23 05:25:15 -0500 received badge  Great Answer (source)
2021-07-15 17:18:00 -0500 received badge  Famous Question (source)
2021-07-01 06:17:28 -0500 received badge  Famous Question (source)
2021-06-30 16:06:45 -0500 commented answer Custom Global Planner causing problems - undefined symbol

Its CMake's convoluted way of making sure that your code is linked against the proper libraries of base_local_planner.

2021-06-29 13:53:00 -0500 answered a question Custom Global Planner causing problems - undefined symbol

I would make sure that base_local_planner is in your list of CATKIN_DEPENDS in the catkin_package and then add target_

2021-06-29 13:53:00 -0500 received badge  Rapid Responder (source)
2021-06-23 09:34:22 -0500 commented answer Is pluginlib working on ROS2?

Dear future person who Googled "ros 2 pluginlib": https://github.com/ros2/ros2_documentation/pull/1700

2021-06-17 08:37:21 -0500 received badge  Popular Question (source)
2021-06-15 15:15:00 -0500 commented answer Bloom an ament_python package with Pip Dependencies

What if I add it as an install_requires entry in my setup.py?

2021-06-14 15:42:35 -0500 asked a question Bloom an ament_python package with Pip Dependencies

Bloom an ament_python package with Pip Dependencies I'm having trouble with blooming a rolling package, possibly because

2021-06-10 14:18:03 -0500 received badge  Good Question (source)
2021-06-02 11:55:05 -0500 marked best answer Editing Answers on answers.ros.org

[originally asked to Tully via email]

What strategies are used for editing answers on answers.ros.org? I've seen a number of edited answers (like this one) and I've never understood the reasoning behind it. Is it just to consolidate the best info in the best answer, even if the same information is just a little further down the page?