dual_quaternions_ros package from dual_quaternions_ros repodual_quaternions_ros |
|
Package Summary
Tags | No category tags. |
Version | 0.1.4 |
License | MIT |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/Achllle/dual_quaternions_ros.git |
VCS Type | git |
VCS Version | 0.1.4 |
Last Updated | 2020-07-08 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- achille
Authors
- achille
Dual Quaternions ROS
Simple conversion methods for going from ROS [geometry_msgs]{.title-ref} to dual quaternions and vice versa. For the dual_quaternions repo, see dual_quaternions.
Installation
pip
``` {.sourceCode .bash} pip install dual_quaternions
### ROS package
Release into apt is on its way. Until then you\'ll have to build the
catkin package from source.
``` {.sourceCode .bash}
cd ~/catkin_ws/src
git clone https://github.com/Achllle/dual_quaternions_ros
cd ..
rosdep install --from-paths src/dual_quaternions_ros --ignore-src
catkin_make
Requirements
- dual_quaternions
- geometry_msgs
Usage
Import using:
from dual_quaternions_ros import from_ros, to_ros_pose, to_ros_transform
NOTE: there is no concept of 'from' and 'to' as frame names aren't tracked or used (e.g. use of Pose iso PoseStamped). It is up to the user to keep track of those to avoid picking a convention (active vs. passive)
Publishing and getting transforms from tf
This package purposefully doesn't have methods to receive and publish transforms to tf. Instead, it supports converting transforms to various ROS messages so you can use the standard way of interfacing: :
br = tf2_ros.TransformBroadcaster()
T_odom_baselink = DualQuaternion(...)
msg = geometry_msgs.msg.TransformStamped()
msg.transform = T_odom_baselink.to_ros_transform
msg.header.frame_id = 'odom'
msg.child_frame_id = 'base_link'
br.sendTransform(msg)
Changelog for package dual_quaternions_ros
0.1.4 (2020-07-07)
- Remove find_package (build) dependencies in dq_ros: not needed during build, just at runtime
- Contributors: Achille
0.1.3 (2020-05-29)
- Merge pull request #53 from Achllle/ros_only Split up into dual_quaternions and dual_quaternions_ros
- Omitted: this repository used to host the dual_quaternions python package before it was split up and moved to a separate repo (dual_quaternions)
- Contributors: Achille, Achille Verheye
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
rospy | |
geometry_msgs | |
catkin | |
dual_quaternions |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged dual_quaternions_ros at Robotics Stack Exchange
dual_quaternions_ros package from dual_quaternions_ros repodual_quaternions_ros |
|
Package Summary
Tags | No category tags. |
Version | 0.1.4 |
License | MIT |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/Achllle/dual_quaternions_ros.git |
VCS Type | git |
VCS Version | 0.1.4 |
Last Updated | 2020-07-08 |
Dev Status | MAINTAINED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- achille
Authors
- achille
Dual Quaternions ROS
Simple conversion methods for going from ROS [geometry_msgs]{.title-ref} to dual quaternions and vice versa. For the dual_quaternions repo, see dual_quaternions.
Installation
pip
``` {.sourceCode .bash} pip install dual_quaternions
### ROS package
Release into apt is on its way. Until then you\'ll have to build the
catkin package from source.
``` {.sourceCode .bash}
cd ~/catkin_ws/src
git clone https://github.com/Achllle/dual_quaternions_ros
cd ..
rosdep install --from-paths src/dual_quaternions_ros --ignore-src
catkin_make
Requirements
- dual_quaternions
- geometry_msgs
Usage
Import using:
from dual_quaternions_ros import from_ros, to_ros_pose, to_ros_transform
NOTE: there is no concept of 'from' and 'to' as frame names aren't tracked or used (e.g. use of Pose iso PoseStamped). It is up to the user to keep track of those to avoid picking a convention (active vs. passive)
Publishing and getting transforms from tf
This package purposefully doesn't have methods to receive and publish transforms to tf. Instead, it supports converting transforms to various ROS messages so you can use the standard way of interfacing: :
br = tf2_ros.TransformBroadcaster()
T_odom_baselink = DualQuaternion(...)
msg = geometry_msgs.msg.TransformStamped()
msg.transform = T_odom_baselink.to_ros_transform
msg.header.frame_id = 'odom'
msg.child_frame_id = 'base_link'
br.sendTransform(msg)
Changelog for package dual_quaternions_ros
0.1.4 (2020-07-07)
- Remove find_package (build) dependencies in dq_ros: not needed during build, just at runtime
- Contributors: Achille
0.1.3 (2020-05-29)
- Merge pull request #53 from Achllle/ros_only Split up into dual_quaternions and dual_quaternions_ros
- Omitted: this repository used to host the dual_quaternions python package before it was split up and moved to a separate repo (dual_quaternions)
- Contributors: Achille, Achille Verheye
Wiki Tutorials
Package Dependencies
Deps | Name |
---|---|
rospy | |
geometry_msgs | |
catkin | |
dual_quaternions |