instruction
stringlengths
40
29.6k
I use Ubuntu 20.04 and Ros2 Galactic when I run the code I'm able to get subscribe information and pub this information and also I can see publisher information on topic echo continuously but when I press CTRL + C shut down the code it only publish pose informations once in the rviz2 but it has to be continuously. Eve...
It is useful to my project to have data of the state of the arduino available in ROS. Depending on what is going on it might be for example the current PID parameters, the number of errors that were detected as the arm is moving and so on. As the particular variables might change from time to time I am toying with a di...
I am trying to get my ROS2 project into working order. Here are the details of my setup: Building in docker based on osrf/ros:humble-desktop-full my package is laid out like this ├── CMakeLists.txt ├── LICENSE ├── launch │   ├── __pycache__ │   │   └── brobot.launch.cpython-310.pyc │   └── brobot.launch.py ├── package....
Years ago, I read an article that described a unique homebrew 360 degree coverage robot bump sensor. It did not rely on switches; instead, the device was a rubber/foam tubing with an electrical piece wedged in between. When pressure was applied at any point, it would make contact. By measuring the current (?), ...
I am working on an assignment to create SLAM without using ROS. I have 2D lidar sensor data. If I move the robot quickly using only odomatry, the map is generated distorted. I would like to combine the above two images using the iterative closest point algorithm. But I don't understand that algorithm. Please provide ...
I am a ROS beginner trying to write an interface for a robot arm in c++ that uses moveit2 for inverse kinematics. What I want to do is have a node with a MoveGroupInterface handle that I can use to set pose goals for moveit whenever it receives a message from a subscribed topic. However, the moveit2 tutorials only expl...
I was implementing closed kinematic chains for my URDF by including an SDF description of the robot's links and joints within the gazebo tag. The URDF and robot model seem to load/work fine (one link keeps phasing through every other link while moving as a ball joint but that's another problem), but my terminal spams t...
I try to use x and y in timer_callback function but I get ‘x’ was not declared in this scope I don't know how can I do this #include <chrono> #include <functional> #include <memory> #include <string> #include "rclcpp/rclcpp.hpp" #include "geometry_msgs/msg/pose_stamped.hpp" using std::placeholders::_1; using namespac...
recently I updated my system with "sudo apt update" and "sudo apt upgrade" and rtabmap passed to 0.21.3 version but now I am having trouble launching rtabmap ( "rosrun rtabmap_slam rtabmap " ). I have Ubuntu 20.04 and the error everytime I try to launch this node I get "Rtabmap: Parameter "GridGlobal/FullUpdate" doesn'...
I built a skid-steering robot and I would like to implement a path-following application. I would like to use the Velodyne to create the map and then specify a path on it to be followed by the robot. I would like to know if there is some project or stack that I can use to start with. Years ago, I used a Sick LMS111 wit...
I am setting up some simulation for a project in which a mobile robot need to avoid some moving obstacles. I wrote the logic to control the mobile robot on ROS2 Humble and I am performing the simulation on Gazebo Sim (Gazebo Garden). I looking for a way to move the obstacles in Gazebo. I found out that I can apply a fo...
I will preface that I am fairly new to ROS. I have been trying to acheive SLAM with slam_toolbox using my IntelRealsense D455 depth camera in Ros2 Humble, but /map topic output is empty, which I beleive stems from the fact that either my camera or /tf topic is failing to publish an /odom topic, which slam_toolbox expec...
I can see many examples of using the Loan API in a pub/sub manner but can't see how to use it in the context of ROS 2 services (and maybe actions but that could possibly be incompatible)
I need help in making a Line Following Robot with problem statement requires to detect a 2x2 matrix. how do i do detect it without any computer vision?. The arena looks like this PROBLEM STATEMENT: ● You shall place your bot at ‘start’ in any direction, in order to perform line following. ● In the path, there will be ...
My arduino code is using rosserial's loginfo and friends for logging output. I want to control the level from the ROS command line and have it apply dynamically to what is happening on the arduino. What "node name" do I use? The documentation for rosconsole says that I can set the logging level with a command like: ros...
To describe the rotation between tow links, why does URDF use Euler Angle instead of quaternion or axis-angle to describe the rotation? Since there might be singularity issue or gimbal lock in the Euler Angle rotation.
I'd like to see a tutorial or baseline document covering optimization in Node. I learned that priority tasks or background tasks are performed depending on importance. Can you tell me where I can find information on this?
I know how to list ROS 2 services using the following command: ros2 service list I also know that we can display the QoS properties of a ROS 2 topic using the following command: ros2 topic info -v <topic_name> Is there a similar way I could display the QoS profile of a ROS 2 service? Moreover, I am using ROS 2 C++ li...
I want to reset the position of robot under certain circumstances. I am trying to do it with python node. I know we call '/reset_world" service to to this but i am unable to call it with python. What I have done so far: from gazebo_msgs.srv import ResetWorld class WorldResetter: def __init__(self): self.no...
"Reading data from subscription without executing callback" is considered to be one of the common use cases of ROS 2. However, I wonder why there is less description about this use case in any documents about ROS 2. Many users would like to read data directly from a subscription without executing a callback function. E...
Task description: I want to add custom meshes programmatically to my world and detect if it's interfering/overlapping with another mesh. I don't want to simulate the physical behaviour of a potencial collision, I just want to check the geometry of the scene and also get the closest distance between these two meshes. Th...
I wanted to learn more about ROS, path planning, following etc. I made my own path following algorithm, a simple PD controller that follow waypoints. On a path msg it didn't worked really well, but it worked, so: I wanted to know where can I get more information about it, how do the local_planner algorithms that we hav...
Issue Reproduction Hello, I am currently working on cross-compiling ROS 2 from x86 to ARM. In my project, I have overwritten some of the built-in ROS 2 packages and also created some custom basic packages. However, when I try to use my own packages in other packages, ROS 2 cannot handle this dependency. When I compile ...
I'm launching multiple nodes of unknown count using a configuration file that I provide to the backend launcher. So far, I appear to have no issues accomplishing this. However, calling ros2 node list and ros2 topic list afterwards makes it seem one of my nodes to "vanish". The node still runs on my screen, and manages ...
I am working on building a mobile robot in ROS2 on the Jetson nano i have 2 i2c mini encoders that i can get their ticks using a python code and library. How would i go about publishing and processing this data so it can be used along side an IMU for the robots odometry.
I am trying to convert PointCloud2 data to numpy array. I am converting it with package: sensor_msgs_py.pointcloud2 using the method: read_points I always get an error that Cloud is not a sensor_msgs.msg.PointCloud2 but I am sure that the data I am giving to function are PoinCloud2 type. I am getting data directly by ...
I have a Clearpath jackal robot and I am having troubles with driving it using keyboard control. Whenever I run the command: "ros2 run telep_twist_keyboard teleop_twist_keyboard" I don't get any errors and the velocity commands seem to be published, but the rover does not actually move. ROS1 was originally installed on...
I have been trying for the past week searching forums and documentation to solve this issue. I am trying to make a simple simulation using ros2 humble and webots 2023b. I had switched from Gazebo Fortress for the same issue, which tells me there's a bigger problem here. My main issue is my ros2_control controllers (joi...
I am trying to filter out white points from the ZED2i published pointcloud and I am encountering a lot of issues. header: stamp: sec: 1707101581 nanosec: 803938020 frame_id: zed_left_camera_frame height: 360 width: 640 fields: - name: x offset: 0 datatype: 7 count: 1 - name: y offset: 4 datatype...
I have a ROS 2 node that manages a simulation instance. I wish to manage timers for stepping physics and rendering camera views of the simulation environment, where callbacks for either functionality runs on a separate thread. Rendering leverages OpenGL contexts which need to be managed on a single thread. Therefore, m...
What are the plans for implementing rclcpp subscriber status callbacks (connect/disconnect) in ROS2? I found this ROS1 feature quite handy. Note that this question has been asked before but since that was nearly 6 years ago I was wondering whether this will ever happen? It's a pretty fundamental feature that would spar...
I am getting error No module named roslaunch when executing a ROS 2 launch file. I know this question is already asked here but it dose not seems to solve my problem as it is for ROS 1. I know that roslaunch is for ROS 1 so getting error "No module named roslaunch" for ROS 2 seems unnecessary. I executed this same pack...
Video player gives "could not demultiplex stream" import cv2 import math import numpy as np import pyrealsense2 as rs from ultralytics import YOLO # Configure depth and color streams pipeline = rs.pipeline() config = rs.config() config.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 30) pipeline.start(config)...
I am currently working on simulating a mobile manipulator in Gazebo using ROS 2, where I am facing this issue. The wheels of the mobile base are being submerged into the ground when I am using kp and kd parameters on the wheels(works fine in Rviz btw), as shown below: and this is how it looks when the kp & kd parame...
guys. I have a question about nav_msgs/Odometry. I have read the repo https://wiki.ros.org/navigation/Tutorials/RobotSetup/Odom about how to publish odometry over ROS. But in this code, did not tell how to publish covariance. So, my question, How to confirm covariance when use nav_msgs/Odometry, and if we get this data...
I'm currently working on a digital twin project using ROS Melodic, aiming to create a virtual replica of a physical UR5 robot equipped with ToF sensors. The objective is to sensors in Gazebo so that the sensors perceive the robot model just as they would in real life. The thing I am stuck on is how to move the robot mo...
I get the same error every time I follow the steps to install Ros. Even though I tried different codes and gpt's solutions, none of them worked. I even deleted Ubuntu and reinstalled it. I would be happy if you help. ~$ sudo apt update Same: 1 http://tr.archive.ubuntu.com/ubuntu jammy InRelease Download: 2 http://tr...
I have been following this youtuber "Articulated Robotics" for implementing my autonomous robot. Everything has gone good so far including slam The only error is nav2 randomly works (1 out of 10) times when I set a 2D Pose Goal. Most of the time , nav2 returns "send_goal failed" error to me. Configs are same as the git...
I've found some tutorials about how to simulate a maritime robot using gazebo (https://gazebosim.org/api/sim/8/tutorials.html) and if I'm not wrong these are related to gazebo classic. I wanted to know if I can use these plugins in gazebo harmonic/garden (that as far as can I recall is part of gazebo ignition) or if th...
Does the inflation layer calculate Inflation cost in global costmap differently within the inflation radius when initialized with a polygonal footprint versus a circular footprint? Exclude the local costmap and footprint size.
I'm facing a peculiar issue with Gazebo and ROS2 integration, where a truck model does not move as expected when inserted into the environment automatically via a launch file, contrary to its behavior when inserted manually. Environment ROS2 Iron Gazebo 11.10.2 Ubuntu 22.04 Problem Description: I have a custom world ...
sorry if this is dumb I'm new to cpp and ros, but am currently using this: https://github.com/ros-planning/navigation but I keep getting the error across basically every file I open: #include errors detected. Please update your includePath. (/home/widogast/catkin_ws/src/navigation/dwa_local_planner/src/dwa_planner.cpp)...
I'm follow the example 4 in ros2_control_demos, and in file, there have following lines: <sensor name="${prefix}tcp_fts_sensor"> <state_interface name="force.x"/> <state_interface name="torque.z"/> <param name="frame_id">tool_link</param> <param name="fx_range">100</param> <param name="tz_range">15<...
I know Fanuc robots use the XYZ rotation order, ABB uses ZYX and some robots use the ZYZ rotation order. What actually determines this order? is it the way the frames are setup on the DH table? Or is it just the order they chose to solve the IK, and any order could be used? Can anyone help me understand this? TY.
I use Ubuntu 20.04 and ROS Noetic. I have built rviz from source (with newer Ogre) and it is located in a separate workspace. Rviz works as expected but one needed plugin does not load any more after building rviz. How to tell rviz plugin (jsk_rviz_plugin/Plotter2D) that it should now look for the custom built rviz in ...
I was correctly launching two launch files (let's say A and B) by means of a third launch file (C). Then I decided to impose that the nodes of launch files B should be started after the nodes of launch file A. After the modification the launch file C now looks like this: from ament_index_python.packages import get_pack...
How can I modify what behavior the Turtlebot 4 exhibits when the Create buttons are pressed? I'm working through the tutorials which start with printing to console when a button is pressed. The printing behavior works, but the robot will also begin to drive when I press either of the two user buttons on the Create. How...
I have a little bit confusion regarding the orientation goal with respect to the IKTypes in IKFast. For example there is a solver for 4DOF arm: TranslationXAxisAngle4D, TranslationYAxisAngle4D, TranslationZAxisAngle4D - end effector origin reaches desired 3D translation, manipulator direction makes a specific angle wi...
I am trying to control a simulated UR5e bot using ROS. For trajectory planning and execution i am using Moveit. The issue is that when I give a Pose to Moveit, the bot reaches the position (XYZ) just fine but no matter what Quaternion value I set, the bot always aligns itself facing upward. Here is the code which I am ...
I'm controlling a mobile robot and I'd like to set up an action (call it back_and_forth) that commands the robot to move forward 1 meter, then move backwards one meter. The interface that I'm using (iRobot create3 ROS 2 API) uses actions to handle movement commands, so I need to call one action (move forward 1m), wait ...
The goal is simply to get my raspberry Pi 4 running Ubuntu 20.04 (64 bit) and ROS1/Noetic to use a raspberry Pi Camera. Now there are many pages devoted to this questions and I have tried them all. I have encountered the missing module meal. I have downloaded and rebuilt the raspicam_node directly from ubiquity Robotic...
I"m trying to setup a robot to do stereo mapping with rtabmap, and depthai's Oak-D-Pro cameras. Mainly testing with gazebo at the moment. When I rotate the robot in gazebo the TF tree rotates around the head of the robot, when moving forward/backward the robot moves up/down. The TF tree looks correct and the transforms...
I am pretty new to ROS, so please do not expect much from me. I am building a robotic system for my project, and as of right now I am setting up interfaces to use in the project. I added a message file (.msg) and it worked fine, but when I go to add an action file (.action), it starts giving me a KeyError. After lookin...
I'm working on a project with ROS 2 Iron and the Navigation2 stack, focusing on an Ackermann-steered robot. I've encountered issues while trying to integrate alternative local planners, such as TEB, Regulated Pure Pursuit, and MPPI, instead of the default DWB controller. With DWB, the system works as expected, and I ca...
I am currently learning mapping(slam_toolbox) and navigation(nav2) in ROS2 Galactic, using the gazebo turtlebot3 simulation. In specific, I am trying to implement lifelong mapping for my turtlebot3 simulation. I've added objects to the gazebo map and have removed them dynamically but the map takes too long to update, w...
am trying to build ros2 crystal ws on ubentu 18 but i got this: cmd ~/ros2_crystal$ vcs import src < ros2.repos error: usage: vcs import [-h] [–input FILE_OR_URL] [–force] [–shallow] [–recursive] [–retry N] [–skip-existing] [–debug] [-w N] [–repos] [path] vcs import: error: argument path: Path ‘src’ does not exist.
I am currently working on a project that involves using pymoveit2 in a ROS 2 environment, and I'm in need of assistance regarding documentation and installation steps. Project Overview: I am working on a project in which I want to calculate the inverse kinematics to obtain the joint position of the robot. Since I'm us...
/home/gp/.local/lib/python3.6/site-packages/setuptools/command/easy_install.py:159: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. EasyInstallDeprecationWarning, /home/gp/.local/lib/python3.6/site-packages/setuptools/command/install.py:37: Setupto...
we are having a problem with setting up Stäubli CS8 controller with RX60B-L arm, our company bought the arm and controller several years ago, and only now we have an actual use for it and we are trying to set it up. There was a few problems that I had dealt with, firstly a discharged battery, which was no problem to re...
I want to have both a release and pre-release version of my ros pack installed on a robot, so I can easily change between them. my idea was to install the pre-release to a separate workspace in /opt/ros/pre-release and just source that workspace then I need the pre-release versions else the release version is installed...
I use the Nav2 Collision Monitor as a kind of a (high level) security for my robot. But after a stop the only way I found out is to send velocity commands direct to the robot. So my question is there a recommended way to recover after a stop from Collision Monitor? I think it should be possible e.g. to move backwards a...
I am working on multi-session mapping with rtabmap. I am following this tutorial. but my source is disabled and even I can't find "File->Open database..." option in my gui. I am using ubuntu 16.04 and ros.
I learned to generate trajectories while working with ros2_controller. I want to take a closer look, find the goal in /execute_trajectory/_action/ I can only check the message type below. ros2 interface show moveit_msgs/action/ExecuteTrajectory I was able to understand the structure, but I don't know how it is used as...
It seems the library cv_bridge is not available with Ros2_Iron on Windows. So what I did I checked out the repository from open-vision and I run the following command: colcon build --packages-select cv_bridge --event-handlers console_direct+ --symlink-install This what I get: Starting >>> cv_bridge -- Selecting Window...
I'm trying to make a ROS GUI with QTCreator 6. For some reason I'm always getting some include problems either with QT-Libraries, own header files or ROS. I'm using the ros_qtc_plugin. Project architecture: catkin_ws -anayzer_gui --include ---analyzer_gui ----analyzer_gui.h ----analyzergui.ui --nodes ---analyzer_gui_no...
I have setup an LXD instance with ubuntu 23.10, and tried to compile ros humble from source as described in https://docs.ros.org/en/eloquent/Installation/Linux-Development-Setup.html and the step: rosdep install --from-paths src --ignore-src --rosdistro humble -y --skip-keys "console_bridge fastcdr fastrtps libopenspl...
From the Action design doc: https://github.com/ros2/design/blob/gh-pages/articles/actions.md Cancel Goal Service Direction: client calls server Request: goal ID and timestamp Response: response code and a list of goals that have transitioned to the CANCELING state The purpose of this service is to request...
I am using the navigation stack (nav2) without problems, but I would like to understand how I can make the robot stop from its path if it finds a dynamic obstacle in front of it (at a minimum distance of n metres)? Is there a demo or tutorial to take inspiration from? many thanks in advance
I have three 150kg servos installed in a robot arm. I have tested them successfully when connected to a servo driver hat on a raspberry pi zero 2w (image). However, they were under-powered because the servo driver hat regulates everything at 5v and these servos are rated from 6v-12v. To solve the under-power issue, I c...
Is there any example for adding subscriber to hardware interface ? Publisher works fine. My code is below, I dont know where its going wrong but unable to get values after publishing using CLI. .hpp file ''' namespace diffdrive_ctre { class HardwareCommandPub : public rclcpp::Node { public: HardwareCommandPub(); voi...
Right now I have a lot of joint_state_publisher_gui windows and I want to have them integrated into a custom panel in RViz2. I know RViz is really customizable but I was wondering if there is an easy way to do this/something already done like this I can reference? Thanks!
is there any way to get the color of each voxel in an Octomap as it is being built in real-time? The package I am looking at, https://github.com/floatlazer/semantic_slam, is a semantic SLAM package which assigns colors to different parts of the Octomap based on what the object is. I would like to extract and use those ...
I have a question about the timeout_ns parameter of the rclc_executor_spin_some function. As far as I know, the timeout_ns parameter of rclc_executor_spin_some is interpreted in two ways. Can you tell me which of the two methods is correct? First, the executor seems to run periodically when it times out. The second is ...
i have trouble running a world with Gazebo (Version 11.10.2)... When i run the world with the command:gazebo test.world i receive the error: Error Code 13 Msg: Directory doesn't exist[/home/henrik/gazebo_models/box.sdf] in my test.world file i tried to import the simple model box.sdf. The file is correctly added to t...
I am new to robotics and am struggling with the electronics a bit. I am using two 9 V batteries in series to provide 18 V. I need to power 2 x 12 W DC motors and an Arduino Uno. I need to divide the input power of 18 volts into 3 streams: 2 x (12 V, 1 A) streams for the motors + 1 x (6 V, 0.2 A) for the Arduino. I thou...
I'm currently working on a sensor fusion setup involving an IMU that provides absolute orientation with respect to True North and an Ouster Lidar generating PointCloud2 data. The IMU publishes to the topic /imu/data with frame_id base_link, while the Lidar data is available on topic /ouster/points with frame_id os_sens...
Recently I upgraded from Foxy to Humble. When launching my application the controller_manager reports: [Deprecated] Passing the robot description parameter directly to the control_manager node is deprecated. Use '~/robot_description' topic from 'robot_state_publisher' However, if I do in fact remove the robot descript...
I have noticed my node can be re-run as a second time. While using python before, this was not a problem, as when you launched the node the second time, it would return an error. What is the best practice to detect if node is already running, using RCLCPP? Best Regards, C.
I would like to get to know MicroROS. Therefore I worked with one of the recommended boards (Olimex STM32-E407) for the last weeks. And I have a few questions. I really want to know if MicroROS is good enough for my use case. That would be: I use a Robot that right now is not using MicroROS and I want to try it with Mi...
Since Zenoh will be a tier-1 RMW for ROS, I was thinking, "why not use Zenoh's rust API for microcontrollers ? " As embedded rust is a thing and is widely used. I am aware of Zenoh Pico (C implementation) but .... Rust. This is just for implementation, nothing for production or anything like that.
When the drone flies in the open space the wind acting on it creates aerodynamic drag force and the aerodynamic torque. So when I want to simulate the drone flight using the state space equation do we need to consider drag force when computing drone linear acceleration only or the wind effect also changes the torque so...
I have written my own global_planner_plugin for ROS which tries to map an initially unknown area. The "goal" variable sent to the makePlan method is therefore unused. As to not have too long computational time before my robot start moving, I only plan 10 steps into the future and use the travel time to compute the next...
I am trying to move the robotic arm by 1 cm from it's current value using following code , when I use planning frame as top I am getting an error while when I use it as world it plans and execute successfully. I am also attaching robot_macro.xacro I am pretty sure that there is no collision happening but feels like so...
I got this error while trying to install ros2 humble: Err:6 http://packages.ros.org/ros2/ubuntu mantic Release 404 Not Found [IP: 140.211.166.134 80] Reading package lists... Done E: The repository 'http://packages.ros.org/ros2/ubuntu mantic Release' does not have a Release file. N: Updating from su...
guy! When I try to open gazebo (in windows) for turtlebot3 it doesnt open absolutely nothing. But when I try to launch a simulation it gives me this error: Segmentation fault (core dumped) [gazebo-2] process has died [pid 187, exit code 139, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/codebind/catkin_ws/s...
I'm trying to understand how I can possibly get the global position of a model in a Gazebo simulation through ROS2. I've seen that Gazebo publishes data to the /world/<world_name>/pose/info topic via messages of type gz.msgs.Pose_V. Following this, I created a bridge to ROS2 via ros_gz_bridge: ros2 run ros_gz_bridge pa...
In my previous question (Trouble trying to implement Gazebo's plowing model), I tried to make the plowing approximation (https://github.com/gazebosim/gazebo-classic/pull/3164/files) tests work as the author intended. I'd now like to make that work on my urdf model of the LeoRover rover. I previously had the .urdf.xacro...
As per the title, I'm trying to update a map (nav_msgs::msg::OccupancyGrid) without use slam_toolbox, nav2, etc. For fun, I'm trying to do mapping with a basic RGB camera like the Raspberry PI camera, for which I just check the pixels for a certain color and not use SLAM or any form of depth camera. I cannot use a SLAM...
I have a ros2 project which is running in one system(with ros2 humble) perfectly but i am getting error on other system(with ros2 foxy). I need to run it on 2nd system as my first system dosen't has a graphics card and I am trying to train a Reinforcement learning model. The full source code with steps to execute are a...
I am designing a Kalman filter for heading estimation in 2D using magnetic compass, gyroscope and wheel encoder. The system state is $ X = [h, w] $ and the measurements are $Z = [h_{mag}, g_z,d_h]$, where $h_{mag}$ is the heading computed with the compass, $g_z$ is the angular velocity measured with the gyroscope on th...
I spent a very long time searching GitHub, Google, and many other sites, looking for a LiDAR recognition package for ROS2, but I could only find one nvidia pointpillar model. Because it requires a lot of dependency and high computing power, it is hard to use. IS there anyone who know any classic clustering-based models...
Can it be possible to exclude a package from build process, my modifying its CMakeLists.txt So the catkin build command will skip that directory? Best Regards, C.
I use Gazebo Garden (and ROS 2 humble) and wish to build a computed-torque controller, that directly outputs the torque to send to the motors. Desired behavior According to the JointController plugin reference, the plugin is designed to perform velocity control. The <use_force_commands> flag only tells that the plugins...
I was just wondering why there has not been an official port of the laser_scan_matcher to ROS2 with binaries. It seems like such a useful package to improve bad odometry. Is this functionality not needed anymore?
I'm developing for a system currently based on ROS Melodic, running on Ubuntu 18.04. I'm adding unit testing for a node in C++ and thus registering the test with the add_rostest_gtest catkin/CMake function. In setting up this test I found that running it manually via rostest <pkg> <test> worked successfully. However ru...
I am trying to use a projected Octomap as an occupancy grid to pass onto the ROS navigation stack, but when I create one using the octomap_server package, it creates an occupancy grid which is rotated 90 degrees from the top down view (i.e., It projects from the side when it should be projecting downwards). The Octomap...
I am in RL but new to robotics. I am trying to know what the best to train an RL policy in an end2end fashion for grasping or manipulations tasks using images. I can think about three ways. Can someone please help me to understand which one of them work in practice and what are the shortcomings of these techniques: St...
Is there a way to enforce that clients can only send/receive messages to each other if they have the same discovery server URI? I am trying to setup a classroom environment where on a single WLAN multiple Turtlebot 4s can be communicated with from student PCs without each student affecting another's robot. I set up the...
I need to set up a ROS2 python serial device driver that also subscribes to a ROS message. For serial drivers the only publish messages I set up the serial input in a select call like this. Here, the va500.serial_handler(line) is a method called after the select when serial data arrives. It deals with the serial data...
I am developing an underwater vehicle using ROS2 and I am building a simulator using Gazebo classic. I need UUV specific sensors including DVLs and depth sensors. I have been unable to find compiled share object files that I can include in my xacro file. However, there is a fantastic library written for use with ROS1 t...