Pyspacemouse axis conventions get a sane HID default option
The LEGACY convention was called 'insane' – here's how to fix it.
The pyspacemouse library, widely used in ROS projects for controlling SpaceMouse 3D input devices, has long suffered from confusing axis conventions. A new contributor has added documentation and multiple axis convention options, including a proper HID (Human Interface Device) standard. The LEGACY convention, which the maintainer calls 'frankly insane', will eventually be replaced as the default. Users can already try the new options by installing from the GitHub repository via pip. This update is especially relevant for teleoperation and twist command generation in ROS2, where consistent axis mapping is critical. The project encourages testing and feedback before the changes reach PyPI.
The move to HID conventions aligns with industry standards and reduces the need for manual axis remapping. It follows broader discussions in the ROS community about Python ecosystem flexibility, seen in proposals to relax strict Python packaging rules. For developers working on robotic arms, mobile bases, or any system using a SpaceMouse for teleoperation, this update promises a smoother setup and more intuitive control. The maintainer has also linked related topics on ROS discourse about new teleop twist packages and testing requests, indicating active development around this feature. With the default change still pending, early adopters can help shape the final implementation.