Closed larrylisky closed 8 years ago
TIt is intentional considering that new board developers would typically link to TI3DToF library and not board-specific libraries directly.
Is this a requirement? If so, I can do the necessary changes. But, note that the board-specific libraries are installed in /usr/lib/voxel and not /usr/lib. So, you'll have to set LD_LIBRARY_PATH to point to /usr/lib/voxel when running programs which link to these libraries.
On 17 November 2015 at 22:02, Larry Li notifications@github.com wrote:
Assigned #42 https://github.com/3dtof/voxelsdk/issues/42 to @hlprasu https://github.com/hlprasu.
— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/42#event-466891317.
~ Prasad Bhat
I was accessing those header files because I was trying to get setting of illum_power_percentage to work.
So far, no luck.
This is my function call:
cout << "flag=" << depthCamera->set("illum_power_percentage", 20U)
<< endl;
This is the error message.
ERROR: DepthCamera: Could not set value 20 for parameter
TintinCDKCamera(0::0451:9105::791070790962).illum_power_percentage flag=0
Any ideas?
Something in this function of ParameterTemplate class is failing...
virtual bool set(const T &value) { if(_ioType == IO_READ_ONLY || !validate(value)) { return false; }
if(_programmer.setValue(*this, _toRawValue(value), _ioType ==
IO_WRITE_ONLY)) { _value = value; return true; } else return false; }
-Larry
On 11/17/2015 11:14 AM, Prasad H L Bhat wrote:
TIt is intentional considering that new board developers would typically link to TI3DToF library and not board-specific libraries directly.
Is this a requirement? If so, I can do the necessary changes. But, note that the board-specific libraries are installed in /usr/lib/voxel and not /usr/lib. So, you'll have to set LD_LIBRARY_PATH to point to /usr/lib/voxel when running programs which link to these libraries.
On 17 November 2015 at 22:02, Larry Li notifications@github.com wrote:
Assigned #42 https://github.com/3dtof/voxelsdk/issues/42 to @hlprasu https://github.com/hlprasu.
— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/42#event-466891317.
~ Prasad Bhat
— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/42#issuecomment-157439874.
I just checked that the minimum value permitted for illum_power_percentage is 48 and maximum 100. That's the reason for failure.
In VoxelCLI, if you do
cap illum_power_percentage
when you connect a TintinCDK, you should get this information.
On 17 November 2015 at 22:58, Larry Li notifications@github.com wrote:
I was accessing those header files because I was trying to get setting of illum_power_percentage to work.
So far, no luck.
This is my function call:
cout << "flag=" << depthCamera->set("illum_power_percentage", 20U) << endl;
This is the error message.
ERROR: DepthCamera: Could not set value 20 for parameter TintinCDKCamera(0::0451:9105::791070790962).illum_power_percentage flag=0
Any ideas?
Something in this function of ParameterTemplate class is failing...
virtual bool set(const T &value) { if(_ioType == IO_READ_ONLY || !validate(value)) { return false; }
if(_programmer.setValue(*this, _toRawValue(value), _ioType == IO_WRITE_ONLY)) { _value = value; return true; } else return false; }
-Larry
On 11/17/2015 11:14 AM, Prasad H L Bhat wrote:
TIt is intentional considering that new board developers would typically link to TI3DToF library and not board-specific libraries directly.
Is this a requirement? If so, I can do the necessary changes. But, note that the board-specific libraries are installed in /usr/lib/voxel and not /usr/lib. So, you'll have to set LD_LIBRARY_PATH to point to /usr/lib/voxel when running programs which link to these libraries.
On 17 November 2015 at 22:02, Larry Li notifications@github.com wrote:
Assigned #42 https://github.com/3dtof/voxelsdk/issues/42 to @hlprasu https://github.com/hlprasu.
— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/42#event-466891317.
~ Prasad Bhat
— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/42#issuecomment-157439874.
— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/42#issuecomment-157444768.
~ Prasad Bhat
That worked!
Thanks,
-Larry
On 11/17/2015 11:41 AM, Prasad H L Bhat wrote:
I just checked that the minimum value permitted for illum_power_percentage is 48 and maximum 100. That's the reason for failure.
In VoxelCLI, if you do
cap illum_power_percentage
when you connect a TintinCDK, you should get this information.
On 17 November 2015 at 22:58, Larry Li notifications@github.com wrote:
I was accessing those header files because I was trying to get setting of illum_power_percentage to work.
So far, no luck.
This is my function call:
cout << "flag=" << depthCamera->set("illum_power_percentage", 20U) << endl;
This is the error message.
ERROR: DepthCamera: Could not set value 20 for parameter TintinCDKCamera(0::0451:9105::791070790962).illum_power_percentage flag=0
Any ideas?
Something in this function of ParameterTemplate class is failing...
virtual bool set(const T &value) { if(_ioType == IO_READ_ONLY || !validate(value)) { return false; }
if(_programmer.setValue(*this, _toRawValue(value), _ioType == IO_WRITE_ONLY)) { _value = value; return true; } else return false; }
-Larry
On 11/17/2015 11:14 AM, Prasad H L Bhat wrote:
TIt is intentional considering that new board developers would typically link to TI3DToF library and not board-specific libraries directly.
Is this a requirement? If so, I can do the necessary changes. But, note that the board-specific libraries are installed in /usr/lib/voxel and not /usr/lib. So, you'll have to set LD_LIBRARY_PATH to point to /usr/lib/voxel when running programs which link to these libraries.
On 17 November 2015 at 22:02, Larry Li notifications@github.com wrote:
Assigned #42 https://github.com/3dtof/voxelsdk/issues/42 to @hlprasu https://github.com/hlprasu.
— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/42#event-466891317.
~ Prasad Bhat
— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/42#issuecomment-157439874.
— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/42#issuecomment-157444768.
~ Prasad Bhat
— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/42#issuecomment-157448694.
Requirement to access the camera specific header is no longer there for now.
As result, I can't include TintinCDK specific header files.