problem with p2os teleop
I have pioneer 3-AT robot. It connected my notebook with serial to usb cable. ROS fuerte has installed in my notebook with Ubutu 11.10. I installed p2os referred to p2os_tutorial.
When I launch the p2os teleop_keyboard, it works well, but pioneer doesn't move. The motor is fully enabled with p2os_dashboard. p2os teleop_joy has the same problem. The pioneer beeps only..in regularly.
Could you give me a help?
- roscore
jhp@ubuntu:~$ roscore
... logging to /home/jhp/.ros/log/5d906d6c-d7c3-11e1-9b40-001d728c5b11/roslaunch-ubuntu-19950.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ubuntu:47612/
ros_comm version 1.8.10
SUMMARY
========
PARAMETERS
* /rosdistro
* /rosversion
NODES
auto-starting new master
process[master]: started with pid [19966]
ROS_MASTER_URI=http://ubuntu:11311/
setting /run_id to 5d906d6c-d7c3-11e1-9b40-001d728c5b11
process[rosout-1]: started with pid [19979]
started core service [/rosout]
- Run the p2os_driver
jhp@ubuntu:~$ rosrun p2os_driver p2os
[ INFO] [1343377049.882478998]: using serial port: [/dev/ttyUSB0]
[ INFO] [1343377049.904677981]: P2OS connection opening serial port /dev/ttyUSB0...
[ INFO] [1343377050.313218974]: SYNC0
[ INFO] [1343377050.513818710]: turning off NONBLOCK mode...
[ INFO] [1343377050.714331842]: SYNC1
[ INFO] [1343377051.114779904]: SYNC2
[ INFO] [1343377051.715227279]: Done: Connected to Samtronics3233, a Pioneer p3at-sh
[ INFO] [1343377054.118100925]: resetting raw positions
- Run teleop_keyboard
jhp@ubuntu:~$ roslaunch p2os_launch teleop_keyboard.launch
... logging to /home/jhp/.ros/log/5d906d6c-d7c3-11e1-9b40-001d728c5b11/roslaunch-ubuntu-21208.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ubuntu:55497/
SUMMARY
========
PARAMETERS
* /p2os_teleop/axis_vw
* /p2os_teleop/axis_vx
* /p2os_teleop/deadman_button
* /p2os_teleop/run_button
* /rosdistro
* /rosversion
* /spawn_teleop_keyboard/run_vel
* /spawn_teleop_keyboard/walk_vel
* /spawn_teleop_keyboard/yaw_rate
* /spawn_teleop_keyboard/yaw_run_rate
NODES
/
p2os_teleop (p2os_teleop/p2os_teleop)
pioneer_joy_controller (joy/joy_node)
spawn_teleop_keyboard (pr2_teleop/teleop_pr2_keyboard)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[spawn_teleop_keyboard-1]: started with pid [21230]
Reading from keyboard
---------------------------
Use 'WASD' to translate
Use 'QE' to yaw
Press 'Shift' to run
process[p2os_teleop-2]: started with pid [21249]
process[pioneer_joy_controller-3]: started with pid [21278]
[ERROR] [1343377381.019514449]: Couldn't open joystick /dev/input/js0. Will retry every second.
-rostopic list
jhp@ubuntu:~$ rostopic list
/aio
/base_controller/command
/battery_state
/cmd_motor_state
/cmd_vel
/diagnostics
/diagnostics_agg
/dio
/gripper_control
/gripper_state
/joy
/motor_state
/p2os_teleop/cmd_vel
/p2os_teleop/des_vel
/p2os_teleop/joy
/pose
/ptz_control
/ptz_state
/rosout
/rosout_agg
/sonar
/tf