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

mequi's profile - activity

2023-06-16 05:20:45 -0500 received badge  Teacher (source)
2023-06-16 05:20:45 -0500 received badge  Self-Learner (source)
2023-05-04 03:48:35 -0500 received badge  Good Question (source)
2023-05-04 03:48:28 -0500 marked best answer ROS2 rqt_tf_tree emits service not available, waiting again...

I am running ROS2 eloquent on Ubuntu 18.04 and just performed a sudo apt-get install ros-eloquent-rqt-tf-tree and tried running the command in the terminal. The first time I ran it I received the error qt_gui_main() found no plugin matching "rqt_tf_tree.tf_tree.RosTfTree". I then ran the same rqt_tf_tree command with --force-discover and after that, I began receiving service not available, waiting again... repeatedly each time I ran it. Both /tf and /tf_static are being published to by the ROS2 robot state publisher. Any help is greatly appreciated.

2022-11-02 06:31:57 -0500 received badge  Good Question (source)
2022-09-05 11:10:45 -0500 received badge  Nice Question (source)
2021-05-24 07:23:10 -0500 received badge  Famous Question (source)
2021-01-26 21:20:07 -0500 received badge  Notable Question (source)
2021-01-21 10:24:37 -0500 received badge  Famous Question (source)
2021-01-21 10:24:37 -0500 received badge  Notable Question (source)
2020-10-21 08:27:15 -0500 received badge  Famous Question (source)
2020-08-21 04:12:59 -0500 received badge  Famous Question (source)
2020-08-20 07:52:10 -0500 received badge  Famous Question (source)
2020-08-18 05:18:54 -0500 received badge  Popular Question (source)
2020-07-27 12:07:53 -0500 commented question Gazebo bumper sensor states msg shows no output

Hi jatinm. I am having these same issues. Did you ever get this figured out? Thanks.

2020-07-09 17:09:35 -0500 marked best answer How to get ROS2 parameter hosted by another Node

Hello,

I have been looking through the documentation and can not find any means to get or set parameters of other nodes than the one that has declared the parameters. Is this by design or is there a way to get the parameter with something like node.get_parameter(other_node_name, parameter_name)? I currently have parameters duplicated across configuration files because I can't figure out how to get the nodes to reach each others configurations. Any help is greatly appreciated!

I am using ROS2 dashing.

Thanks

2020-07-07 02:12:31 -0500 received badge  Famous Question (source)
2020-06-15 17:40:41 -0500 received badge  Popular Question (source)
2020-06-15 17:40:41 -0500 received badge  Notable Question (source)
2020-06-08 05:59:44 -0500 received badge  Popular Question (source)
2020-05-29 15:20:36 -0500 marked best answer Unable to use xml formatted launch files with ROS2 eloquent

I am trying to get a launch file in the xml format to launch using ros2 launch launch_files launch_file.xml however when I do so I receive the error [ERROR] [launch]: Caught exception in launch (see debug for traceback): The launch file may have a syntax error, or its format is unknown. I have modeled the launch file off of the ones found in the demo_examples_cpp package, using the exact same code as the talker.listener.launch.xml example. I have checked to make sure the file ended up in the share installation folder with my .launch.py files. The .launch.py files work fine. I have also tried passing in the entire path to the ros2 launch command without luck. Any guidance toward getting the XML launch files to work would be greatly appreciated.

2020-05-28 17:38:43 -0500 asked a question ROS2 Debug Log Filled up with Repeating Messages

ROS2 Debug Log Filled up with Repeating Messages I am working with a node that has a rate timer set at 5Hz and many subs

2020-05-28 15:12:49 -0500 edited answer ROS Twist Mux Figuring Out which Channel is Selected

@gvdhoorn Thanks. I decided to just go ahead and implement the feature myself. https://github.com/ros-teleop/twist_mux/p

2020-05-28 15:12:28 -0500 marked best answer ROS Twist Mux Figuring Out which Channel is Selected

Hello. I am working with the ROS twist mux package http://wiki.ros.org/twist_mux and am writing a program that needs to know which channel of the twist mux is selected. Is there an easy way to do this or does anyone know of a good work around if an easy way does not exist? Thanks.

2020-05-28 15:12:16 -0500 answered a question ROS Twist Mux Figuring Out which Channel is Selected

Thanks. I decided to just go ahead and implement the feature myself. https://github.com/ros-teleop/twist_mux/pull/20

2020-05-28 15:12:16 -0500 received badge  Rapid Responder (source)
2020-05-27 22:47:05 -0500 edited question Finding out the selected twist mux channel in another node

Finding out the selected twist mux Channel in another node Hello. I am working with the ROS twist mux package http://wik

2020-05-27 22:46:54 -0500 asked a question Finding out the selected twist mux channel in another node

Finding out the selected twist mux Channel in another node Hello. I am working with the ROS twist mux package http://wik

2020-05-27 22:45:42 -0500 asked a question ROS Twist Mux Figuring Out which Channel is Selected

ROS Twist Mux Figuring Out which Channel is Selected Hello. I am working with the ROS twist mux package http://wiki.ros.

2020-05-21 13:48:22 -0500 marked best answer Colcon Build Error with ROS2 Eloquent and Libtorch

Hello. I am trying to build my package with colcon and it has stoped building correctly over the past day and I am not sure why. I have attached the error that colcon emits below. Reading through it signals to me that there is an issue with the linker but I cant figure out how to solve it. I have also attached my CMakeLists for the package as well so you can check that out. The strange part is that this worked a couple of days ago and on multiple versions of my package. Now it does not work on any past or present version and on either ARM or X86 machines (all running ROS2 eloquent + Ubuntu 18.04). Any help is greatly appreciated.

CMakeLists:

cmake_minimum_required(VERSION 3.5)
project(br-detection)

# Default to C99
if(NOT CMAKE_C_STANDARD)
  set(CMAKE_C_STANDARD 99)
endif()

# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
  set(CMAKE_CXX_STANDARD 14)
endif()

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  add_compile_options(-Wall -Wextra -Wpedantic)
endif()

list(APPEND CMAKE_PREFIX_PATH "~/.local/lib/python3.6/site-packages/torch")

# find dependencies
find_package(ament_cmake REQUIRED)
find_package(ament_index_cpp REQUIRED)
find_package(rclpy REQUIRED)
find_package(rclcpp REQUIRED)
find_package(ament_cmake_python REQUIRED)
find_package(OpenCV 4.2 REQUIRED)
find_package(tf2 REQUIRED)
find_package(tf2_ros REQUIRED)
find_package(message_filters REQUIRED)
find_package(sensor_msgs REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(cv_bridge REQUIRED)
find_package(image_geometry REQUIRED)
find_package(OpenMP)
find_package(Torch REQUIRED)

 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}")

add_executable(br-human-tracking src/pose_tracker.cpp src/pose_tracker_helpers.cpp src/tracking.cpp)

target_link_libraries(br-human-tracking "${TORCH_LIBRARIES}")
target_link_libraries(br-human-tracking OpenMP::OpenMP_CXX)
set_property(TARGET br-human-tracking PROPERTY CXX_STANDARD 14)

target_include_directories(br-human-tracking PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/br-detection>
        $<INSTALL_INTERFACE:include/br-detection>)

target_include_directories(br-human-tracking PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/br-detection>
        $<INSTALL_INTERFACE:include/br-detection>)

ament_target_dependencies(
        br-human-tracking
        rclcpp
        message_filters
        sensor_msgs
        cv_bridge
        OpenCV
        image_geometry
        tf2
        tf2_ros
        ament_index_cpp
        Eigen3
        Torch
)

install(TARGETS br-human-tracking
        EXPORT export_${PROJECT_NAME}
        DESTINATION lib/${PROJECT_NAME})

install(
        DIRECTORY models
        DESTINATION share/${PROJECT_NAME}/
)

install(DIRECTORY launch
        DESTINATION share/${PROJECT_NAME}/
)

if(BUILD_TESTING)
  find_package(ament_lint_auto REQUIRED)
  # the following line skips the linter which checks for copyrights
  # uncomment the line when a copyright and license is not present in all source files
  #set(ament_cmake_copyright_FOUND TRUE)
  # the following line skips cpplint (only works in a git repo)
  # uncomment the line when this package is not in a git repo
  #set(ament_cmake_cpplint_FOUND TRUE)
  ament_lint_auto_find_test_dependencies()
endif()

ament_package()

Error:

CMakeFiles/br-human-tracking.dir/src/pose_tracker.cpp.o: In function `PeopleTracker::PeopleTracker()':
pose_tracker.cpp:(.text+0xa94): undefined reference to `rclcpp::Node::Node(std::string const&, rclcpp::NodeOptions const&)'
pose_tracker.cpp:(.text+0x1421): undefined reference to `rclcpp::Node::get_parameter(std::string const&) const'
pose_tracker.cpp:(.text+0x1562): undefined reference to `rclcpp::Node::get_parameter(std::string const&) const'
pose_tracker.cpp:(.text+0x1571): undefined reference to `rclcpp::Parameter::as_string() const'
pose_tracker.cpp:(.text+0x198a): undefined reference to `ament_index_cpp::get_package_share_directory(std::string const&)'
pose_tracker.cpp:(.text+0x1b87): undefined reference to `rclcpp::get_c_string(std::string const&)'
pose_tracker.cpp:(.text+0x1e8c): undefined reference to `ament_index_cpp::get_package_share_directory(std::string const&)'
pose_tracker.cpp:(.text+0x2089): undefined reference to `rclcpp::get_c_string(std::string const&)'
CMakeFiles/br-human-tracking.dir/src/pose_tracker.cpp.o: In function `PeopleTracker::stereo_cb(std::shared_ptr<sensor_msgs::msg::Image_<std::allocator<void> > > const&, std::shared_ptr<sensor_msgs ...
(more)
2020-05-21 13:48:18 -0500 answered a question Colcon Build Error with ROS2 Eloquent and Libtorch

Ok, so I figured it out. Apparently the libtorch binaries installed by pip are compiled pre GCC 5.0 and so have ABI = 0

2020-05-17 15:23:21 -0500 edited question Colcon Build Error with ROS2 Eloquent and Libtorch

Colcon Build Error with ROS2 Eloquent Hello. I am trying to build my package with colcon and it has stoped building corr

2020-05-17 14:36:42 -0500 edited question Colcon Build Error with ROS2 Eloquent and Libtorch

Colcon Build Error with ROS2 Eloquent Hello. I am trying to build my package with colcon and it has stoped building corr

2020-05-17 14:09:13 -0500 asked a question Colcon Build Error with ROS2 Eloquent and Libtorch

Colcon Build Error with ROS2 Eloquent Hello. I am trying to build my package with colcon and it has stoped building corr