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
1 answer
22 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
25 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
  • 1
0 votes
1 answer
29 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
16 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
0 votes
0 answers
23 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
26 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
48 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
12 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
100 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 ...
doufu's user avatar
  • 1
0 votes
0 answers
26 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
67 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
19 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
47 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
62 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
30 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
37 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
73 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
128 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
29 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
31 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
118 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
34 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
0 answers
118 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
142 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
468 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
95 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
101 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
64 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
65 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: ...
Mubahsir's user avatar
0 votes
1 answer
72 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
108 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
60 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 ...
CCM's user avatar
  • 3
3 votes
1 answer
62 views

ros2 foxy python or interface not seeing full extent of the custom message

My problem is that I cannot see or access the full extent of the custom message in ROS 2 Foxy. My custom message is named "Logitechjoy.msg": ...
Frenki221's user avatar
0 votes
1 answer
37 views

robot not moving left or right

I am building a 4 wheel differential drive robot. The robot is not moving left or right in gazebo, although it is moving forward and backward. The robot is moving completely fine in rviz2(forward, ...
KalaDaku's user avatar
1 vote
0 answers
35 views

Handling conflicting ROS package versions: Need guidance

I'm encountering a dependency conflict with my ROS package, baggie. It requires rosbag2_cpp, ...
Sahas-Ananth's user avatar
0 votes
1 answer
42 views

How to deal with .zst compresion during installation of ROS 2 Foxy on Debian Bullseye from source?

I want to install ROS2 from source on Debian Bullseye, since installation of a .deb package does not seem to be possible for that Debian version. For that reason, I ...
XXX's user avatar
  • 1
0 votes
1 answer
31 views

nav2-smac-planner package not available on foxy

I'm trying to install the nav2-smac-planner package on Foxy but apt install can't find it. Is it not available? Here seem to indicate it's available on Foxy both source and debian. Thank you in ...
guidout's user avatar
  • 143
0 votes
1 answer
493 views

How to set the rate of a node that subscribes to a topic in ROS2 Foxy

I have made a node to run some calculations using data from another topic (odom in this case) and publish them to another topic. How do I set the rate of this node to be slower than the subscribed ...
guidout's user avatar
  • 143
0 votes
0 answers
147 views

Build ROS 2 messages with Python 3.7

I'm required to build some ROS 2 custom messages using Python 3.7. They're meant to be used with a library only available for 3.7, so the only way of importing these messages is if they're built for ...
Christian Barcelo's user avatar
0 votes
1 answer
1k views

Difference between various ros distro?

I have a doubt on why there are so many distributions of ros2 or ros and what are the major factors that changes between them?
Jishnu's user avatar
  • 81
0 votes
0 answers
238 views

Control of ports being bound on ROS nodes

I am using ROS Foxy and have quite a lot of nodes in my setup. We finally hit the point recently where a port bound by a node was a port some other device wanted to use. I've looked at the ...
Chuck Claunch's user avatar
0 votes
1 answer
37 views

/gazebo/get_model_state in ROS2 not present

Hello, I want to extract with a python script the position of a robot (that I know the model name of) from gazebo. In many forum posts and tutorials for ROS1, the ...
user avatar
0 votes
1 answer
38 views

gazebo unreasonably slow with simple world and robot (on GPU PC)

Hello goal I aim to simulate a (somewhat) complex world with a very simple robot model. problem The real time factor drops to values between 0.1 and 0.01. This makes the simulation unusable. ...
user avatar
0 votes
1 answer
4 views

How to control joints with Foxy and Edifice?

I am assuming there is something similar to the gazebo_ros_control plugin. Is such a plugin already available? Are there examples? If not, will a similar paradigm be used in Edifice? Originally ...
user avatar
0 votes
1 answer
23 views

Not receiving messages in ros2 while subscribing to topic from Gazebo 11 plugin demo world

Problem Starting a demo world in Gazebo 11 by using gazebo --verbose /opt/ros/foxy/share/gazebo_plugins/worlds/gazebo_ros_depth_camera_demo.world causes all topics ...
user avatar