Ask Your Question

rgov's profile - activity

2021-12-15 03:53:28 -0600 received badge  Famous Question (source)
2021-12-15 03:53:28 -0600 received badge  Notable Question (source)
2021-12-15 03:53:28 -0600 received badge  Popular Question (source)
2021-11-14 09:35:08 -0600 marked best answer Defining message types directly in Python

I'm writing a Python script to synthesize a rosbag from data files generated outside of ROS.

It would be easiest to be able to define the ROS message types within my Python code, rather than have to write standalone .msg definition files and re-generate them over and over again as I iterate on the script.

What would this entail? I'm fine with importing from genmsg or genpy.

2021-11-14 09:35:01 -0600 answered a question Defining message types directly in Python

from genpy.dynamic import generate_dynamic msgs = generate_dynamic('pkg/Msg', 'string data\n') Here msgs is a dictiona

2021-11-14 09:35:01 -0600 received badge  Rapid Responder (source)
2021-11-14 09:22:50 -0600 edited question Defining message types directly in Python

Defining message types directly in Python I'm writing a Python script to synthesize a rosbag from data files generated o

2021-11-14 09:11:26 -0600 edited question Defining message types directly in Python

Defining message types directly in Python I'm writing a Python script to synthesize a rosbag from data files generated o

2021-11-14 09:06:51 -0600 asked a question Defining message types directly in Python

Defining message types directly in Python I'm writing a Python script to synthesize a rosbag from data files generated o

2021-10-19 20:05:00 -0600 received badge  Popular Question (source)
2021-08-11 21:17:42 -0600 received badge  Famous Question (source)
2021-06-12 17:29:09 -0600 received badge  Famous Question (source)
2021-05-28 18:48:36 -0600 commented question Catkin generates working setup.bash, but broken setup.sh

Possibly related to this 5 year old (!) bug: https://github.com/catkin/catkin_tools/issues/376

2021-05-28 18:35:45 -0600 edited question Catkin generates working setup.bash, but broken setup.sh

Catkin generates working setup.bash, but broken setup.sh The following command creates a new Bash shell with an empty en

2021-05-28 18:35:45 -0600 received badge  Associate Editor (source)
2021-05-28 18:35:29 -0600 edited question Catkin generates working setup.bash, but broken setup.sh

Workspace setup.bash works, setup.sh does not The following command creates a new Bash shell with an empty environment,

2021-05-28 18:35:22 -0600 edited question Catkin generates working setup.bash, but broken setup.sh

Workspace setup.bash works, setup.sh does not The following command creates a new Bash shell with an empty environment,

2021-05-28 18:30:24 -0600 edited question Catkin generates working setup.bash, but broken setup.sh

Workspace setup.bash works, setup.sh does not The following command creates a new Bash shell with an empty environment,

2021-05-28 18:29:28 -0600 asked a question Catkin generates working setup.bash, but broken setup.sh

Workspace setup.bash works, setup.sh does not The following command creates a new Bash shell with an empty environment,

2021-03-22 03:54:18 -0600 received badge  Famous Question (source)
2021-03-15 13:33:29 -0600 received badge  Notable Question (source)
2021-01-22 00:35:29 -0600 marked best answer Role of Ament in ROS 2 package creation

In the Creating Your First ROS2 Package tutorial, the command to create a new Python package is:

ros2 pkg create --build-type ament_python my_package

I'm confused by the appearance of ament in the above command. Since I am using Dashing, I would not expect to use ament_tools or probably anything with ament in its name, since ROS 2 is now using colcon.

Is this a vestige of earlier releases, or do I have a misconception?

2021-01-21 23:34:18 -0600 answered a question Role of Ament in ROS 2 package creation

Seems that ament_tools is gone and replaced with colcon but ament is still alive.

2021-01-21 23:34:18 -0600 received badge  Rapid Responder (source)
2021-01-21 21:49:30 -0600 asked a question Role of Ament in ROS 2 package creation

Role of Ament in ROS 2 package creation In the Creating Your First ROS2 Package tutorial, the command to create a new P

2021-01-05 14:37:52 -0600 received badge  Famous Question (source)
2020-11-12 16:29:48 -0600 received badge  Notable Question (source)
2020-11-10 23:47:16 -0600 answered a question Convience methods to convert rospy.Time to datetime.datetime

rospy.Time to datetime.datetime: datetime.utcfromtimestamp(T.to_sec()) datetime.datetime to rospy.Time: rospy.Time.f

2020-11-10 11:04:03 -0600 marked best answer Installing third-party ROS package dependencies

According to this helpful answer from 2011, rosdep installs "system" package dependencies, but not third-party ROS packages that my project may rely on. Is this still the case?

If so, is there a different tool to automate installing third-party ROS dependencies from information in my package.xml file based on which ROS release the end-user is using? Or a recommended process?

If I use wstool to check out the third-party sources, then I have to deal with transitive dependencies recursively, which doesn't seem like a solution.

My current solution is to keep an apt-requirements.txt file:

# System dependencies should be declared in the package.xml file, but
# dependencies on third-party ROS packages must be listed here.
#
# Install with:
#     sed 's/#.*//' apt-requirements.txt | envsubst | xargs sudo apt-get install -y

ros-${ROS_DISTRO}-rosbridge-server
2020-11-10 11:03:59 -0600 commented answer Installing third-party ROS package dependencies

Thanks for the detailed answer. The term "third-party package" was intended to convey that it is not (a) my own package

2020-11-10 07:07:52 -0600 received badge  Popular Question (source)
2020-11-10 02:38:27 -0600 received badge  Notable Question (source)
2020-11-10 02:38:24 -0600 received badge  Popular Question (source)
2020-11-09 21:28:53 -0600 commented answer Installing third-party ROS package dependencies

I mean binary packages in the ROS package repository and listed on https://index.ros.org. The tutorial for rosdep emphas

2020-11-09 21:23:31 -0600 edited question Installing third-party ROS package dependencies

Installing third-party ROS packages dependencies According to this helpful answer from 2011, rosdep installs "system" pa

2020-11-09 21:23:21 -0600 commented answer Installing third-party ROS package dependencies

No, I mean binary packages in the ROS package repository and listed on https://index.ros.org. The tutorial for rosdep em

2020-11-09 13:49:12 -0600 edited question Installing third-party ROS package dependencies

Installing third-party ROS packages dependencies According to this helpful answer from 2011, rosdep installs "system" pa

2020-11-09 13:41:14 -0600 edited question Installing third-party ROS package dependencies

Installing third-party ROS packages dependencies According to this helpful answer from 2011, rosdep installs "system" pa

2020-11-09 13:40:58 -0600 edited question Installing third-party ROS package dependencies

Installing third-party ROS packages dependencies According to this helpful answer from 2011, rosdep installs "system" pa

2020-11-09 13:40:56 -0600 edited question Installing third-party ROS package dependencies

Installing dependencies on ROS packages According to this helpful answer from 2011, rosdep installs "system" package dep

2020-11-09 13:40:43 -0600 asked a question Installing third-party ROS package dependencies

Installing dependencies on ROS packages According to this helpful answer from 2011, rosdep installs "system" package dep

2020-11-09 13:20:22 -0600 received badge  Supporter (source)
2020-11-09 10:29:56 -0600 answered a question Invalid <param> tag: Cannot load command parameter [rosversion]: command [rosversion roslaunch] returned with code[1]

roslaunch tries to start the roscore nodes by loading the roscore launch file from your ROS distribution, for instance /

2020-08-05 11:39:25 -0600 received badge  Famous Question (source)
2020-07-28 14:12:00 -0600 edited question Installing a build-time generated Python module

Installing a build-time generated Python module Related to my previous question about dynamically generated .msg files,

2020-07-28 14:06:57 -0600 edited question Installing a build-time generated Python module

Installing a build-time generated Python module Related to my previous question about dynamically generated .msg files,

2020-07-28 14:05:41 -0600 edited question Installing a build-time generated Python module

Installing a build-time generated Python module Related to my previous question about dynamically generated .msg files,

2020-07-28 14:03:44 -0600 edited question Installing a build-time generated Python module

Installing a build-time generated Python module Related to my previous question about dynamically generated .msg files,

2020-07-28 14:03:03 -0600 asked a question Installing a build-time generated Python module

Installing a build-time generated Python module Related to my previous question about dynamically generated .msg files,