how to use bluetooth connect with ROS and lego NXT robot [closed]
I use ubuntu 10.04. I want to use bluetooth to try driving nxt robot. so, i use command "roslaunch nxt_robot_sensor_car robot.launch" after show this:
[INFO] [WallTime: 1342531520.914626] Creating motor with name r_wheel_joint on PORT_A [INFO] [WallTime: 1342531520.919248] Creating motor with name l_wheel_joint on PORT_B [INFO] [WallTime: 1342531520.919630] Creating motor with name m_wheel_joint on PORT_C [INFO] [WallTime: 1342531520.919944] Creating gyro with name gyro on PORT_3 [INFO] [WallTime: 1342531521.703001] Calibrating Gyro. Don't move the robot now [INFO] [WallTime: 1342531523.734039] Gyro calibrated with offset 0.228026 [INFO] [WallTime: 1342531523.739392] Creating ultrasonic with name ultrasonic_sensor on PORT_2 [INFO] [WallTime: 1342531523.898967] Creating color with name color_sensor on PORT_1 [WARN] [WallTime: 1342531524.164023] l_wheel_joint not reaching desired frequency: actual 15.785669, desired 20.000000 [WARN] [WallTime: 1342531524.164398] gyro not reaching desired frequency: actual 15.775457, desired 20.000000 [ERROR] [WallTime: 1342531524.214610] bad callback: <bound method="" baseodometry.jnt_state_cb="" of="" <__main__.baseodometry="" instance="" at="" 0x8c8370c="">> Traceback (most recent call last): File "/opt/ros/electric/stacks/ros_comm/clients/rospy/src/rospy/topics.py", line 581, in _invoke_callback cb(msg) File "/opt/ros/electric/stacks/nxt/nxt_controllers/scripts/base_odometry.py", line 80, in jnt_state_cb self.l_pos = position[self.l_joint] KeyError: 'l_wheel_joint'
then, open new terminal to execute command "rosmake nxt_teleop" then "roslaunch nxt_teleop teleop_keyboard.launch" but, if press the arrow keys, it does not work.