-
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
Forward Init_Trajectory_Status error message to queue_traj_point #341
base: main
Are you sure you want to change the base?
Conversation
I am going to make changes to this for sure but I wanted feedback. I did a pretty straightforward forwarding of errors here. I think that it works fine (in my limited testing) and it's an improvement over what it was before, but there are other changes that should be made to improve clarity and durability. The other changes that I think should happen are: |
Agreed. My only concern is breaking compatibility of messages. But I'm not sure that can be helped.
Personally, I'm ok with this. Ultimately, both the service and the action are initializing a trajectory. It's just a matter of "when" the points get submitted. To me, I don't mind it. But if you have some suggestion of how to reorganize, we can take a look. Maybe some superset message for "motion init result"? |
I think that this is probably good for now. I can't really think of a better way of organizing the messages. I'll prepare a PR changing the integer types to match between |
Depends on Yaskawa-Global/motoros2_interfaces#30 |
All FAILURE error codes/messages from Ros_MotionControl_InitPointQueue (and further Ros_MotionControl_Init) previously got squashed into success/failure. This commit maintains the error meaning
11a9a61
to
499f004
Compare
I made the requested changes (amended) then rebased. I did a little bit of testing, and I think that it is alright. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
@gavanderhoorn What are your thoughts regarding this topic:
Jimmy: This is more of an organization complaint. But I don't really like that sending a /follow_joint_trajectory goal (indirectly) returns an InitTrajEnum value that gets reported without modification. However, submitting a point using queue_traj_point returns either a QueueResultEnum value or an InitTrajEnum value
Ted: Personally, I'm ok with this. Ultimately, both the service and the action are initializing a trajectory. It's just a matter of "when" the points get submitted. To me, I don't mind it.
bumping milestone because we need updated motoros2_interfaces inside micro_ros_motoplus |
#336
All FAILURE error codes/messages from Ros_MotionControl_InitPointQueue (and further Ros_MotionControl_Init) previously got squashed into success/failure. This commit maintains the error meaning