BluewhaleRobot / xqserial_server

xiaoqiang motor driver and low level ROS api package
MIT License
40 stars 23 forks source link

Motor does not run using xqserial_server #8

Open haquebd opened 2 years ago

haquebd commented 2 years ago

I am using Teleop-twist-keyboard to send commands to /cmd_vel but there is no response from the motor nor it runs

~/catkin_ws$ roslaunch xqserial_server xqserial.launch ... logging to /home/jetson/.ros/log/654e23b0-3a3b-11ed-a9fd-401c8380c56e/roslaunch-lotus-mini-15182.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://10.10.10.58:41493/

SUMMARY

PARAMETERS

NODES / baselink_broadcaster (tf/static_transform_publisher) imulink_broadcaster (tf/static_transform_publisher) motor_driver (xqserial_server/xqserial_server)

auto-starting new master process[master]: started with pid [15192] ROS_MASTER_URI=http://10.10.10.58:11311

setting /run_id to 654e23b0-3a3b-11ed-a9fd-401c8380c56e process[rosout-1]: started with pid [15205] started core service [/rosout] /opt/ros/melodic/lib/python2.7/dist-packages/roslib/packages.py:470: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal if resource_name in files: process[motor_driver-2]: started with pid [15208] process[baselink_broadcaster-3]: started with pid [15209] process[imulink_broadcaster-4]: started with pid [15210]

haquebd commented 2 years ago

jetson@lotus-mini:~$ rostopic list /barDetectFlag /cmd_vel /galileo/status /global_move_flag /imu_cal /kinect/barpoints /kinect/clearpoints /rosout /rosout_agg /tf /xiaoqiang_log /xiaoqiang_tts/text /xqserial_server/IMU /xqserial_server/Odom /xqserial_server/Pose2D /xqserial_server/Power /xqserial_server/StatusFlag /xqserial_server/Twist

winf commented 10 months ago

Is your chassis xq4 or xq5? Maybe you have choose the wrong branch.