ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

bhmth's profile - activity

2020-01-22 02:36:29 -0500 received badge  Famous Question (source)
2019-07-11 08:38:48 -0500 received badge  Famous Question (source)
2018-11-04 20:26:05 -0500 received badge  Notable Question (source)
2018-10-26 11:20:21 -0500 received badge  Student (source)
2018-10-25 10:21:06 -0500 received badge  Popular Question (source)
2018-10-25 07:20:47 -0500 edited question rclpy import in application fails

rclpy import in application fails Hi, i trying to import the rclpy libary in an application written in python. if i us

2018-10-25 07:18:32 -0500 commented question rclpy import in application fails

so i can get it to work with the local_setup.bat but when i try to manually extend the PYTHONPATH and PATH to use the rc

2018-10-25 07:18:20 -0500 commented question rclpy import in application fails

so i can get it to work with the local_setup.bat but when i try to manually extend the PYTHONPATH and PATH to use the rc

2018-10-25 05:43:32 -0500 commented question rclpy import in application fails

so i can get it to work with the local_setup.bat but when i try to manually extend the PYTHONPATH and PATH to use the rc

2018-10-24 09:05:24 -0500 commented question rclpy import in application fails

i installed ROS2(bouncy) from source and using a normal python3.7 release on Win10

2018-10-23 04:42:53 -0500 asked a question rclpy import in application fails

rclpy import in application fails Hi, i trying to import the rclpy libary in an application written in python. if i us

2018-09-17 14:50:35 -0500 received badge  Famous Question (source)
2018-07-05 03:50:31 -0500 marked best answer Using custom msg in custom srv

Hi,

i have a msg package with a custom message like this:

MyStruct.msg
...
/* Content of MyStruct*/
HeaderStruct header
DataStruct data

using this msg type in different Nodes

Now i want to implement a srv using MyStruct.msg I modified my CmakeLists.txt of my service package with:

find_package(my_msgs REQUIRED)

and added to the package.xml

 <build_depend>my_msgs</build_depend>
 <exec_depend>my_msgs</exec_depend>

In the srv file i added

my_msgs/MyStruct data
---
float64 result
int64 calculation_time

but when building i always get the error

AttributeError: 'ServiceSpecification' object has no attribute 'base_type'

as soon as switching to this

float64 data
---
float64 result
int64 calculation_time

it works ... am i missing something ? Thanks!

2018-07-05 03:50:31 -0500 received badge  Scholar (source)
2018-07-05 03:50:01 -0500 received badge  Enthusiast
2018-07-04 02:51:01 -0500 commented answer Using custom msg in custom srv

That was the deal. Thank you very much ! should definitely be mentioned here https://github.com/ros2/ros2/wiki/About-RO

2018-07-04 02:50:52 -0500 commented answer Using custom msg in custom srv

That was the deal. Thank you very much ! should definitely be mentioned here link text

2018-07-03 10:23:28 -0500 received badge  Notable Question (source)
2018-07-03 10:03:00 -0500 commented answer Using custom msg in custom srv

yep ros2 it is

2018-07-03 09:22:17 -0500 received badge  Popular Question (source)
2018-07-03 08:36:23 -0500 asked a question Using custom msg in custom srv

Using custom msg in custom srv Hi, i have a msg package with a custum message like this: MyStruct.msg ... /* Content o

2018-06-22 07:33:10 -0500 received badge  Notable Question (source)
2018-06-21 10:07:09 -0500 received badge  Popular Question (source)
2018-06-21 02:08:34 -0500 answered a question Use rclcpp API outside of typical ros-node in 3rdParty app

Hi, Thanks for your answer, so the local_setup sets up some Paths ? C:\ros2_ws\install\opt\rviz_yaml_cpp_vendor\bin C:

2018-06-20 08:12:13 -0500 asked a question Use rclcpp API outside of typical ros-node in 3rdParty app

Use rclcpp API outside of typical ros-node in 3rdParty app Hi, I am using ROS 2 Ardent Apalone - 2018-03-07, build from

2018-06-20 08:12:12 -0500 asked a question Using ros2 rclcpp API in 3rdParty app

Using ros2 rclcpp API in 3rdParty app Hi, I am using ROS 2 Ardent Apalone - 2018-03-07, build from Source with FastRTPS