Comments (3)
From this report, I'm assuming that you are using phidgets on Kinetic or Melodic. Can you please confirm which one you are using?
Assuming that is true, than the code that does the setting is here:
You can see that it sets res.success
to the inverse of what the state is. It is kind of odd behavior, I agree. Maybe @mintar can shed some light on why it was done that way originally?
I will point out that in the noetic branch (and the in the ROS 2 branches), the state gets set properly and success always gets set to true
.
from phidgets_drivers.
That bug seems to have been introduced in 2110921:
- A new function
IK::setOutputState
was introduced which returns!CPhidgetInterfaceKit_setOutputState
(notice the "!"):
2110921#diff-dd8b044942a7eb33f665646f51775f09d54e8cf6880d53a05b70f508152d55d4R55-R59
- The function call to
!CPhidgetInterfaceKit_setOutputState
was replaced by!setOutputState
, but it should have been justsetOutputState
:
2110921#diff-7e6292f6c639563aabec4ae31525423eb0f72156f927be1a013f4487eafbc3a7L96-R95
I've just pushed a commit that fixes this (ca16fca). I'm closing this issue, but feel free to reopen if you want to continue the discussion.
from phidgets_drivers.
I've just pushed a commit that fixes this (ca16fca). I'm closing this issue, but feel free to reopen if you want to continue the discussion.
Thanks!
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.