-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi, I face a problem to run the code
It will return like following:
suhanjaya@asus-a14-fa401ui:~/Workspaces/catkin_ws$ roslaunch motor_control motor_test.launch
... logging to /home/hsuhanjaya/.ros/log/aa2afd73-567e-11f0-a618-fcb0de1da355/roslaunch-asus-a14-fa401ui-91158.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://asus-a14-fa401ui:46017/
SUMMARY
========
PARAMETERS
* /can_bridge_node/can_device: can0
* /rosdistro: noetic
* /rosversion: 1.16.0
NODES
/
can_bridge_node (socketcan_bridge/socketcan_bridge_node)
motor_ctrler (motor_control/motor_control_test)
auto-starting new master
process[master]: started with pid [91166]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to aa2afd73-567e-11f0-a618-fcb0de1da355
process[rosout-1]: started with pid [91175]
started core service [/rosout]
process[can_bridge_node-2]: started with pid [91178]
process[motor_ctrler-3]: started with pid [91182]
[INFO] [1751376247.323677055]: Successfully connected to can0.
Joint motor 1 is enabled.
[ERROR] [1751376248.097524515]: FAILED system:105
[INFO] [1751376248.097632715]: State: OK, asio: No buffer space available
[INFO] [1751376248.097681085]: State: OK, asio: No buffer space available
[INFO] [1751376248.097689259]: State: OK, asio: No buffer space available
[INFO] [1751376248.097695529]: State: OK, asio: No buffer space available
[ERROR] [1751376248.097764815]: Failed to send message: 017fff02#7fff804900003333.
[ERROR] [1751376248.100365074]: Failed to send message: 017fff01#7fff82e800003333.
[ERROR] [1751376248.100385979]: Failed to send message: 017fff02#7fff804900003333.
[ERROR] [1751376248.103713169]: Failed to send message: 017fff01#7fff82e800003333.
[ERROR] [1751376248.103780200]: Failed to send message: 017fff02#7fff804900003333.
[ERROR] [1751376248.107012062]: Failed to send message: 017fff01#7fff82e800003333.
[ERROR] [1751376248.107031143]: Failed to send message: 017fff02#7fff804900003333.
[ERROR] [1751376248.110351803]: Failed to send message: 017fff01#7fff82e800003333.
[ERROR] [1751376248.110373529]: Failed to send message: 017fff02#7fff804900003333.
[ERROR] [1751376248.113704194]: Failed to send message: 017fff01#7fff82e800003333.
[ERROR] [1751376248.113723567]: Failed to send message: 017fff02#7fff804900003333.
[ERROR] [1751376248.116994032]: Failed to send message: 017fff01#7fff82e800003333.
[ERROR] [1751376248.117011611]: Failed to send message: 017fff02#7fff804900003333.
[ERROR] [1751376248.120350781]: Failed to send message: 017fff01#7fff82e800003333.
[ERROR] [1751376248.120372708]: Failed to send message: 017fff02#7fff804900003333.
[ERROR] [1751376248.123721644]: Failed to send message: 017fff01#7fff82e800003333.
I'm using USB2CAN from official Robstride and did following command:
sudo slcand -o -c -s8 /dev/ttyUSB0 can0
sudo ifconfig can0 up
sudo ifconfig can0 txqueuelen 100
the following CAN0 is showing as well
hsuhanjaya@asus-a14-fa401ui:~/Workspaces/catkin_ws$ ifconfig
can0: flags=193<UP,RUNNING,NOARP> mtu 16
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 312 bytes 2496 (2.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I'm not sure what is the problem, but I can control the motor in windows using MotorStudio software.
Metadata
Metadata
Assignees
Labels
No labels