You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
this is a copy of my post on ROS answers, but i think here might be a better place to ask:
im trying to get the data from the PhidgetBridge 4-Input into ros noetic (e.g. publishing the sensor values on a topic). As far as i've understood this device is not supported yet. Is that correct or could i reuse one of the existing packes in phidgets_drivers? Maybe with minor modification?
So far i've tried using the analog input nodelet roslaunch phidgets_analog_inputs analog_inputs.launch(pulled and built the noetic branch) however i got the connection problem: [ERROR] [1614854548.863487183]: AnalogInputs: Failed to open device: Timed Out(device is pluged in usb port an visible in /dev)
If unsupported, i'm willing to try to contribute, however as i've never done anything alike i would appriciate any reccomendation or help on what steps to take?
The text was updated successfully, but these errors were encountered:
The phidgets_analog_inputs package was written with the PhidgetInterfaceKit 8/8/8 or PhidgetInterfaceKit 2/2/2 in mind, but I believe you should be able to make it work for the PhidgetBridge as well with some minimal changes.
ret = Phidget_getDeviceChannelCount(handle, PHIDCHCLASS_VOLTAGEINPUT,
&input_count_);
In this line, we're trying to open a device with ChannelClass PHIDCHCLASS_VOLTAGEINPUT. According to the API, the PhidgetBridge has a ChannelClass of PHIDCHCLASS_VOLTAGERATIOINPUT instead. This is because the Bridge doesn't provide analog inputs, but instead voltage ratio inputs.
It's probably best if you look at the following files:
Then copy all *analog_input* to something new, like *voltage_ratio_input* and make the relevant changes there. I'm suggesting copying this instead of modifying it in place because "voltage ratio input" is a new kind of input that we don't yet have support for, so it shouldn't be mixed in with the analog input. There are probably some more things that need to be adjusted as well in those files.
Hi
this is a copy of my post on ROS answers, but i think here might be a better place to ask:
im trying to get the data from the PhidgetBridge 4-Input into ros noetic (e.g. publishing the sensor values on a topic). As far as i've understood this device is not supported yet. Is that correct or could i reuse one of the existing packes in phidgets_drivers? Maybe with minor modification?
So far i've tried using the analog input nodelet
roslaunch phidgets_analog_inputs analog_inputs.launch
(pulled and built the noetic branch) however i got the connection problem:[ERROR] [1614854548.863487183]: AnalogInputs: Failed to open device: Timed Out
(device is pluged in usb port an visible in /dev)If unsupported, i'm willing to try to contribute, however as i've never done anything alike i would appriciate any reccomendation or help on what steps to take?
The text was updated successfully, but these errors were encountered: