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

Kuniaki Saito's profile - activity

2017-06-01 11:58:41 -0500 received badge  Popular Question (source)
2017-06-01 11:58:41 -0500 received badge  Famous Question (source)
2017-06-01 11:58:41 -0500 received badge  Notable Question (source)
2015-06-26 03:59:44 -0500 received badge  Famous Question (source)
2015-04-08 12:52:42 -0500 received badge  Notable Question (source)
2014-12-04 18:23:49 -0500 received badge  Student (source)
2014-12-04 18:04:14 -0500 received badge  Popular Question (source)
2014-12-02 07:02:57 -0500 asked a question euslisp advertise

I am trying to replace advertise-service function for the following subscribe..... However, I can't complete it. Please help me.

(ros::roseus "add_two_ints_server")

(ros::advertise-service "add_two_ints" roseus::AddTwoInts #'add-two-ints)

(ros::subscribe "add_two_ints" roseus::AddTwoInts #'(lambda (msg) (ros::rosinfo (format nil (send msg :data))))))

2014-11-21 04:37:07 -0500 received badge  Notable Question (source)
2014-11-11 19:56:34 -0500 received badge  Popular Question (source)
2014-11-09 20:02:40 -0500 received badge  Editor (source)
2014-11-06 09:14:20 -0500 asked a question kobuki_keyop, keyop.launch

roslaunch kobuki_keyop keyop.launch I want to write a python code to replace keyop.launch. However, it doesn't go well. I think it is wrong with the way to send the message of keyboardinput. How can I solve the problem. I can compile the code. Please help me.

import roslib; roslib.load_manifest('kobuki_keyop')

from kobuki_msgs.msg import KeyboardInput

import rospy

#import KeyboardInput                                                          

from std_msgs.msg import String

#from geometry_msgs.msg import Twist                                           

def key():

 rospy.init_node("keyop")

 pub1 = rospy.Publisher("keyop/motor_power",KeyboardInput)

 pub1 = rospy.Publisher("mobile_base/commands/motor_power",KeyboardInput)

 pub2 = rospy.Publisher("keyop/cmd_vel",KeyboardInput)

 while not rospy.is_shutdown():

  str = KeyboardInput()

  linear_vel = KeyboardInput()

  angular_vel = KeyboardInput()

  print str

  pub1.publish(linear_vel)

  pub2.publish(angular_vel)

  rospy.sleep(1.0)

  rospy.spin()

if __name__ == '__main__':
     key()
2014-10-23 09:55:04 -0500 received badge  Famous Question (source)
2014-10-20 00:59:29 -0500 received badge  Notable Question (source)
2014-10-19 11:56:04 -0500 received badge  Popular Question (source)
2014-10-19 04:50:23 -0500 asked a question チュートリアルについて

チュートリアル初級の14番を進めています。最後にビルドするところでエラーがでてしまいます。以下です。

CMake Error at /opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:186 (message): catkin_package() the catkin package 'message_runtime' has been find_package()-ed but is not listed as a build dependency in the package.xml Call Stack (most recent call first): /opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package) beginner_tutorials/CMakeLists.txt:89 (catkin_package)

CMakeLists.txtにはruntimeの依存関係も記述しているのですが、このエラーがでてしまいます。 msgやsrvのチュートリアルを参考にしてもよく分かりません。解決方法のご提案お願いします。

2014-10-19 04:50:22 -0500 asked a question チュートリアルについて

チュートリアルの初級編を進めているのですが、チュートリアル14番のコードをbuildするとエラーがでてしまいます。 以下です。

CMake Error at /opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:186 (message):
  catkin_package() the catkin package 'message_runtime' has been
  find_package()-ed but is not listed as a build dependency in the
  package.xml
Call Stack (most recent call first):
  /opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
  beginner_tutorials/CMakeLists.txt:89 (catkin_package)

runtimeの依存性は、cmakelistに記述しているのですが、エラーが出てしまいます。msg,srvのチュートリアルを参考にしてもよく分かりません。よろしくお願いします。