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

slavaglaps's profile - activity

2020-12-04 10:06:43 -0500 received badge  Student (source)
2020-05-17 16:34:39 -0500 received badge  Famous Question (source)
2019-12-12 07:06:36 -0500 received badge  Notable Question (source)
2019-12-12 07:06:36 -0500 received badge  Popular Question (source)
2018-04-30 11:47:04 -0500 received badge  Famous Question (source)
2018-04-30 11:47:04 -0500 received badge  Notable Question (source)
2017-04-23 05:02:10 -0500 marked best answer Names and parametrs

I read this documentation http://wiki.ros.org/Names And I had a few questions What is the hierarchy of names? The example says /foo /stanford/robot/name /wg/node1

But what are these names?

Could you, on a concrete example, show what is described in this document?

The same question on this document http://wiki.ros.org/Parameter%20Server

/camera/left/name: leftcamera
/camera/left/exposure: 1
/camera/right/name: rightcamera
/camera/right/exposure: 1.1

What is the name in this case? (Packages, parameter nodes?)

2017-04-20 16:01:42 -0500 asked a question Names and parametrs

Names and parametrs I read this documentation http://wiki.ros.org/Names And I had a few questions What is the hierarchy

2017-04-20 08:46:05 -0500 received badge  Supporter (source)
2017-04-20 08:46:03 -0500 marked best answer ROS .msg depends

I have two packages: inpub and insub

in inpub CmakeList.txt

find_package(catkin REQUIRED COMPONENTS
  insub
  roscpp
  rospy
  std_msgs)

catkin_package(
#  INCLUDE_DIRS include
#  LIBRARIES inpub
# CATKIN_DEPENDS message_runtime
#  DEPENDS system_lib
)

include_directories(
  ${catkin_INCLUDE_DIRS}
)

in .xml

<buildtool_depend>catkin</buildtool_depend>
<build_depend>rospy</build_depend>
<build_depend>insub</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>message_generation</build_depend>
<run_depend>rospy</run_depend>
<run_depend>insub</run_depend>
<run_depend>std_msgs</run_depend>
<run_depend>message_runtime</run_depend>

1) When I in inpub.py

import insub

A take error

File "/home/slavaglaps/two/src/test/scripts/inpub.py", line 6, in <module>
    import insub
ImportError: No module named insub

How can I import it correctly?

2) In the insub package I have inpub/msg/TwoInts.msg

How do I transfer this class? I also read in the documentation about a separate package for .msg. Can you talk more about this?

2017-04-20 08:46:03 -0500 received badge  Scholar (source)
2017-04-19 17:39:59 -0500 received badge  Popular Question (source)
2017-04-19 08:08:13 -0500 asked a question ROS .msg depends

ROS .msg depends I have two packages: inpub and insub in inpub CmakeList.txt find_package(catkin REQUIRED COMPONENTS

2017-04-19 08:08:12 -0500 asked a question ROS msg depends

ROS msg depends I have two packages: inpub and insub in inpub CmakeList.txt find_package(catkin REQUIRED COMPONENTS