-
Notifications
You must be signed in to change notification settings - Fork 35
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
Switch from nav_msgs/Path to trajectory_msgs/JointTrajectory #13
base: master
Are you sure you want to change the base?
Conversation
Could perhaps be nice to consider cartesian_control_msgs? CartesianTrajectoryPoint does have a |
The problem with cartesian_control_msgs/CartesianTrajectory and the included cartesian_control_msgs/CartesianTrajectoryPoint is, that they only support three components. We could, however, design our own message, based on I think the best way forward (at least for now) is to use |
This also includes the warning, that we use the `effort` field for the trajectory's jerk.
I wouldn't call that a problem really: it's a message intended for communication of Cartesian trajectories. Afaik, TopiCo can be used for Cartesian trajectories as well. It would seem appropriate to offer a correctly typed interface for such uses, and The proposed changes seem to remove the Cartesian interface that's currently there and "downgrade" it to a joint-space interface (which is what use of Alternatively: remove the typed interface alltogether and use a |
Well sounds like we should design a new message all together.
and corresponding
That way we can conserve one of TopiCos awesome features, namely:
|
Thank you for the contributions! Trajectory.msg:
TrajectoryAxis.msg:
The start time of the trajectory is encoded in the header while the arrays |
This PR changes to published message from
nav_msgs/Path
totrajectory_msgs/JointTrajectory
.Using the
trajectory_msgs/JointTrajectory
message, not only the calculated positions, but also the velocities, accelerations, as well as jerks can be published.However, the jerks are published as effort.
Moreover, using
trajectory_msgs/JointTrajectory
, we are no longer limited to three axis.Further work could then move the initial and waypoint subscribers from
nav_msgs/Odometry
messages tosensor_msgs/JointState
and fully eliminate the limit for three axis.