Closed JadTawil-theonly closed 4 years ago
What is confusing about the candump is this part:
can0 601 [8] 40 61 60 00 00 00 00 00
can0 581 [8] 4F 61 60 00 00 00 00 00
Which means that there is a SDO read request for object 6061 (Operation mode display), and the response is 00, which makes no sense since 0 is not a valid mode; the modes are:
1 Profile Position Mode
3 Profile Velocity Mode
4 Torque Profile Mode (Servo only)
6 Homing Mode
Doesn't this driver set the mode of operation on initialization? Perhaps it is hanging because it is getting a non-sense response for modes of operation.
Furthremore, the line in the candump:
can0 201 [2] 00 01
Suggests that 2 bytes are being transmitted to be received by RPDO1, which is not consisten with my device mapping, which has the control word and modes of operation as RPDO1, which should sum up to 3 bytes, instead of two (what is shown in the dump).
Cross posted to ROS Answers: Can Not Ready Error
Is cross posting frowned on? :/ @gavanderhoorn
Yes.
Cross-posting is always bad. At best it leads to split discussions, worst-case it leads to duplication of effort.
For you -- as the cross-poster -- having two discussions / diagnostic sessions may seem like a good thing: potentially more people helping you. But for everyone else it's just wasted time and effort.
@gavanderhoorn won't happen again!
Hello,
I am using the SV2D10-C-CE canopen controller from Applied Motion: https://www.applied-motion.com/produc...
After performing the configuration of the motor parameters with their supplied software, i am attempting to control it through ros-canopen. I made sure to provide the EDS that reflects the parameters in the controller; namely, the PDO mappings (communication and mapping params). The following is the error i am getting from the terminal, when the init service is called.
[ INFO] [1578945169.300230801]: Using fixed control period: 0.010000000
[ INFO] [1578945173.151896023]: Current state: 1 device error: system:0 internal_error: 0 (OK) [ INFO] [1578945173.152116183]: Current state: 2 device error: system:0 internal_error: 0 (OK) [ INFO] [1578945183.856832324]: Current state: 2 device error: system:125 internal_error: 0 (OK) [ INFO] [1578945183.856974071]: Current state: 0 device error: system:125 internal_error: 0 (OK) [ INFO] [1578945183.857054082]: Current state: 0 device error: system:0 internal_error: 0 (OK) [ INFO] [1578945183.857178004]: Current state: 0 device error: system:0 internal_error: 0 (OK) [ERROR] [1578945183.857954723]: Initializing failed: Transition timeout; Could not enable motor; Transition timeout
The following text file contains the contents of "candump can0": https://drive.google.com/open?id=1_8BhBX1DEYX754bl5KkWXsFsBdKNMLUQ