Comments (1)
@clalancette nice work on the upgrade to Phidget22 in the dashing branch, thank you!
You are welcome.
I was playing with a DC Motor Phidget and I noticed that although the DCMotor class API lists getBackEMF, none of the DC Motor Phidget APIs actually seem to support that function. So when I run your code I get a "[component_container-1] [ERROR] [phidgets_motors]: Motors: Failed to get back EMF for Motor channel 0: Operation Not Supported" error.
Hm, interesting. I'm pretty sure I tested it at one point and it worked with the Motor Phidget I had, but that was a while ago. I'll have to go back and test it again (probably next week).
I am happy to help you fix this or to do more testing if you do not have time. In ROS, is it better practice to not even create a publisher on an unsupported topic or is it better to publish some dummy value?
Yeah, I think it would be best for you to fix it and open a PR, as I have no good way to test it. As far as whether it is better to not publish or publish a dummy value, it is kind of a case-by-case basis. In this case I think it is most consistent with the rest of this driver to just not create the publisher at all. That way you won't be publishing bogus information.
Thanks for the report, feel free to ping me on any pull request you open.
from phidgets_drivers.
Related Issues (20)
- Allow configuring encoder IOMode HOT 2
- phidgets_high_speed_encoder regression: duplicated joint state angles in all axis
- Should thermocouple package use sensor_msgs/Temperature instead of float64? HOT 8
- 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.