Skip to main content

Questions tagged [custom-message]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
36 views

Keep RTI Connext out of single-package build

I am trying to build a package in Windows that includes a custom message type and eventually a service, but executing this from the Visual Studio 2022 Developer Command Prompt is followed by an error: ...
Eric Eggers's user avatar
0 votes
1 answer
34 views

Unable to create C++ header files for Custom Message

I've created a custom message package following this tutorial for ROS2: https://docs.ros.org/en/crystal/Tutorials/Custom-ROS2-Interfaces.html Despite much playing around I'm unable to get the .idl ...
MarkyMark's user avatar
  • 526
2 votes
0 answers
11 views

How to expose built custom ROS message inside a container to host machine without sourcing the setup.py file outside the container?

I am working in a ROS1 environment. right now the container builds the package and runs source devel/setup.py which allows the messages to work within the container....
castaway2000's user avatar
1 vote
1 answer
26 views

ROS2 using Python with CMakelists gives an error when importing custom message

Error: ModuleNotFoundError: No module named 'my_server.action'; 'my_server' is not a package I have the following structure: ...
Gabriele's user avatar
0 votes
1 answer
16 views

Unable to use custom message from another ROS package

I have been trying to use a custom message called sPoses from one package (jackal_2dnav) in another (explore) in the same ROS workspace, but I have been unable to get it to work. I added jackal_2dnav ...
Joshua L's user avatar
0 votes
1 answer
152 views

How to add custom messages and services to ros_gz_bridge

I would like to add custom messages and services to the gazebo ros bridge. But I am not sure what the best approach would be and miss a bit of documentation on how to achieve this. For the sake of ...
Nyquist's user avatar
  • 204
0 votes
0 answers
30 views

Custom messages are not generated in ROS 2

Project Goal I am working on a project with ROS 2 where my primary goal is to read data from LVX files (associated with Livox LiDAR sensors) and publish this data to a ROS bag. The key steps in my ...
Choppari Veneela's user avatar
0 votes
1 answer
402 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
1 vote
1 answer
45 views

ROS1 Custom messages generates strange memory graph pattern when using multiple string types

In ROS1 Noetic, I have the following custom message named Test.msg: int32 did string a string b And I have another custom message TestList.mgs: Test[] testList In ...
Enikő's user avatar
  • 11
0 votes
0 answers
119 views

ROS2: RQT can not get message class for a user defined message

I can build a package used to define interfaces like messages, service and actions. I think everything is fine since I can show them using the usual command ...
Antonio Bono's user avatar
0 votes
1 answer
148 views

How to do custom path planning for autonomous navigation in ROS?

My autonomous navigation can work on my current map, but now I want to do a simple custom path planning, together with some actions, such as: taking a snapshot using the camera stopping turning the ...
arquitecto's user avatar
0 votes
1 answer
344 views

ros2 Iron Ubunto 22.04 Could not import 'rosidl_typesupport_c' custom msg error ...ways to fix. not sure whats wrong

I am not able to find out why I receive the ROS2 error .... ...
Jeffrey Edward Messikian's user avatar
0 votes
0 answers
78 views

how to actually use the micro ROS messages in a ROS2 node

I have successfully created micro ROS firmware with a subscriber. the subscriber subscribes to topic /joint_angles of type servo2040_uros__msg__JointAngles. Now, how do I include this message type in ...
Max 's user avatar
  • 1
0 votes
0 answers
23 views

Data Type conversion with rosbridge

I tried to use ros1_bridge with custom message types. I had one specific value that was an int32 in ROS1 but a string in ROS2 (...
Talha's user avatar
  • 3
0 votes
1 answer
95 views

Formatting rosservice response

I'm working on ROS MELODIC. I would like to return as a service response a string containing a list of areas with some data. The problem here is that I wanted to format the output so on the client ...
ÁngeLoGa's user avatar
  • 172
0 votes
1 answer
75 views

Set interface name without msg in ROS2

When creating custom message types in ROS1 (noetic), I can store the *.msg files in a subfolder named msg. In the CMake file, I ...
Talha's user avatar
  • 3
0 votes
1 answer
28 views

Sudden custom_msgs related error in ros2, build failed in CI

Environment: ubuntu 20.04 ROS 2: foxy Repository: https://github.com/rsasaki0109/lidarslam_ros2 I branched off a branch where CI was successful in April 2022 and submitted the following Pull Request, ...
user avatar
0 votes
1 answer
74 views

CMake Error could not find Seperator

Hello, i try to compile my Package with colcon build --packages-select sensor_interfaces, to use my Custom Interface Messages. However i get follwing Error: ...
user avatar
0 votes
1 answer
62 views

float error while using a float - custom messages

Hello all, I am receiving this error. ...
user avatar
0 votes
1 answer
30 views

Message filter headerless warning with custom message type

I generated my custom message as following: uint32 num_object nav_msgs/Odometry custom This is a part of the output when echoing a topic using my custom message: <...
user avatar
0 votes
1 answer
180 views

How to publish custom topic from command line

Hi to all, I have a ROS Node that uses custom messages: //robo_io.msg bool out_0 bool out_1 int64 var1 I publish them from my node in C++ in this way: ...
user avatar
0 votes
1 answer
5 views

custom messge usage in python

i wrote a smal python node ...
user avatar
0 votes
2 answers
113 views

ROS2 custom message python import error

Hi Deatails: ROS Env ROS_VERSION=2 ROS_PYTHON_VERSION=3 ROS_LOCALHOST_ONLY=0 ROS_DISTRO=foxy I created a custom message as follows in Custom.msg file ...
user avatar
0 votes
1 answer
1 view

Question about custom-made message

Hello! I'm using ROS kinetic on ubuntu 16.04. And I'm going to make my own message consisting of many sub-custom messages. The sub-messages are in the right directory where any other messages are ...
user avatar
0 votes
1 answer
5 views

Trying to transmit a 1 by 4 array message to subscriber

I am having trouble trying to publish correctly a 1 by 4 array message generated using a for loop based on test data. My system is a ubuntu 16.04 running Kinetic. The error occurred in the pub.publish(...
user avatar
0 votes
1 answer
7 views

Writing a Publisher and Subscriber with a Custom Message(Python) Tutorial Not Working

I am trying to follow the tutorial as detailed in this link: (http://wiki.ros.org/ROS/Tutorials/CustomMessagePublisherSubscriber%28python%29) I am using ROS Kinetic on ubuntu 16.04. I was able to ...
user avatar
0 votes
1 answer
11 views

Building Custom Message on Dashing Fails

When I run colcon build to generate a custom message on Dashing, I get the following error: ...
user avatar
0 votes
1 answer
17 views

How to solve different ros::Time error message

I have a total of N. 7 .csv files. Those files are the result of N.7 sensors mounted on an underwater system. After packing both custom and standard messages ...
user avatar
0 votes
1 answer
3 views

message header doesn't build

I know this question has been asked a number of times, and I've gone through and followed the instructions on a number of those answers (for example- here and here), as well as in the documentation ...
user avatar
0 votes
2 answers
47 views

How to include generated message .h file into C++ (ROS 2)?

I am new to ROS 2, coming from ROS, currently using crystal to try and learn the basics. I want to just simply create a custom message and use it in the minimal publisher/subscriber example from here, ...
user avatar
0 votes
1 answer
63 views

error in find_package(), when building with custom message

Hello, I have built ros2 from the latest stable source in Ubuntu 16.04. I was experimenting with colcon to build my own package as mentioned here and custom messages from this tutorial define custom ...
user avatar
0 votes
1 answer
58 views

custom message fails to build; no such file or directory

I followed the custom message documentation to the letter, and searched all the related questions on here, and unfortunately I am still stuck. Could you please have a look? I am getting the same error ...
user avatar
0 votes
1 answer
76 views

Ros1_Bridge: Custom message pairing failed if those messages have non- identical names in ros1 and ros2

I am developing simple publisher- subscriber with custom messages. The name of custom message file is 'EgoData.msg' in ROS1 and 'Size.msg' in ROS2 workspace. I have done the mapping in yaml file as ...
user avatar
0 votes
2 answers
21 views

Arduino IDE can't find message header

Hey, I'm new to ROS and trying to have a led blink at will with my Arduino from my computer using a message, the future goal being to control several ones from my terminal. I am using ROS lunar and ...
user avatar
0 votes
1 answer
17 views

Custom messages in different package - Is tutorial correct?

In our system with >100 custom packages, there are >20 custom_msgs packages which provide for communication between packages. This question concerns correctly setting up CMakeLists.txt so the ...
user avatar
0 votes
1 answer
2 views

ROS Answers SE migration: Custom message

Hello, I have defined this custom message, FloatsStamped.msg : Header header float32[] data The CMakeLists.txt is: ...
user avatar
0 votes
1 answer
2 views

Message for dual steering vehicle

I'm wondering if a common message type exists to control dual steering vehicles (both front and rear ackermann steering). I'm looking for something like Twist or Ackermann_msg. If not, should we ...
user avatar
0 votes
1 answer
68 views

ImportError: No module named msg

I have googled a lot of solutions, but none have worked. I follow exactly the same as http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv#Creating_a_msg. Is there anything I missed? my python script <...
user avatar
0 votes
1 answer
152 views

Publish and subscribe array of vector as message

Hi all, I am trying to send an array of vector from one node to another node as a message. The message contains this array and other message fields as well. My cpp file has the following array vector: ...
user avatar
0 votes
1 answer
2 views

Embed request fields from another .srv files into my .srv

Service_Description_Specification says: You cannot embed another .srv inside of a .srv. The syntax of .srv files aligns with that of ...
IsaacS's user avatar
  • 4,502
0 votes
1 answer
17 views

Viewing custom messages from a ROS node that is on a different ROS install

I have ROS running on a robot with a raspberry Pi. I have several custom messages that I would like to echo and view on rqt_plot from my laptop. However as the robot package is only installed on the ...
user avatar
0 votes
1 answer
3 views

Generating getter and setter methods for simple custom message

I need to create a custom message for a PTZ camera so I can post the pan, tilt and zoom values to a topic. The problem is that I can't generate any access methods to change them. My message is defined ...
user avatar
0 votes
1 answer
18 views

Custom message header file not generated

I am trying to send a custom message from a ros publisher to an arduino mega using rosserial.The package containing the the publisher and custom message builds fine.I tried to generate headers for ...
user avatar
0 votes
1 answer
30 views

Unable to import custom messages (Python)

Hi There, I am following the python publisher/subscriber tutorial located here. I followed the first couple of steps to download and build the code. Then, as instructed, I started a roscore and in a ...
user avatar
0 votes
1 answer
2 views

Standard messages for reporting system metrics

Are there any standard message types or nodes for monitoring and reporting system metrics like memory, cpu and disk usage? I'm trying to create a simple dashboard, and I'd like to capture and display ...
user avatar
0 votes
2 answers
1 view

ROS Answers SE migration: compiling msg

Hi, everytime, when I compile my package from scratch, I have to comment out some lines in my CMakeList.txt addexecutable(file file.cpp ) target_link_libraries(file {catkin_LIBRARIES} ) Afterwards ...
user avatar
0 votes
1 answer
51 views

How to use custom message arduino [SOLVED]

Hi guys, I've been doing some novice work in arduino and ros and i would like to use a custom message already created as the official tutorial says. The custom package is in: ...
user avatar
0 votes
1 answer
1 view

Message generation fails after JADE update

Hello. This morning I apt-get update and upgrade my Linux (14.04 Xubuntu). After this, ...
user avatar
0 votes
1 answer
2 views

Custom message type errors

I am trying to create custom message with Power.msg: # Power std_msgs/Int64 voltage48 std_msgs/Int64 voltage12 Everything is good until i try to set a value to ...
user avatar
0 votes
1 answer
3 views

Adding a standard msg within the custom msg

Hi! I've made my custom message following the tutorial here. It works fine. What i want to do is to include some information in my message, as a twist.msg, for instance. How can I declare this on my ....
user avatar