Skip to main content

Questions tagged [namespaces]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
54 views

Issue with Minipupper ROS1 - Spawning Multiple Instances in Gazebo

I am currently working with Minipupper in ROS1 and I'm facing an issue while trying to spawn two instances of it in Gazebo. To achieve this, I am using a parameter in the gazebo.launch file called &...
ADAM ZAHIR RODRIGUEZ's user avatar
0 votes
2 answers
504 views

Multi robot /tf with namespaces for tf or with frame_prefix? What is the right way to do it? ROS2

Hello, I want to simulate 2 turtlebots with their own slam and navigation together in the same Gazebo ROS2 Foxy simulation. For that, I want to separate them, so that they do not interfere with each ...
user avatar
0 votes
1 answer
4 views

Correct "ROS" way to deal with different namespaces for nodes/topics

The ros2-controlles package has a DiffDriveController node that listens to the Twist messages on "~/cmd_vel" I followed the bring up demo repo and created my own launch file, after removing ...
user avatar
0 votes
1 answer
8 views

Physical Multirobot AMCL Not Able To Transform To /map

I'm trying to get multiple physical Turtlebot3's functioning with AMCL with namespaces. My setup works perfectly fine with the Gazebo simulations, but moving it to the real thing causes issues. After ...
user avatar
0 votes
2 answers
5 views

Using ROS namespaces programmaticaly

It seems like the simple question, but is it possible to control robots with different ROS namespaces in one launch file programmaticaly? For example, i want to move robot1 one meter forward, and ...
user avatar
0 votes
2 answers
27 views

Is there common way to run multiple robots in ROS2?

The hard part is /tf since robot_state_publisher push all frame_ids into single topic. EDIT:...
user avatar
0 votes
1 answer
14 views

About Topics and Namespaces

Hi all, I'm new in ROS (I'm using Indigo and Ubuntu 16.04), so in order to start to manage ROS environments I have launched the dataset prepared for an algorithm that I have studied (concretely, SVO). ...
user avatar
0 votes
1 answer
57 views

ROS : Subscribe to topic in different namespace

I just started to use ROS tonight. What I'm trying to achieve is this: This is what I have already done : publish and subscribe to topic_b. publish to ns1/topic_a (I checked with ...
user avatar
0 votes
1 answer
17 views

How to fix ros::NodeHandle error?

This is my code snippet of curser.h ...
user avatar
0 votes
1 answer
4 views

Message definition namespaces

In message definition naming is the syntax always: package/messagedef.msg Suppose one wants to have sets of messages for different vehicles (perhaps the hardware is sufficiently different that this ...
user avatar
0 votes
1 answer
12 views

High CPU usage for AMCL and move_base under namespace

I am trying to run the ROS navigation stack on a turtlebot, with everything under a namespace (in this case, the namespace is robot_0). The netbook that everything ...
user avatar
0 votes
1 answer
5 views

Reusing nodes by renaming them

I'm currently working on a small project that involves the mux from the topic_tools package. The question isn't directly related ...
user avatar
0 votes
1 answer
6 views

Remapping all topics of a machine to a namespace

Hi guys, I have to machines, one of them configured as the ROS_MASTER. Both of them are essentially running the same code, but I want both machines to publish messages to different topics, hence I ...
user avatar
0 votes
1 answer
23 views

Launching multiple turtlebots under namespaces (real environment)

I am trying to launch multiple turtlebots (each under a namespace) with navigation stack. I am building upon the similar task for stage simulator (link). As a first step, I try to launch a single ...
user avatar
0 votes
1 answer
16 views

robot_localization/ekf_localization when working with namespaces

Hello, I am working on Clearpath's Jackal now and trying to spawn it on a Gazebo world with another robot. For that (as far as I understand) I need to use namespaces (one for each robot). I have taken ...
user avatar
0 votes
1 answer
1 view

When ever I try to put my turtlebot2(simulated in gazebo) into a namespace the fake laser stops publishing messages on /scan

I am trying to put multiple turtlebots in my simulation and need to declare group namespaces for this purpose. When defined within the namespace the robot_state_publisher published all the transforms ...
user avatar
0 votes
2 answers
2 views

Two nodes with common base class declaring a namespaced service path

I want to be able to use a base class for declaring a service that separate nodes can utilize. I thought I might be able to remap this in a launch file, but I must be doing something wrong. To ...
user avatar
0 votes
1 answer
1 view

Problem launching costmap_node within <group> tag

This is my issue: When I launch costmap_node outside group tag all goes fine: ...
user avatar