Questions tagged [ros-foxy]

Foxy Fitzroy is a distribution of Robot Operating System (ROS). Use this tag when your question relates specifically to Foxy Fitzroy. Always use this tag alongside the [ros2] tag.

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

ROS2 rclpy subscription problem

I have a following problem: I am trying to subscribe two topic (image and pointcloud) and once the program detect falling edge from gpio pins it should publish the image and point cloud. However the ...
JereK's user avatar
  • 1
0 votes
2 answers
40 views

Custom Message header file does not generated during build and gives an error

EDIT: SOLUTION IS IN THE COMMENTS OF THE ANSWER I am migrating a project from ROS1 to ROS2, I haven't created the project myself. In the main package, which is named ...
Omar El Sherbeny's user avatar
1 vote
0 answers
9 views

How to lookup most recent tf2 transform regardless of age

I want a callback to respond to an update between any of the tf2 transforms between frame A and B on the /tf topic. It should use the most recent transform available between every frame. Some frames ...
Bart B's user avatar
  • 21
0 votes
0 answers
11 views

ROS2 command not found after Cmake upgrade - Ubuntu 20.04 focal & ros2 foxy

Before I was using ros2 foxy normally, but today I have to upgrade the cmake to a higher version, so I use sudo apt remove --purge --auto-remove cmake to remove the ...
Duy Nguyen's user avatar
0 votes
0 answers
13 views

Create `/gazebo` node with namespace

I'm using ROS2 foxy, gazebo 11. I got /gazebo ros node after running gazebo_ros launch file ...
khinggan's user avatar
0 votes
1 answer
41 views

How can I determine when the robot reaches the goal in Nav2?

I’m currently implementing my global planner using ROS2 and Nav2. I’ve written a planner plugin in Nav2 following the tutorial at https://navigation.ros.org/plugin_tutorials/docs/...
sippathamm's user avatar
1 vote
1 answer
28 views

Why does my rtabmap mapper not receive data?

I am trying to run this rtabmap config on my Jetson Orin: ...
moooeeeep's user avatar
  • 164
0 votes
0 answers
25 views

Using Gazebo headless mode in a GPU cluster

I have a question about image rendering in headless mode in a cluste. My task is I want to train a RL agent in the cluster. I use ROS2 and gazebo simulator. Since the algorithm needs to constantly ...
malwaru's user avatar
0 votes
2 answers
54 views

Error: Loader for controller 'asc' not found

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 ...
Pratham's user avatar
  • 35
0 votes
2 answers
84 views

ROS2 Foxy | Nav2 returns "send_goal failed" error

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 ...
Umesh's user avatar
  • 1
0 votes
2 answers
320 views

"No module named roslaunch" for ROS 2

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 ...
Pratham's user avatar
  • 35
0 votes
0 answers
14 views

issue rqt with ros2 qos custom proflie

when topic is subscribed in ros2 rqt it shows unknown when topic has default qos profile it works but when qos profile is changed it shows unknown again is there any way to set custom qos profile in ...
Ramprasad Kulkarni's user avatar
0 votes
1 answer
79 views

How to stop the robot with nav2 foxy?

I have an RC-Car that has object detection and distance estimation implemented. I want the car to stop if it detects a red light while navigating from point A to B. Once the light changes, it should ...
dmalad's user avatar
  • 3
0 votes
2 answers
180 views

ros2 foxy - set / publish simulation time and enable use_sim_time

Dear Robotics Community, I have a simple problem. I working with ros2 foxy and have a simulator (not important for the question). I want to set the ros clock from my simulator-loop such that I can use ...
klanky's user avatar
  • 13
0 votes
2 answers
110 views

Installing ROS2 without Internet Access

I’m looking to install ROS2 Foxy on a standalone computer. Is there a guide for offline installation on Ubuntu 20.04? Also, does anyone have any best practices/cheat sheets for developing offline?
Colton Layhue's user avatar
0 votes
1 answer
155 views

How to control a closed kinematic chain in Gazebo?

I am trying to control a closed kinematic chain in Gazebo 11 using ros2_control and gazebo_ros2_control. I know, that closed kinematic chains are not supported by URDF, therefore I've closed the loop ...
NotARobot's user avatar
0 votes
1 answer
258 views

ROS 2 humble + ROS noetic + bridge + support for custom messages

This question is relevant to the joint use of ROS 2 humble and ROS noetic, but with the explicit intent of using custom messages/services/actions for communication between them, under Ubuntu 22.04. ...
li9i's user avatar
  • 13
0 votes
0 answers
70 views

ros-foxy-serial no longer available?

I wrote a ros2 project a while ago to communicate with arduino using ros serial library which I think was ros-foxy-serial. It is simple rclcpp project to read data from arduino using ...
Kyuhyong You's user avatar
0 votes
0 answers
145 views

SLAM using ydlidar g4

I am using a ydlidar g4 on ros2 foxy (Ubuntu 20.04). I succeeded at getting the view of the LiDAR on rviz2 following this tutorial: https://github.com/YDLIDAR/ydlidar_ros2_driver. But I want to ...
AnaxGT's user avatar
  • 1
0 votes
1 answer
133 views

Could not echo /map topic using Nav2_map_server

I am using ROS2-foxy with ubuntu 20.04 LTS and wanted to load a map using the map_server from Nav2_map server. i found this old thread from ROS answers regarding this (https://answers.ros.org/question/...
nitish's user avatar
  • 86
0 votes
1 answer
114 views

using fastDDS on 2 computers with ROS Foxy and ROS Humble (Cannot receive topic on host computer)

I am trying to explore the usage of DDS in ROS2. My set up is 2 computers connected to the same network. Slave computer runs ROS2 Foxy and host Computer runs ROS2 Humble. I couldn't get them to ...
Joshua Siy's user avatar
0 votes
0 answers
19 views

Problems using foxy version of rviz,the rviz display is not satisfactory

The rviz display of ros2 is very stuck, and sometimes the path display is not continuous. I am using a laptop with NVIDIA 3060 graphics card.I'm sure my graphics card driver was installed successfully....
falong zhao's user avatar
1 vote
0 answers
57 views

teb_local_planner problems

I use ROS2 Foxy and I'd like to Colcon build but it's can't the problem make my com not responding. I try to check with this command rosdep install -i --from-path src --rosdistro foxy -y then it ...
Thanapoom Pumee's user avatar
0 votes
1 answer
178 views

What is the difference between RCL_STEADY_TIME, RCL_SYSTEM_TIME and RCL_ROS_TIME?

I wrote the following code to check the difference myself, but I could not find any considerable difference. ...
RobotBramhana's user avatar
0 votes
0 answers
84 views

ROS2 node crashes abruptly

I have a legacy code in ROS1 that has the following code ...
RobotBramhana's user avatar
0 votes
0 answers
29 views

Mapping fields of a message in ros1_bridge

I am trying to bridge ROS1 and ROS2. I have msgs pkgs in ROS1 and ROS2. All the workspaces are sourced. A message definition from my custom defined msgs package has a nested message declaration from ...
RobotBramhana's user avatar
0 votes
0 answers
189 views

ROS2 Humble has a higher CPU usage than Foxy

I migrated from ROS2 Foxy to ROS2 Humble, but I found that the CPU usage has increased significantly. As shown in the figure below, the CPU usage of the ...
张金阳's user avatar
0 votes
1 answer
79 views

How to properly fuse IMU + Barometer + ToF Ranger? (Robot_Localization)

I'm having difficulties getting a good absolute Z height. This is a flying vehicle with no GPS. Currently my ToF sensor pointed down reads 18cm (which is accurate to where my FC/ToF is mounted) but my ...
gregoryw3's user avatar
0 votes
0 answers
357 views

ROS 2 Communication Issue between Windows and WSL2 Ubuntu 22.04

I am currently facing an issue with ROS 2 communication between a Windows environment running ROS 2 Foxy and a WSL2 Ubuntu 22.04 environment running ROS 2 Iron. This setup used to work seamlessly a ...
Solène Dietsch's user avatar
0 votes
0 answers
40 views

OSError with rosbridge_server on ROS2 Foxy Windows 10

I have installed ROS 2 Foxy on Windows 10 using this guide. I am attempting to connect to Foxglove Studio over rosbridge. To do this I built the rosbridge_server ...
Samahith S A's user avatar
0 votes
2 answers
91 views

Associate two executors for a single node

I am running ROS2 Humble Hawksbill, I have a requirement where in I need to associate two executors StaticSingleThreadedExecutors for a lifecycle single node. I ...
RobotBramhana's user avatar
0 votes
1 answer
165 views

How to set the optional parameter , "use_local_topics", of joint_state_broadcaster of ros2_control (foxy)

I'm using ros2 control foxy now,and I'm trying to define namespace for my robot. The problem is that joint_state_broadcaster doesn't publish the /joint_states to the local topic /ns/joint_states. ...
THA's user avatar
  • 3
0 votes
0 answers
92 views

Trying to use namespace in launch file for launching rviz2 but the model is not spawn

I'm trying to use namespace to spawn robot in rviz2 nodes in multiple times, however the spawned rviz2 show only TF but no 3d model of the robot. The error is here. ...
THA's user avatar
  • 3
0 votes
1 answer
93 views

How can I call a member method which is inside a ROS2 node class?

I have a node class shown below and I want to call its setCloud method from another class but it gives me the error: error: ‘using element_type = class rclcpp::Node’ {aka ‘class rclcpp::Node’} has no ...
SEC's user avatar
  • 3
0 votes
1 answer
262 views

Communication between ignition and ROS2 (via gazebo_ros_pkgs/ros_gz_bridge etc)

I have a dilemma here: I want to test my controller nodes (written in ROS2) on bluerov2 ignition model (https://github.com/clydemcqueen/bluerov2_ignition). I installed Ignition Citadel (tried Garden ...
Vladimir's user avatar
2 votes
2 answers
352 views

Transform PointCloud message

I am receiving a sensor_msgs::msg::PointCloud (base_link frame) in my callback. I want to transform this PointCloud to the camera frame, so that I can do a ...
renan's user avatar
  • 53
0 votes
1 answer
61 views

ROS2 Node (Robomaster driver) getting disconnected after launching realsense node

I am trying to setup nav2 stack for robomaster ep-core Robot. I have two systems, Jetson Nano (running Ubuntu 20.04, ROS2 Foxy) on robot to collect scan data from realsense camera and cmd vel from ...
Harsha's user avatar
  • 1
0 votes
1 answer
57 views

Invalid frame ID even if the TF tree is produced correctly

I am having a hard time understanding the production of the TF tree. I have a robot which is visualized correctly both on Rviz and Gazebo. The transmissions and gazebo plugins work fine such that I ...
TheClem's user avatar
0 votes
1 answer
196 views

Simple Commander Waypoints Foxy

I have a question: What I want to achieve In rviz2 (foxy) is the waypoint mode in the nav2 panel but I want to interact programmatically with the waypoint mode. My Problem I using foxy as distro. ...
ChangeNAL's user avatar
0 votes
0 answers
50 views

Ubuntu 20.4/Foxy - Gazebo/Tiago : no /scan_raw topic

Following Rico's book - page 43 - (https://github.com/fmrico/book_ros2) [Ubuntu 20.04.6 LTS / Foxy] I try to run Tiago sim and drive it around a world map with the teleop launcher I run the simulation ...
phil's user avatar
  • 21
1 vote
1 answer
403 views

Ackermann plugin ROS2 Foxy. How to use it?

I'm trying to make a 4 wheel robot with an Ackermann steering. I've seen there is a plugin in ros2 for this but I don't know how to use it properly. I've created the four link for each wheel and the ...
dani santana's user avatar
0 votes
1 answer
424 views

Make sure to source your ROS 2 workspace after your ROS 1 workspace

I am using ROS-noetic and ROS2-foxy in the same machine. I created a package in ros2, and write this obstacle_maneuver.py file, ...
Vasanth's user avatar
0 votes
1 answer
1k views

ROS2 Foxy : DeprecationWarning: pkg_resources is deprecated as an API

I am trying to fly a tello drone in a gazebo simulation ROS Driver for the tello Drone. When I try running the following script, (after ofcourse building the package) - ...
Prabhav Gupta's user avatar
0 votes
1 answer
232 views

ros2 mppi controller

some days ago i posted a question: How to convert the rotate shim controller and the mppi controller from humble to foxy? (I depend on foxy and can't use humble) I successfully convert the rotate shim ...
ChangeNAL's user avatar
0 votes
0 answers
254 views

Missing model.config for model /path/to/your/workspace/meshes - ros2-foxy

i am learning/working in ros2-foxy, and i am trying to implement a basic 4 wheel bot. If i define the wheels in shape(cylinder), the gazebo displays the wheel, But if i define the wheel in mesh tag, ...
Vasanth's user avatar
0 votes
0 answers
105 views

[ROS2]can't load parameters from yaml file when migrating ros1 to ros2

I'm trying to migrate VINS-Mono(https://github.com/HKUST-Aerial-Robotics/VINS-Mono) to ROS2 version, and now there's a problem with reading parameters. I just modified the ROS1 code of reading ...
Muu's user avatar
  • 1
0 votes
1 answer
137 views

ImportError: cannot import name 'GazeboRosPaths' from 'scripts'

I am trying to run ros2 launch gazebo_ros gazebo.launch.py on ROS 2 Foxy. Unfortunately, I came across the following error: ...
Mubashir's user avatar
0 votes
1 answer
147 views

DeprecationWarning in ROS 2 Foxy

I am working on a project where a remote in a Jetson Nano on an RC-Car from my Laptop to run ROS2 Nodes. So far everything is working fine despite of this warning, but i'm wondering if it can lead to ...
Anass's user avatar
  • 5
0 votes
1 answer
292 views

AttributeError: module 'posixpath' has no attribute 'joint'

I am trying to develop a simple bot using ROS 2. I created a package called my_rover. when I give colcon build --packages-select my_rover it gives this error which ...
Vasanth's user avatar
0 votes
1 answer
110 views

Hardware interface for floating joint

In the URDF file for my robot I would like to use a floating joint (6DOF). I'm currently writing the hardware interface for ros2-control for this robot. Is there a way to export a state interface for ...
Chris's user avatar
  • 23