Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Motor does not run using xqserial_server #8

Open
haquebd opened this issue Sep 22, 2022 · 2 comments
Open

Motor does not run using xqserial_server #8

haquebd opened this issue Sep 22, 2022 · 2 comments

Comments

@haquebd
Copy link

haquebd commented Sep 22, 2022

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

  • /motor_driver/debug_flag: False
  • /motor_driver/port: /dev/ttyUSB0
  • /motor_driver/r_min: 1.0
  • /motor_driver/wheel_separation: 0.36
  • /rosdistro: melodic
  • /rosversion: 1.14.13

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
Copy link
Author

haquebd commented Sep 22, 2022

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

@haquebd haquebd changed the title /dev/ttyUSB0 failed Motor does not run using xqserial_server Sep 22, 2022
@winf
Copy link
Member

winf commented Dec 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants