[Ros-kinect] kinect_aux build failed

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Ros-kinect] kinect_aux build failed

K Chen
Hi,

I used rosinstall to get kinect stack and wanted to build kinect_aux package, but failed:

  [  0%] Built target rospack_genmsg_libexe
  make[3]: Entering directory `/home/kai/kinect-devel/kinect/kinect_aux/build'
  make[3]: Leaving directory `/home/kai/kinect-devel/kinect/kinect_aux/build'
  [  0%] Built target rosbuild_precompile
  make[3]: Entering directory `/home/kai/kinect-devel/kinect/kinect_aux/build'
  make[3]: Leaving directory `/home/kai/kinect-devel/kinect/kinect_aux/build'
  make[3]: Entering directory `/home/kai/kinect-devel/kinect/kinect_aux/build'
  [100%] Building CXX object CMakeFiles/kinect_aux_node.dir/src/kinect_aux.o
  In file included from /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_serialization/include/ros/serialization.h:35,
                   from /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:34,
                   from /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:32,
                   from /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/include/ros/ros.h:45,
                   from /home/kai/kinect-devel/kinect/kinect_aux/src/kinect_aux.cpp:2:
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::MD5Sum<M>::value(const M&) [with M = double]’:
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:250:   instantiated from ‘const char* ros::message_traits::md5sum(const M&) [with M = double]’
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:111:   instantiated from ‘void ros::Publisher::publish(const M&) const [with M = double]’
  /home/kai/kinect-devel/kinect/kinect_aux/src/kinect_aux.cpp:107:   instantiated from here
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:121: error: request for member ‘__getMD5Sum’ in ‘m’, which is of non-class type ‘const double’
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::DataType<M>::value(const M&) [with M = double]’:
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:259:   instantiated from ‘const char* ros::message_traits::datatype(const M&) [with M = double]’
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:111:   instantiated from ‘void ros::Publisher::publish(const M&) const [with M = double]’
  /home/kai/kinect-devel/kinect/kinect_aux/src/kinect_aux.cpp:107:   instantiated from here
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:138: error: request for member ‘__getDataType’ in ‘m’, which is of non-class type ‘const double’
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::MD5Sum<M>::value(const M&) [with M = unsigned char]’:
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:250:   instantiated from ‘const char* ros::message_traits::md5sum(const M&) [with M = unsigned char]’
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:111:   instantiated from ‘void ros::Publisher::publish(const M&) const [with M = uint8_t]’
  /home/kai/kinect-devel/kinect/kinect_aux/src/kinect_aux.cpp:109:   instantiated from here
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:121: error: request for member ‘__getMD5Sum’ in ‘m’, which is of non-class type ‘const unsigned char’
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h: In static member function ‘static const char* ros::message_traits::DataType<M>::value(const M&) [with M = unsigned char]’:
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:259:   instantiated from ‘const char* ros::message_traits::datatype(const M&) [with M = unsigned char]’
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:111:   instantiated from ‘void ros::Publisher::publish(const M&) const [with M = uint8_t]’
  /home/kai/kinect-devel/kinect/kinect_aux/src/kinect_aux.cpp:109:   instantiated from here
  /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:138: error: request for member ‘__getDataType’ in ‘m’, which is of non-class type ‘const unsigned char’
 

I have diamondback installed and also have a kinect binary release version installed using apt-get. Is it a incompatible problem or something?

I just want to use kinect_aux to control kinect motors, but diamondback-kinect stack seems not to have this package in it, so I did these to get it but failed.

Thanks for any suggestion. :)

--
Regards

University of Science and Technology of China
School of Computer Science and Technology

K.Chen

_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Ros-kinect] kinect_aux build failed

Stéphane Magnenat
Hi,

I've just fixed the compilation on diamondback. Thank you for the report
and sorry for any inconvenience.

Have a nice day,

Stéphane

--
Dr Stéphane Magnenat
http://stephane.magnenat.net
_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Ros-kinect] kinect_aux build failed

K Chen
Thanks! It works now.

BTW, are there any package(s) that can access kinect's voice info? Or anywhere in development?

2011/2/25 Stéphane Magnenat <[hidden email]>
Hi,

I've just fixed the compilation on diamondback. Thank you for the report
and sorry for any inconvenience.

Have a nice day,

Stéphane

--
Dr Stéphane Magnenat
http://stephane.magnenat.net
_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect



--
Regards

University of Science and Technology of China
School of Computer Science and Technology

K.Chen

_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Ros-kinect] kinect_aux build failed

Stéphane Magnenat
> BTW, are there any package(s) that can access kinect's voice info? Or
> anywhere in development?

As far as I read (not tested), the NI driver should provide access to audio.

Stéphane

--
Dr Stéphane Magnenat
http://stephane.magnenat.net
_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Ros-kinect] kinect_aux build failed

Ken Conley

The ni audio drivers only work with the primesense cameras. The kinect has different audio hardware.

Ken

On Feb 28, 2011 12:45 AM, "Stéphane Magnenat" <[hidden email]> wrote:
>> BTW, are there any package(s) that can access kinect's voice info? Or
>> anywhere in development?
>
> As far as I read (not tested), the NI driver should provide access to audio.
>
> Stéphane
>
> --
> Dr Stéphane Magnenat
> http://stephane.magnenat.net
> _______________________________________________
> Ros-kinect mailing list
> [hidden email]
> https://code.ros.org/mailman/listinfo/ros-kinect

_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Ros-kinect] kinect_aux build failed

rusu
Administrator
In reply to this post by Stéphane Magnenat
Stéphane,

The ROS NI driver doesn't expose that yet, as it would only be useful to a few people that have the PSDK reference
cameras (the Kinect audio has different hardware).

Cheers,
Radu.
--
http://pointclouds.org

On 02/28/2011 12:45 AM, Stéphane Magnenat wrote:
>> BTW, are there any package(s) that can access kinect's voice info? Or
>> anywhere in development?
>
> As far as I read (not tested), the NI driver should provide access to audio.
>
> Stéphane
>
_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Ros-kinect] kinect_aux build failed

Stéphane Magnenat
Hi,

> The ROS NI driver doesn't expose that yet, as it would only be useful to
> a few people that have the PSDK reference cameras (the Kinect audio has
> different hardware).

Thanks for the precision. Does anyone knows whether the kinect audio is
connected on the same device as the accelerometers? If so, it would be
nice to add it to kinect_aux once the reverse engineer is completed.

Have a nice day,

Stéphane

--
Dr Stéphane Magnenat
http://stephane.magnenat.net
_______________________________________________
Ros-kinect mailing list
[hidden email]
https://code.ros.org/mailman/listinfo/ros-kinect
Loading...