Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Browsing all 84 articles
Browse latest View live
↧

catkin_make not detecting .msg files in msg directory

I'm fairly new to ROS, so I don't fully comprehend what's going on. This wasn't an issue until I installed some new python libraries to my computer earlier today. Essentially, when I run catkin_make...

View Article


Fail to make hector_gazebo_thermal_camera

Recently I am building hector_quadrotor(http://wiki.ros.org/hector_quadrotor) package. It needs another package named hector_gazebo_thermal_camera(inside http://wiki.ros.org/hector_gazebo). Using...

View Article


Cannot load message class for [robot_position/mymsg]. Are your messages built?

I correctly followed the steps as mentioned here: [link text](http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv) Home>assign2>src>robot_position Where **robot_position** is my package name....

View Article

Name conflict between msg and srv

I want publish a message reporting an actuator state change, but I also want to provide a service to allow setting that state. When I tried to create a msg called MyState and srv called MyState,...

View Article

Return array in service in c++

Hi people! I'm starting with ROS and I have a problem implementing a client and server. I used the files created in the tutorials of ROS but I would like to return an array of strings and I don't know...

View Article


publish numpy matrix to topic

Hello together, I would like to publish a 10x10x10 numpy-Matrix in one publishing step. Therefore I would like to know how I can declare the `numpy.ndarray` as a message type like matrix.msg: >...

View Article

get ConstPtr for msg field

I have a callback function defined as on_string_msg(const std_msgs::String::ConstPtr& msg). I have both std_msgs::String and a self-defined msg which wraps a std_msgs::String field. myMsg.msg {...

View Article

ImportError: No module named robot_messages.msg

When I run this code I get : ImportError: No module named robot_messages.msg This is the code that is written on this tutorial: https://www.youtube.com/watch?v=DLVyc9hOvk8 and the person is able to...

View Article


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

[Service_Description_Specification](http://wiki.ros.org/srv#Service_Description_Specification) says: > You cannot embed another .srv inside of a .srv. The syntax of `.srv` files aligns with that of...

View Article


Import error: no module named Num.msg

Hi, I want to use my own msg, and try this: from Num.msg import * and get the import error. Num.msg is in /msg/ and is found by "rosmsg show". When I don't import, codeline "a = Num()" gets error...

View Article

unable to load msg: invalid name

Hi, Using Ubuntu 16.04, ROS Kinetic and Python, I've created a msg in ~/catkin_ws/src/roboti_pi/msg: Num.msg with content: int32[] data My code to use this message: a = Num() a.data = [1, 2, 3] This...

View Article

How can I represent Multidimensional array in msg format

If i have something like int mein[NUM][4]; in C++. How do I represent it in msg format. Should it be something like uint8[][4] mein Also as NUM is defined in my C++ file and can vary according to...

View Article

/base_controller/command topic

Hello, I have a university project and I have to read the data from the laser and to create a control signal to the wheels using the laser data. The cpp code and CMakeList file are shown bellow. I use...

View Article


Custom message with rosbuild & rospy [No module named *]

Hello! I'am trying to build a ros node which use a custom message. I have installed ROS Indigo on Ubuntu 12.04. The workspace I use is **rosbuild** and the code is in **Python**. The problem I am...

View Article

how to point and click on rviz map and output the position.

Can any one tell me how to use mouse to click on a map in Rviz and get the position of this area. Then output it.

View Article


.msg Module not being found

I am running ROS Indigo on Ubuntu 14.04. Here is my package and cmake file: CMAKELIST: cmake_minimum_required(VERSION 2.8.3) project(semantic_label_publisher) ## Find catkin macros and libraries ## if...

View Article

error: no match for 'operator='

Hey, I get this error when building the package: /home/ken/cws/src/mathematics/src/evenNumberGenerator.cpp:24: error: no match for 'operator=' (operand types are 'mathematics::TwoData_>::_data2_type...

View Article


[ROS2] generating DDS .idl files from .msg ROS Message Format

Hi all, I'm trying to create .idl descriptions from the ros message description format. There is the `rosidl_generate_dds_interfaces` package and cmake macro. How would I use this for instance for the...

View Article

Defining Custom Message Types for Rosjava Android

Hello! I am writing an android app in JellyBean to subscribe to a rostopic. I am publishing a custom message type from an ubuntu virtual machine using groovy. I have successfully published and...

View Article

How to create unique Mavros messages

Hello, Skimming through the online documentation, I've figured out how to send default Mavlink messages from a ROS node (haven't tried yet but I know the steps to do it at least). However, I can't find...

View Article
Browsing all 84 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>