Skip to main content

Questions tagged [geometry-msgs]

The tag has no usage guidance.

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

robot_localization GeographicLib::GeographicErr

I am trying to run a ros2 bag recorded in gazebo through the robot_localization package. However, for the same trajectory, sometimes, I get an error saying - ...
Ishaan Mahajan's user avatar
1 vote
0 answers
27 views

Issue with /cmd_vel Twist msg and Arduino

I have a laptop with ubuntu 20 and ROS noetic connected to an Arduino using rosserial_arduino. The blink example from the ROS library works fine. But I fail to set up a subscriber on my Arduino that ...
Elias's user avatar
  • 11
0 votes
4 answers
426 views

Error: Could not configure catkin workspace: Cannot load environment from resultspace "/opt/ros/humble"

I am trying to build a project for that I am using Ubuntu 22.04 Linux version. For ROS-Humble: https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html For Catkin-tools: https://catkin-...
Nani's user avatar
  • 1
0 votes
1 answer
37 views

catkin can't find geometry_msgs even though it's on CMAKE_PREFIX_PATH

I have run sudo apt install -y ros-geometry-msgs, but when I try to build my project with it, I get this error: ...
user avatar
0 votes
2 answers
239 views

Transformation matrices to geometry_msgs/Pose

Hello everyone, I am trying to calculate the pose of an object in the format for geometry_msgs/pose, therefore position in (x,y,z) and orientation in quaternion (x, z, z, w). I already got the pose in ...
user avatar
0 votes
2 answers
43 views

In a Twist message, how should angular velocity be interpreted?

Is the angular velocity instead a vector whose magnitude is the speed of rotation (in rad/s), and whose direction is the axis of rotation? Or is it something different, like Euler angular velocity (...
user avatar
0 votes
1 answer
2 views

Pose message lost decimal

Good morning! I am dealing with gps data that I convert and published into a geometry_msgs::PoseWithCovarianceStamped. Thus I am supposed to publish "large" values (x~330 000, y~420 000), ...
user avatar
0 votes
1 answer
119 views

Conversion between Eigen::Matrix4d and geometry_msgs::TransformStamped?

What would be the correct conversion from Eigen::Matrix4d to geometry_msgs::TransformStamped or ...
user avatar
0 votes
1 answer
3 views

Service won't build with geometry messages

I cannot build a service that uses geometry_msgs/Polygon I've added in the same way as std_msgs which seems to be fine. Where am ...
user avatar
0 votes
1 answer
8 views

Publish and subscribe Using Joint_state_publisher for real robot

hello guys, I'd like to ask you some question about using joint_state_publisher for real robot. I'm using arm robot and I want to control it using joint_state_publisher. but I have a question : how ...
user avatar
0 votes
1 answer
38 views

Obtain covariance of pose estimation from ORB-SLAM2

Hi there, I am trying to fuse pose estimation data obtained from ORB-SLAM2 with IMU data using the robot_localization package. However, this package requires the pose estimation to be provided ...
user avatar
0 votes
1 answer
61 views

tf2 listener transform has child_frame_id as the source and frame_id as the target

When using tfBuffer/tfListener to get a transform, is there a good reason that the source ends up as the child frame id and the target as the frame id? See for example this documentation from Jade (...
user avatar
0 votes
1 answer
22 views

Accessing translation data from geometry_msgs::TransformStamped

I want to access the x, y, z values and quaternion values in a geometry_msgs/TransformStamped.msg , so my subsrciber looks like: ...
user avatar
0 votes
1 answer
2 views

Subscriber and publisher in a file

I am using ubuntu 16.04 kinetic I am trying to get pose information from Phantom omni device and send the pose information to my robotic arm in gazebo. For now, my subscribe node works well but I ...
user avatar
0 votes
1 answer
15 views

How do I debug ld error linking tf2 transform of geometry_msgs::Point32

Hello ROS Answers, I'm out of ideas for debugging an linking error on my machine. I need help solving the problem below or advice on how to debug further. Platform: Distro: Indigo OS: Ubuntu 14.04 ...
user avatar
0 votes
1 answer
75 views

Unable to publish PoseStamped message

I am trying to publish a PoseStamped message via a node running in Python. I am listening for this message on another tab in my terminal. Python node: ...
user avatar
0 votes
1 answer
31 views

undefined reference to tf::poseMsgToEigen

I'm on Ubuntu 14.04 with ROS Indigo. Inside a service callback, I want to convert a geometry_msgs::Pose to Eigen::Affine3d. I'm ...
user avatar
0 votes
1 answer
3 views

sensor fusion of 2 Points using message_filters

Hey there, I would like to write a nod that does some sensor fusion. The node should subscribe 2 Topics of type geometry_msgs::Point if the two messages have the approximate same time_stamp simple the ...
user avatar
0 votes
1 answer
11 views

How can geometry_msgs::Point use push_back()?

Hello, guys. I'm trying to study rviz with tutorials provided by ros wiki. I built a sample of document using catkin_make, saw the result. On the line of this sample codes, ...
user avatar
0 votes
1 answer
13 views

Assign geometry_msgs::position in one line

HI, I am struggling with a really easy problem. I declared : geometry_msgs::Pose pose_msg; I am trying to assign x y z coordinates in one line instead of doing: <...
user avatar
0 votes
1 answer
177 views

Publish message on geometry_msgs/TwistStamped from terminal

Hi there I'm back to using ROS after a few years break and would appreciate some help. I'm trying to publish a message from the terminal but are having trouble getting the arguments right. Could ...
user avatar
0 votes
1 answer
37 views

Can someone explain geometry_msgs as used for robot arm poses e.g.?

I'm trying to work with a robot arm, and struggling to find anything to explain in detail how anything works. I have gone through the ROS documentation tutorials, and the PR2 moveit tutorial for ...
user avatar
0 votes
1 answer
9 views

how definition geometry_msgs/Pose for link?

hi . i want to plot position x of /my_robot/pose topic, which is a type of geometry_msgs/Pose message. This can be plotted by /your_robot/pose/position/x. in this page say : step one -- >> ...
user avatar
0 votes
1 answer
30 views

how to install geometry_msgs on raspberry pi

can someone show me how to install geometry_msgs on raspberry Pi 2? Originally posted by Vinh K on ROS Answers with karma: 110 on 2017-03-01 Post score: 0 Original comments Comment by raspet on 2017-...
user avatar
0 votes
1 answer
3 views

Transform geometry_msgs/TransformedStamped() to sensor_msgs/PointCloud2 on rospy

Hi people, I have a geometry_msgs/TransformedStamped() vector which I am trying to translate to sensor_msgs/PointCloud2. I have looked aroun in the rospy api docs but nothing clear comes out strking. ...
user avatar
0 votes
1 answer
5 views

tf2 conversion (bullet to geometry_msgs)

I wish to convert from Gazebo math::Pose type to one of the geometry_msgs ROS messages. I can convert from ...
user avatar
0 votes
1 answer
2 views

Creating a Subscriber in python

Hi! I’m trying to create a subscriber using python for this package, following the tutorials that ros provide. The package already contains a subscriber in c++. It uses geometry_msgs/Twist.h I just ...
user avatar
0 votes
2 answers
104 views

Get vector representation of x, y, z axis from geometry_msgs Pose

Hi, I have a geometry_msgs/Pose message that contains a certain position and orientation. I want to get the equation of the x axis of that position and orientation. What ROS library function can I use ...
user avatar
0 votes
1 answer
2 views

cMake Error and failed to invoke

while i was doing rosmake i got errors. After running "rosmake roomba_500driver_meiji " i got errors below. ...
user avatar
0 votes
1 answer
14 views

What do x, y, and z denote in mavros topic /mavros/imu/data_raw

hi, I am using mavros to read the signals from the APM2.5. However I am not sure what x, y, z denote. For example, in angular_velocity, I think the signals should be pitch, roll, and yaw in rad. How ...
user avatar
0 votes
1 answer
7 views

Is there something like TransformWithCovarianceStamped?

I'm using a tf::StampedTransform message to add some odometric measurements to a factor graph, and I'd like to initialize the noise model for the measurement using ...
ruffsl's user avatar
  • 331
0 votes
1 answer
7 views

How to move Clearpath Husky A200 by a specific distance by publishing to a topic?

I looked at some tutorials online, and I came across - rostopic pub /husky/cmd_vel geometry_msgs/Twist That does the trick well, when you specify the parameters, ...
user avatar
0 votes
1 answer
80 views

cmd_vel/Twist Transform Twist Message into Left and Right motor commands

Hi There, I have a six wheeled wild thumper that I am using for my final year project for university. I need to transform the linear.x and angular.z velocities into left and right motor commands. Have ...
user avatar
0 votes
1 answer
3 views

Where is the c++ documentation for geometry_msgs in hydro?

I found the c++ docs for geometry_msgs in diamondback: http://docs.ros.org/diamondback/api/geometry_msgs/html/index.html. When I replace "diamondback" in the URL with "hydro", it's ...
user avatar
0 votes
1 answer
48 views

Problems with geometry_msgs::PoseStamped

Hi, I am try to write a tool that uses geometry_msgs::PoseStamped. Unfortunately I always get the error ...
user avatar
0 votes
1 answer
1 view

Error: invalid use of template-name ‘geometry_msgs::Pose_’ without an argument list

Hi, I'm trying to create a method: ...
user avatar
0 votes
1 answer
6 views

Navigation of turtlebot (Moving 1m forward, 1m left)

I want to move my turtlebot 2 a fixed set of distances such as 1m forward, 1m right and etc accurately using odometry. This is the C++ code i have currently. However, it does not seem to be using the ...
user avatar
0 votes
2 answers
17 views

Publishing to Initialpose Programmatically on Turtlebot Navigation

Hi, I am trying to set the initial pose of the turtlebot programmatically, and to do so I publish to initial pose using some code. I am following what is done here: http://answers.ros.org/question/...
user avatar
0 votes
1 answer
18 views

Inverse of geometry_msgs/pose

What's the best way to find the inverse of a geometry_msgs/Pose message? Or in general to perform any other matrix manipulations. Does ROS provide a library or functions to do so? And if not, which is ...
user avatar
0 votes
1 answer
11 views

Move a certain distance, turn, then move (Odometry topic)

Currently, I am able to have my robot move forward for a certain distance, turn right by a certain degree, then move forward again. However, it is extremely inaccurate as highlighted in ahendrix's ...
user avatar
0 votes
1 answer
57 views

How to get geometry_msgs/Pose from position(x,y,z) like geometry_msgs/Point

Hi, all. Now I got the position (x,y,z) and velocity (vx,vy,vz) of an agent. Now both the positon and velocity are represented as geometry_msg/Point. Now I want to convert thme to geometry_msgs/Pose ...
user avatar
0 votes
1 answer
4 views

Combining Header and Pose to make Posestamped

Hi there, I am trying to a node that publishes posestampted messages to a topic when a float is the value of 1.0 on a different topic. Could any of you kind people help me with where I am going wrong? ...
user avatar
0 votes
1 answer
4 views

ros publishing without loop?

If I am publishing a "geometry_msgs::Twist" with out a while(n.ok()) loop it is not affecting the topic. But I can not use a infinite loop. Everytime according the scan data I have to modify ...
user avatar
0 votes
1 answer
6 views

gtest testing function with subscriber reference

Im using gtest for writing test suites for my robot. Im trying to test a function that i use to convert my twist message being sent from the Nav Stack or joystick (cmd_vel topic) that is then ...
user avatar
0 votes
1 answer
13 views

Segmentation fault in publishing array message

Hi I'm trying to publish polygonal position as message. The publisher is make correct but "segmentation error" shows when I rosrun the publisher, saying "Segmentation fault (core dumped)...
user avatar
0 votes
1 answer
29 views

Problems with converting pose to tf

Hi ROS-community, i'm pretty new to ROS but got some things working by now: I'm working with the asctec pelican with a hokuyo laser onboard. To get all the data from the quadrotor im using the ...
user avatar
0 votes
1 answer
3 views

Subscriber error in ROS

This is my subscriber declaration followed by the callback function message_filters::Subscriber<geometry_msgs::Point32> point_sub(*nh, "tracked_point", 1); point_sub.registerCallback(&...
user avatar
0 votes
1 answer
2 views

ROS Answers SE migration: Custom message

Hellow all ! I'm trying to create a custom message using Geomety messages and std msgs. But I can't seem to link it correctly. I've been following this tutorial but so far I'm having this error : <...
user avatar
0 votes
1 answer
20 views

How to process geometry messages of type PoseWithCovarianceStamped and PoseStampe

Hi, I am using ROS fuerte version on Ubuntu 10.04. I have a screen shot below (WHOLE TOPIC.jpg) which tells about what type of messages are published on topics amcl_pose and move_base_simple/goal : ...
user avatar
0 votes
2 answers
10 views

Controlling a quaternion with 6D controller

To control a robotic arm, I am computing a geometry_msgs::Pose to send to the setFromIK method in ROS control. The Pose has a position and a quaternion. What I am trying to do is control the pose in ...
user avatar