-
Notifications
You must be signed in to change notification settings - Fork 21
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
start_traj_mode
fails if home position is not configured
#37
Comments
Note: this is also an issue with MotoROS1. |
We need to document this error in the readme. They should be seeing a message on the pendant When attempting to start a job (using the pendant), they should get error 0380 Check Position |
Should we instead not have MR2 check whether the home pos is set and raise an appropriate alarm if it isn't? Edit: or at the very least update the result message returned by |
It looks like we already are Line 1514 in 9026a1d
So that's apparently broken. |
You mean we should be seeing: Line 27 in 9026a1d
? |
Yeah. That's what I would have thought. Though perhaps 0x3040 doesn't apply if the home position has been registered and just needs to be validated. If that's the case, then I don't know of any mechanism to detect that this scenario. |
Just ran into this when testing something for #19:
seems this isn't completely broken. |
I started looking into this issue. I found that the debug statement is occurring at: Lines 1503 to 1516 in 10d8f00
The r.Data is not getting out of the BOOL Ros_MotionControl_StartMotionMode function. This then gets put out into a failure to start in Ros_ServiceStartTrajMode_Trigger: motoros2/src/ServiceStartTrajMode.c Lines 56 to 78 in 10d8f00
Which then calls Ros_Controller_GetNotReadySubcode(), this function doesn't see the warning only that the job has not started via: motoros2/src/ControllerStatusIO.c Lines 447 to 449 in 10d8f00
|
This same problem also occurs in Issue #192 I believe |
@jimmy-mcelwain @ted-miller: #265 and #297 have been linked as closing this issue, but I don't believe they address the suspected cause, do they? |
So neither of those PRs would allow start_traj_mode to succeed if home position is not configured, but it would give a better response. I believe that the response if the home position is not configured would be |
If the home position is not set, or the home position needs to be checked, the controller refuses to start INFORM jobs.
For MotoROS2 specifically, this means that
start_traj_mode
&start_point_queue_mode
fail with:There is no indication on the pendant as to "why" the job failed to start.
It is unclear whether this issue can be detected, or whether MotoROS2 can provide a better error message.
The text was updated successfully, but these errors were encountered: