-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
T265 with fisheye camera #20
base: master
Are you sure you want to change the base?
Conversation
randaz81
commented
Jun 11, 2021
- added IFrameGrabberImageRaw interface to stream one fisheye camera
- major refactor: a periodic thread is now used to sample the measurements from librealsense2 and store them in an internal buffer, accessed by the various get methods
- added usage example with yarprobotinterface: it instantiates the device plus multiple wrappers for yarp and ros. Just yarprobotinterface from folder app/devices/realsense2Tracking
* major refactor: a periodic thread is now used to sample the measurements from librealsense2 and store them in an internal buffer, accessed by the various get methods * added usage example with yarprobotinterface: it instantiates the device plus multiple wrappers for yarp and ros
Hi @randaz81 ! Some comments:
|
xyz.resize(3); | ||
xyz[0] = m_last_pose.translation.x; | ||
xyz[1] = m_last_pose.translation.y; | ||
xyz[2] = m_last_pose.translation.z; | ||
return true; | ||
} | ||
|
||
//------------------------------------------------------------------------------------------------------- | ||
// IAnalogSensor methods. Beware! this is just a temporary test. | ||
// This methods will be removed soon: realsesne2Tracking should NOT derive from IAnalogSensor! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a reference to the YARP release notes that deprecated IAnalogSensor
so we can propagate the info to non-IIT devs? Perhaps @drdanz knows where they can be found.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding AnalogServer:
as mentioned in the last SW update meeting, with the upcoming yarp release, deprecated devices (such as AnalogServer) will display a warning in the startup phase even if not marked as deprecated (please note: marking a device as deprecated means that, by default, it will not start at all). We are also discussing moving these devices to a separate folder.
Regarding IAnalogSensor:
Besides the deprecation, as already mentioned, this interface should be simply not used on this device, for the same reason it is not used on a control board device for getting encoder data, even if technically feasible.
I am going to open a new PR to show which is the correct way to achieve the result you want.
waiting for some stuff to be merged on yarp master by @drdanz. Maybe some changes will done also here, later.
yes, of course |
/rebase |