Comments (8)
For ROS2 rolling, we could even directly remove the old topic, right? My understanding is that breaking changes in rolling are okay, that's what it's for, correct?
That is an option, yes. Though if we do that directly, it doesn't give downstream users any time to make the transition; they'll just break when they update next.
My suggestion for ROS 2 is to do the following:
- Create a new branch for Rolling. Leave the
foxy
andgalactic
branches as-is. - Develop a patch for Rolling where we add in the new topic, publishing
sensor_msgs/msg/Temperature
. Make sure to document it, and that the old topic is deprecated. - Review and merge that patch into Rolling.
- Release that code into Rolling.
- Backport the patch from step 2 into Galactic and Foxy (this is an addition, so it should be fine for those).
- When Humble branches off (in about two weeks), make a new
humble
branch. - At that point, we can remove the old float64 topic from Rolling, since everyone on Foxy, Galactic, and Humble have both the old and new topic available.
Does that make sense?
from phidgets_drivers.
Yes, sensor_msgs/Temperature
is a much better message type, and we should absolutely use it. The sensor doesn't output variance, so we don't have any use for that field, but timestamping is very useful and one should always use specific message types if possible.
You are right about the breaking change however. ROS uses a Tick-Tock model, so the proper way would be to add a new output topic of type sensor_msgs/Temperature
while keeping the float64
topic, and deprecate the float64
topic. Then on the next ROS release the float64
topic can be removed.
This is a bit problematic for ROS1 noetic, because there won't be a next ROS release (at least not from OSRF, it would have to be community-supported). But I guess we should still stick to the Tick-Tock model. @clalancette , any thoughts?
from phidgets_drivers.
This is a bit problematic for ROS1 noetic, because there won't be a next ROS release (at least not from OSRF, it would have to be community-supported). But I guess we should still stick to the Tick-Tock model. @clalancette , any thoughts?
Agreed with everything you've said. For Noetic, my suggestion is to just add a new topic that publishes the new sensor_msgs/Temperature
; that will just live forever. For ROS 2, we can add the same new topic, with the view towards eventually removing the old topic.
from phidgets_drivers.
For ROS2 rolling, we could even directly remove the old topic, right? My understanding is that breaking changes in rolling are okay, that's what it's for, correct?
from phidgets_drivers.
Yeah, it's not nice to sneak in breaking changes so close to the Humble release, so I agree.
Now all we need is somebody to do it! @J-C-Haley, are you up for it? It's okay if you only do the Noetic part if you are not a ROS2 user yet.
from phidgets_drivers.
Thanks for explaining @clalancette! I don't use ROS 2 yet, I can add a the topic into the noetic.
As part of this, I'm want to make it to read & publish from all four thermocouples on a TMP1101_1, can anyone can test against a single thermocouple phidget?
from phidgets_drivers.
Unfortunately, I don't have any thermocouple phidgets, so I can't test this.
from phidgets_drivers.
Ok, added a PR for the noetic branch! There will now be a temperature_{channel} topic, which takes a channel parameter from launch and now allows for multiple thermocouples on the same reader.
If it's fine with you, I'll leave the patching & merging on other branches to someone with more git experience?
from phidgets_drivers.
Related Issues (20)
- Allow configuring encoder IOMode HOT 2
- phidgets_high_speed_encoder regression: duplicated joint state angles in all axis
- Fix gcc warnings on Ubuntu 22.04 HOT 1
- Port #127 to ROS2 (Add support for VINT networkhub) HOT 5
- Port #134 to ROS2 (sensor_msgs/Temperature and multi-channel readers)
- Port #137 to ROS2 (Support configuring encoder data interval and IO Mode)
- phidgets_high_speed_encoder: Failed to open device: Timed Out HOT 1
- PhidgetSpatial Precision IMU stops data output after first run on Jetson Orin HOT 2
- Feature Request: Flag for changing NED to ENU frame HOT 3
- Humble Branch compile issues HOT 3
- Port #153 to ROS2 (Add support for onboard orientation estimation and other new PhidgetSpatial features of MOT0109 and onwards) HOT 1
- MOT0110_0: Spatial: Failed to open device: Timed Out HOT 13
- Spatial: Failed to set algorithm magnetometer gain: Operation Not Supported HOT 4
- API of MOT0109 and MOT0110 is different HOT 2
- Drivers issues with older version of Phidgets HOT 3
- PhidgetManager_setOnErrorHandler symbol not found HOT 3
- Location affect to the orientation
- Port #173 to ROS2 (Add support for Phidgets Humidity sensors)
- [ROS2] there are no estimated orientation HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phidgets_drivers.