Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

T265 with fisheye camera #20

wants to merge 1 commit into from

Conversation

randaz81
Copy link
Member

  • 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
@randaz81 randaz81 added the enhancement New feature or request label Jun 11, 2021
@randaz81 randaz81 self-assigned this Jun 11, 2021
@randaz81 randaz81 requested a review from Nicogene as a code owner June 11, 2021 11:24
@traversaro
Copy link
Member

Hi @randaz81 !

Some comments:

@traversaro
Copy link
Member

cc @HosameldinMohamed

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!
Copy link
Member

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.

Copy link
Member Author

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.

@robotology robotology deleted a comment from drdanz Jun 11, 2021
@randaz81
Copy link
Member Author

  • The PR seems to require #include <yarp/dev/FrameGrabberInterfaces.h> that however does not seems to installed by the latest YARP release, is this expected?

waiting for some stuff to be merged on yarp master by @drdanz. Maybe some changes will done also here, later.

yes, of course

@randaz81
Copy link
Member Author

randaz81 commented Nov 8, 2021

/rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants