Questions tagged [ros-melodic]

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

This tag should be used to indicate that the question is related to ROS Melodic Morenia

2228 questions
1
vote
1 answer

the meaning of function lookupTransform

\param target_frame The frame to which data should be transformed \param source_frame The frame where the data originated \param time The time at which the value of the transform is desired. (0 will get the latest) \return The transform between…
Laura
0
votes
1 answer

Assigning mass property to collision objects in MoveIt

Hello everyone, I just want to confirm if there is a way to assign mass property to collision objects in MoveIt? Thank you Originally posted by k2108 on ROS Answers with karma: 5 on 2021-08-29 Post score: 0
k2108
0
votes
1 answer

catkin_make not working after VS Code ROS extension debug setup

Hi, I installed today the VS Code ROS extension, in order to try to debug my code for a ROS node for RGB-D Odometry using OpenCV, which is generating segmentation error (core dumped) when running. I made several changes followed by catkin_make…
msantos
0
votes
1 answer

How to launch node from install directory

What I wanted I want to reduce my docker image size through removing a cloned source code from my workspace in 'src' directory according to this suggestion. For that matter, I have just deployed my source code using the following commands: #…
Zekarias Taye Hirpo
0
votes
1 answer

Callback function never stop subscribing

Hello, dear community. I am facing a problem and I hope you guys can help me to figure it out. First, I have one node that is the publisher, it has a conditional if an object is detected it will publish "object_found" string data under the topic…
subarashi
0
votes
1 answer

Autoware 1.14.0 build error: ‘Index’ in namespace ‘Eigen’ does not name a type

I follow autoware wiki to build autoware 1.14.0 step by step, when I begin to build (without CUDA), error occurs: error: ‘Index’ in namespace ‘Eigen’ does not name a type return state_(static_cast(IDX::X)); my environment: ubuntu…
LongruiDong
0
votes
1 answer

Errors not showing in flask server

Consider the following minimal flask server import rospy from flask import Flask, request, Response, make_response if __name__ == '__main__': # Shutdown is handled by Flask rospy.init_node("test", disable_signals=True) app =…
Rufus
  • 466
  • 1
  • 5
  • 9
0
votes
1 answer

costmaps being updated with data from two sensors of different heights

Hi I have a robot with an RPLidar sensor on top and would like to add an ultrasonic sensor to identify and avoid obstacles that are below the LIDAR line. It is possible? My robot: Let's say the ultrasonic sensor publishes distance values less than…
mateusguilherme
0
votes
1 answer

SyntaxError: invalid syntax for roscore

I tried to install relaunch roscore on Ubuntu 18.04 but got the following error. Any advice is greatly appreciated. Traceback (most recent call last): File "/opt/ros/melodic/bin/roscore", line 72, in import roslaunch File…
SlowAnnealing
0
votes
1 answer

how to inflate STVL's obstacles

Now I'm using Spatio Temporal Voxel Layer in my ROS Navigation.I find that the obstacles STVL detected do not have inflation. I notice that obstacle layer's obstacle have inflation. I don't know where is the difference between obstacle layer and…
ZohyCao
0
votes
1 answer

Docker-Compose won't launch ros node, but Docker run will

I'm having a strange issue running a ROS Melodic node inside a Docker container. Within the container I want to launch row_follower.launch inside the navvy_row package. If I run the container with a command argument, docker run --rm -it --net host…
XDGFX
0
votes
1 answer

error: nav_msgs/LoadMap.h for melodic ROS

I am running ROS in Ubuntu 18.04 Molodic for turtlebot2. I tried to follow the steps from https://www.programmersought.com/article/85157677089/ and I am up to the step 4: Go back to the workspace directory and compile which is simply just compile…
kwan574
0
votes
1 answer

Calculating angles bigger than 180 degrees using tflistener

Hi, I'm trying to make my differential drive robot rotate a specified angle, but I'm having trouble calculating the angle when the robot has rotated more than 180 degrees, because when the angle gets bigger than 180 degrees it loops back to -180…
leandro
0
votes
1 answer

ROS Driver on Fanuc R-J3iB?

Hello, I would like to test the ROS driver on the Fanuc M6iB robot with an older R-j3iB controller. Some relevant information about the controller: Core software version: Handling Tool 6.4 Socket Messaging (SKMG), includes MSG_CONNECT, MSG_DISCO…
karpenko
0
votes
1 answer

How to set the default Yaw angle for the robot in Gazebo launchfile?

In the launch file, there is a format for setting the XYZ coordinates, like this:
Guapiii
1
2 3
26 27