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

Timple86's profile - activity

2023-04-08 01:57:12 -0500 answered a question How do I use can_msgs and socketcan_bridge in ROS 2?

I've used this repository in the past to convert from socketcan to can_msgs: https://github.com/autowarefoundation/ros2_

2022-08-03 02:42:51 -0500 marked best answer fastdss discovery-server 50% operational in docker

I'm having issues with ROS2 discovery. I managed to dumb down the problem to the dockerfile below:

version: "3.3"
services:
  discovery-server:
    image: ros:humble
    environment:
      RMW_IMPLEMENTATION: rmw_fastrtps_cpp
    network_mode: host
    command: /bin/bash -c 'source /opt/ros/humble/setup.bash && fastdds discovery -i 0'
  talker:
    image: ros:humble
    environment:
      RMW_IMPLEMENTATION: rmw_fastrtps_cpp
      ROS_DISCOVERY_SERVER: 127.0.0.1:11811
    network_mode: host
    command: /bin/bash -c 'apt-get update -qq && apt-get install -qqy ros-humble-demo-nodes-cpp && source /opt/ros/humble/setup.bash && ros2 run demo_nodes_cpp talker'
  listener:
    image: ros:humble
    environment:
      RMW_IMPLEMENTATION: rmw_fastrtps_cpp
      ROS_DISCOVERY_SERVER: 127.0.0.1:11811
    network_mode: host
    command: /bin/bash -c 'apt-get update -qq && apt-get install -qqy ros-humble-demo-nodes-cpp && source /opt/ros/humble/setup.bash && ros2 run demo_nodes_cpp listener'

This file seems to be working on my (Mint 20.3) PC, but not on the robot (Ubuntu-server 20.04). I tested two other ubuntu setups: ubuntu 20.04 desktop works and ubuntu 22.04 server does not. Not sure if the versions are relevant, because well, docker?

What could be wrong with the setup above?

Note that the example above also breaks on a ros:galactic image with ros-galactic-rmw-fastrtps-cpp installed.

2022-08-03 02:42:28 -0500 commented answer fastdss discovery-server 50% operational in docker

Yes, this works. Thank you. Curious: does this mean that this solution is also more performant than not using network_m

2022-08-02 00:05:15 -0500 received badge  Famous Question (source)
2022-07-29 16:16:15 -0500 received badge  Notable Question (source)
2022-07-29 16:16:15 -0500 received badge  Popular Question (source)
2022-07-26 04:19:43 -0500 edited question fastdss discovery-server 50% operational in docker

fastdss discovery-server 50% operational in docker I'm having issues with ROS2 discovery. I managed to dumb down the pro

2022-07-26 04:17:48 -0500 asked a question fastdss discovery-server 50% operational in docker

fastdss discovery-server 50% operational in docker I'm having issues with ROS2 discovery. I managed to dumb down the pro

2022-05-22 23:14:38 -0500 received badge  Famous Question (source)
2022-05-05 07:13:19 -0500 received badge  Famous Question (source)
2022-03-14 11:05:27 -0500 received badge  Notable Question (source)
2022-02-14 12:54:58 -0500 answered a question Saving the Map explore_lite

explore_litedoesn't create the map as far as I know. Probably you have something like gmapping running as well? If so,

2022-02-14 12:53:02 -0500 edited answer What is a good API for SMACH?

You can implement the full smach state machine as an action client. And simply call that from another node/program? Thi

2022-02-14 12:53:02 -0500 received badge  Editor (source)
2022-02-14 12:52:35 -0500 answered a question What is a good API for SMACH?

You can implement the full smach state machine as an action client. And simply call that from another node/program?

2022-02-14 12:52:35 -0500 received badge  Rapid Responder (source)
2022-02-03 07:54:26 -0500 answered a question smart micro Radar ROS node

They have a ROS1 driver available themselves in the downloads section: https://www.smartmicro.com/downloads And a ROS2

2022-01-10 06:13:25 -0500 received badge  Notable Question (source)
2022-01-10 02:21:48 -0500 commented question Run rviz in a docker with hardware acceleration (no gui)

xpra works! If you can enter that as an answer, I can mark it as solution.

2022-01-07 08:29:12 -0500 received badge  Popular Question (source)
2022-01-07 01:15:57 -0500 commented question Run rviz in a docker with hardware acceleration (no gui)

Thanks for thinking along. We have an Intel graphics card. I already discovered the wiki you linked, but that one assume

2022-01-06 12:09:53 -0500 asked a question Run rviz in a docker with hardware acceleration (no gui)

Run rviz in a docker with hardware acceleration (no gui) We would like to run rviz in a docker without a screen or gui.

2021-11-08 01:11:41 -0500 commented answer [buildfarm] dpkg-shlibdeps: error: cannot find library

This indeeds solved the issue. If I ever dive into this mystery I will come back and update the answer. Please do

2021-11-08 01:11:31 -0500 commented answer [buildfarm] dpkg-shlibdeps: error: cannot find library

This indeeds solved the issue. If I ever dive into this mystery I will come back and update the answer. Please do

2021-11-08 01:10:55 -0500 marked best answer [buildfarm] dpkg-shlibdeps: error: cannot find library

I'm trying to release paho.mqtt.cpp as a dependency of one of our packages.

If fails on the error: dpkg-shlibdeps: error: cannot find library libpaho-mqtt3as.so.1 build output

However this minimal docker works just fine:

FROM ros:noetic

RUN apt-get update -qq
RUN apt-get install -qqy git fakeroot dpkg-dev debhelper
RUN apt-get install -qqy ros-noetic-paho-mqtt-c
RUN git clone -b debian/noetic/focal/paho-mqtt-cpp https://github.com/nobleo/paho.mqtt.cpp-release

WORKDIR paho.mqtt.cpp-release
RUN apt-get install -qqy apt-src
RUN apt-src import ros-noetic-paho-mqtt-cpp --here --version 1.2.0-2
RUN apt-src build ros-noetic-paho-mqtt-cpp
RUN apt install ../ros-noetic-paho-mqtt-cpp_1.2.0-2focal_amd64.deb

The file libpaho-mqtt3as.so.1 is also present in this dockerfile. And on my laptop upon installing ros-noetic-paho-mqtt-c.

Where did the file go on the buildfarm?

2021-11-06 05:09:00 -0500 received badge  Popular Question (source)
2021-11-03 04:31:16 -0500 answered a question Downsides to colcon's --symlink-install option in ROS2?

I think the default without symlinking is a more predictable workflow. You 'compile' everytime. Stuff works. With symli

2021-11-02 04:11:59 -0500 asked a question [buildfarm] dpkg-shlibdeps: error: cannot find library

[buildfarm] dpkg-shlibdeps: error: cannot find library I'm trying to release paho.mqtt.cpp as a dependency of one of our

2021-09-20 16:44:34 -0500 received badge  Notable Question (source)
2021-05-07 00:44:28 -0500 commented answer Using xacro package in ROS 2

For the record: xacro has been released for foxy by now.

2021-05-07 00:44:28 -0500 received badge  Commentator
2021-05-04 06:47:37 -0500 received badge  Popular Question (source)
2021-05-04 05:46:22 -0500 commented answer Dynamic version in package.xml

That's a neat trick for the other way around. But indeed I don't think that's acceptable in a non-ROS related project.

2021-05-04 01:29:39 -0500 answered a question Plan towards a global plan

Since we really needed our own local planner, I ended up with a custom solution. The steering_functions package provide

2021-05-04 01:25:17 -0500 received badge  Scholar (source)
2021-05-04 01:05:00 -0500 asked a question Dynamic version in package.xml

Dynamic version in package.xml I am trying to release third-party package. Building the package only requires a package.

2021-04-16 01:15:25 -0500 answered a question A path interpolation by arc-length coordinate

I think there could be some pointers in this library package: https://github.com/hbanzhaf/steering_functions

2021-03-25 10:22:18 -0500 answered a question actionlib_msgs required as build and exec dependencie, but not mentioned in tutorial.

It's required because the tutorial uses it in the CMakeLists.txt: find_package(catkin REQUIRED COMPONENTS actionlib_ms

2021-03-18 07:25:54 -0500 received badge  Famous Question (source)
2021-02-19 04:33:37 -0500 answered a question convert .msg file to .proto file

https://github.com/CogRob/catkin_grpc might be a good starting place? It seems to generate proto files.

2020-11-23 01:58:04 -0500 commented answer Plan towards a global plan

I actually was looking for a global planner for two reasons: An action interface to call. This would succeed when alig

2020-11-23 01:57:21 -0500 marked best answer Plan towards a global plan

We would like to plan towards an existing trajectory with minimal distance traveled.

Situation:

  • A pre-calculated global plan exists which we should stick to as close as possible
  • There is an open-field path possible from the robot towards the global path

Requirements:

  1. The turning radius of the robot should be taken into account
  2. Driving backwards is allowed

Not-required:

  • a. Obstacle avoidance
  • b. Dynamic obstacle avoidance

Assumptions:

  • I. Existing trajectory has a direction

Question:

Is such a global planner already available?

If not, can we mimic this behavior with an existing global planner?