Ask Your Question

tompe17's profile - activity

2019-03-07 07:08:09 -0600 received badge  Necromancer (source)
2019-02-21 18:48:39 -0600 received badge  Famous Question (source)
2019-02-04 11:15:27 -0600 received badge  Notable Question (source)
2019-01-10 07:04:18 -0600 received badge  Famous Question (source)
2018-12-12 04:27:20 -0600 received badge  Notable Question (source)
2018-11-20 16:53:54 -0600 received badge  Popular Question (source)
2018-11-16 10:23:18 -0600 received badge  Popular Question (source)
2018-11-15 06:21:17 -0600 asked a question ROS2 How to limit throughput?

ROS2 How to limit throughput? I have problem with 4 computers on WiFi running ROS2 nodes and the WiFI performance is kil

2018-11-14 09:21:21 -0600 edited answer Are there examples of DEFAULT_FASTRTPS_PROFILES.xml?

I am also looking for examples and documentation... In a discussion on discource I got the syntax for what you like to d

2018-11-14 09:20:03 -0600 answered a question Are there examples of DEFAULT_FASTRTPS_PROFILES.xml?

I am also looking for examples and documentation... In a discussion on disource I got the syntax for what you like to do

2018-10-03 12:58:10 -0600 received badge  Notable Question (source)
2018-10-03 09:44:03 -0600 asked a question How to confirm that a DEFAULT_FASTRTPS_PROFILES.xml are loaded and used?

How to confirm that a DEFAULT_FASTRTPS_PROFILES.xml are loaded and used? I start my ros2 (bouncy) node with a DEFAULT_FA

2018-10-03 09:42:08 -0600 asked a question ROS2: How to confirm that a DEFAULT_FASTRTPS_PROFILES.xml have been loaded and are used?

ROS2: How to confirm that a DEFAULT_FASTRTPS_PROFILES.xml have been loaded and are used? I start my ros2 (bouncy) node w

2018-06-16 04:36:51 -0600 received badge  Taxonomist
2018-05-23 15:40:12 -0600 received badge  Famous Question (source)
2018-04-22 12:59:00 -0600 received badge  Notable Question (source)
2017-07-26 15:27:17 -0600 received badge  Popular Question (source)
2017-07-26 10:43:57 -0600 marked best answer How to avoid installing files like setup.bash more than once?

I use "catkin build" and "catkin config --install". Then each package will install for example setup.bash. How can I avoid that. I would like to only install these files in one package.

The reason I would like to do that is that I use CPACK to build a debian package for each ros package. And I get duplicate files in the debian packages.

2017-07-26 10:43:57 -0600 received badge  Scholar (source)
2017-07-26 08:24:06 -0600 asked a question How to avoid installing files like setup.bash more than once?

How to avoid installing files like setup.bash more than once? I use "catkin build" and "catkin config --install". Then e

2017-07-24 09:46:04 -0600 received badge  Notable Question (source)
2017-03-27 05:46:11 -0600 received badge  Famous Question (source)
2017-03-22 05:05:53 -0600 commented answer rviz ignoring transforms
2017-03-22 04:59:24 -0600 commented answer rviz ignoring transforms

Here is the Python calculation with the order messed up somewhat:

HPR: -90.0 -87.0 -90.0
[-0.70686447  0.0185099  -0.70686447  0.0185099 ]
2017-03-22 04:56:50 -0600 commented answer rviz ignoring transforms

I am not sure how I got the values I have above in the launch file line that starts the static transform publisher. One theory is that I computed it from the angles -90, -87, -90 and then just used 5 of the decimals that was printed. In Python more decimals are printed. Maybe C++ gives 5 decimals.

2017-03-22 04:31:31 -0600 received badge  Notable Question (source)
2017-03-21 18:50:35 -0600 received badge  Popular Question (source)
2017-03-21 18:13:30 -0600 commented answer rviz ignoring transforms

OK, saw you said floating point precision but I think my argument is still valid.

2017-03-21 18:12:24 -0600 commented answer rviz ignoring transforms

I think it is unreasonable to expect the double precision to be kept since this small error will not influence the measurments at all from the laser. I cannot be the only person that have used a program to compute the quaternion for a simple rotation and put it into a static transform.

2017-03-21 18:10:04 -0600 commented answer rviz ignoring transforms

These numbers are computed by a program (Python or C++) and then printed. Then the numbers are taken from the printout to be arguments to the static transform program. So of course the whole double precision is not preserved because of truncation in the printing.

2017-03-21 05:24:12 -0600 asked a question rviz ignoring transforms

With the lates update of Kinetic the display of laser scan data in some old bag files stopped working. I get the message

[ERROR] [1490090873.307973855]: Ignoring transform for child_frame_id "uav0/vicon_laser" from authority "unknown_publisher" because of an invalid quaternion in the transform (-0,018510 0,706860 -0,018510 0,706860)

in the terminal where rviz is started. This transform might be generated from a ros2 static transform but it worked before the latest update.

Is the quaternion invalid or is the check here buggy? And it did display properly before so can I disable this new check?

The launch file line generaing the transform that do now work is:

<node  pkg="tf2_ros" type="static_transform_publisher" name="laser_frame_publisher" args="0.12 0 -0.1 -0.01851 0.70686 -0.01851 0.70686 /uav0/vicon /uav0/vicon_laser" />
2017-01-25 08:40:53 -0600 received badge  Popular Question (source)
2017-01-23 10:27:40 -0600 received badge  Self-Learner (source)
2017-01-23 10:27:40 -0600 received badge  Teacher (source)
2017-01-23 10:27:39 -0600 received badge  Student (source)
2017-01-23 09:47:53 -0600 marked best answer How to build ros1_bridge in ros2 with locally defined messages

The instructions for building ros1_bridge in ros2 says "The bridge will be built with support for any message/service packages that are on your path and have an associated mapping between ROS 1 and ROS 2".

How do I defines this mapping? I want to have support for ROS messages that I have defined myself. But just adding my workspace to the paths (including the basg file as the instructions say) only seem to build for the messages in ROS1 kinetic.

2017-01-23 08:37:25 -0600 answered a question How to build ros1_bridge in ros2 with locally defined messages

The answer is that I have to define the messages in ROS2 also. I thought they were automatically generated so that we do not need to have multiple message files. But that was not a correct assumption.

2017-01-23 03:59:18 -0600 commented question How to build ros1_bridge in ros2 with locally defined messages

No, I have not. So this is probably why it does not work. I thought that the ROS1 messages would automatically be copied to the ROS2. Now it seems I have to duplicate the definition. I will test with copying them to ROS2.