Quantcast

Cartesian interface with precompiled binaries

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

Cartesian interface with precompiled binaries

Shukla Ashwini
Hi All,

I am trying to run the cartesian interface example on precompiled yarp/icub installation. On compiling the example it gives undefined reference to the class constructor of iCubArmCalibratorJ8. Manually checking the iCubDev library I found no trace of any such class.

Removing the line " YARP_REGISTER_DEVICES(icubmod)" gets rid of the compilation error.



Thanks a lot for your help.



- Ashwini




------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cartesian interface with precompiled binaries

pattacini

Hi Ashwini,

 

That line is mandatory in the cartesian interface example, hence it cannot be removed. By removing it, indeed, you should be unable to control the robot or even it’s likely you get a run-time error.

 

With precompiled installation you mean the dependencies and not the icub modules themselves, right? The Cartesian interface example belongs to the bundle.

 

Cheers,

Ugo

 

 

From: Ashwini Shukla [mailto:[hidden email]]
Sent: 12 September 2014 17:42
To: [hidden email]
Subject: [rc-hackers] Cartesian interface with precompiled binaries

 

Hi All,

I am trying to run the cartesian interface example on precompiled yarp/icub installation. On compiling the example it gives undefined reference to the class constructor of iCubArmCalibratorJ8. Manually checking the iCubDev library I found no trace of any such class.

Removing the line " YARP_REGISTER_DEVICES(icubmod)" gets rid of the compilation error.



Thanks a lot for your help.



- Ashwini



------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cartesian interface with precompiled binaries

Shukla Ashwini
Hi Ugo

I installed using the following instructions

http://wiki.icub.org/wiki/Linux:Installation_from_binaries

This should install the dependencies as well as icub modules, no?

Thanks
Ashwini

On 09/12/2014 06:15 PM, Ugo Pattacini wrote:

Hi Ashwini,

 

That line is mandatory in the cartesian interface example, hence it cannot be removed. By removing it, indeed, you should be unable to control the robot or even it’s likely you get a run-time error.

 

With precompiled installation you mean the dependencies and not the icub modules themselves, right? The Cartesian interface example belongs to the bundle.

 

Cheers,

Ugo

 

 

From: Ashwini Shukla [[hidden email]]
Sent: 12 September 2014 17:42
To: [hidden email]
Subject: [rc-hackers] Cartesian interface with precompiled binaries

 

Hi All,

I am trying to run the cartesian interface example on precompiled yarp/icub installation. On compiling the example it gives undefined reference to the class constructor of iCubArmCalibratorJ8. Manually checking the iCubDev library I found no trace of any such class.

Removing the line " YARP_REGISTER_DEVICES(icubmod)" gets rid of the compilation error.



Thanks a lot for your help.



- Ashwini




------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cartesian interface with precompiled binaries

Shukla Ashwini
In reply to this post by pattacini
....also, just to make clear, I am trying to replicate this example

http://eris.liralab.it/iCub/main/dox/html/icub_cartesian_interface.html

- Ashwini

On 09/12/2014 06:15 PM, Ugo Pattacini wrote:

Hi Ashwini,

 

That line is mandatory in the cartesian interface example, hence it cannot be removed. By removing it, indeed, you should be unable to control the robot or even it’s likely you get a run-time error.

 

With precompiled installation you mean the dependencies and not the icub modules themselves, right? The Cartesian interface example belongs to the bundle.

 

Cheers,

Ugo

 

 

From: Ashwini Shukla [[hidden email]]
Sent: 12 September 2014 17:42
To: [hidden email]
Subject: [rc-hackers] Cartesian interface with precompiled binaries

 

Hi All,

I am trying to run the cartesian interface example on precompiled yarp/icub installation. On compiling the example it gives undefined reference to the class constructor of iCubArmCalibratorJ8. Manually checking the iCubDev library I found no trace of any such class.

Removing the line " YARP_REGISTER_DEVICES(icubmod)" gets rid of the compilation error.



Thanks a lot for your help.



- Ashwini




------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cartesian interface with precompiled binaries

pattacini
In reply to this post by Shukla Ashwini

Yep, so you should have the cartesianInterfaceExample module already available. Can you launch it and see whether it runs successfully?

 

 

From: Ashwini Shukla [mailto:[hidden email]]
Sent: 12 September 2014 19:05
To: Ugo Pattacini
Cc: [hidden email]
Subject: Re: [rc-hackers] Cartesian interface with precompiled binaries

 

Hi Ugo

I installed using the following instructions

http://wiki.icub.org/wiki/Linux:Installation_from_binaries

This should install the dependencies as well as icub modules, no?

Thanks
Ashwini

On 09/12/2014 06:15 PM, Ugo Pattacini wrote:

Hi Ashwini,

 

That line is mandatory in the cartesian interface example, hence it cannot be removed. By removing it, indeed, you should be unable to control the robot or even it’s likely you get a run-time error.

 

With precompiled installation you mean the dependencies and not the icub modules themselves, right? The Cartesian interface example belongs to the bundle.

 

Cheers,

Ugo

 

 

From: Ashwini Shukla [[hidden email]]
Sent: 12 September 2014 17:42
To: [hidden email]
Subject: [rc-hackers] Cartesian interface with precompiled binaries

 

Hi All,

I am trying to run the cartesian interface example on precompiled yarp/icub installation. On compiling the example it gives undefined reference to the class constructor of iCubArmCalibratorJ8. Manually checking the iCubDev library I found no trace of any such class.

Removing the line " YARP_REGISTER_DEVICES(icubmod)" gets rid of the compilation error.



Thanks a lot for your help.



- Ashwini



 


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cartesian interface with precompiled binaries

pattacini
In reply to this post by Shukla Ashwini

Therefore I imagine you’re compiling your own user code according to the guidelines explained in that tutorial, and, during compilation, you get that error you’ve reported. Is that right?

 

Could you post somehow the code along with its CMakeLists.txt file?

 

Ugo

 

From: Ashwini Shukla [mailto:[hidden email]]
Sent: 12 September 2014 19:06
To: Ugo Pattacini
Cc: [hidden email]
Subject: Re: [rc-hackers] Cartesian interface with precompiled binaries

 

....also, just to make clear, I am trying to replicate this example

http://eris.liralab.it/iCub/main/dox/html/icub_cartesian_interface.html

- Ashwini

On 09/12/2014 06:15 PM, Ugo Pattacini wrote:

Hi Ashwini,

 

That line is mandatory in the cartesian interface example, hence it cannot be removed. By removing it, indeed, you should be unable to control the robot or even it’s likely you get a run-time error.

 

With precompiled installation you mean the dependencies and not the icub modules themselves, right? The Cartesian interface example belongs to the bundle.

 

Cheers,

Ugo

 

 

From: Ashwini Shukla [[hidden email]]
Sent: 12 September 2014 17:42
To: [hidden email]
Subject: [rc-hackers] Cartesian interface with precompiled binaries

 

Hi All,

I am trying to run the cartesian interface example on precompiled yarp/icub installation. On compiling the example it gives undefined reference to the class constructor of iCubArmCalibratorJ8. Manually checking the iCubDev library I found no trace of any such class.

Removing the line " YARP_REGISTER_DEVICES(icubmod)" gets rid of the compilation error.



Thanks a lot for your help.



- Ashwini



 


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cartesian interface with precompiled binaries

Shukla Ashwini
Yes, I was trying to compile the code given in the tutorial. And it gives that compilation error.

I am attaching the files.

Thanks!
Ashwini


On 09/12/2014 08:46 PM, Ugo Pattacini wrote:

Therefore I imagine you’re compiling your own user code according to the guidelines explained in that tutorial, and, during compilation, you get that error you’ve reported. Is that right?

 

Could you post somehow the code along with its CMakeLists.txt file?

 

Ugo

 

From: Ashwini Shukla [[hidden email]]
Sent: 12 September 2014 19:06
To: Ugo Pattacini
Cc: [hidden email]
Subject: Re: [rc-hackers] Cartesian interface with precompiled binaries

 

....also, just to make clear, I am trying to replicate this example

http://eris.liralab.it/iCub/main/dox/html/icub_cartesian_interface.html

- Ashwini

On 09/12/2014 06:15 PM, Ugo Pattacini wrote:

Hi Ashwini,

 

That line is mandatory in the cartesian interface example, hence it cannot be removed. By removing it, indeed, you should be unable to control the robot or even it’s likely you get a run-time error.

 

With precompiled installation you mean the dependencies and not the icub modules themselves, right? The Cartesian interface example belongs to the bundle.

 

Cheers,

Ugo

 

 

From: Ashwini Shukla [[hidden email]]
Sent: 12 September 2014 17:42
To: [hidden email]
Subject: [rc-hackers] Cartesian interface with precompiled binaries

 

Hi All,

I am trying to run the cartesian interface example on precompiled yarp/icub installation. On compiling the example it gives undefined reference to the class constructor of iCubArmCalibratorJ8. Manually checking the iCubDev library I found no trace of any such class.

Removing the line " YARP_REGISTER_DEVICES(icubmod)" gets rid of the compilation error.



Thanks a lot for your help.



- Ashwini



 



------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers

CMakeLists.txt (465 bytes) Download Attachment
cartesian_motion.cpp (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cartesian interface with precompiled binaries

pattacini

Hi Ashwini,

 

If you replace the following line:

TARGET_LINK_LIBRARIES(cartesian_motion ${YARP_LIBRARIES} ${ICUB_LIBRARIES} icubmod)

 

With the new line:

TARGET_LINK_LIBRARIES(cartesian_motion ${YARP_LIBRARIES} icubmod)

 

Then you’ll get it work.

 

The cmake variable ICUB_LIBRARIES does somehow contain references to some libraries that have not been included in the bundle.

Maybe the maintainer of the bundle can look into that.

 

Said that, it’s always a good rule to compile against the minimum set of libraries you need.

 

Ciao,

Ugo

 

 

From: Ashwini Shukla [mailto:[hidden email]]
Sent: 15 September 2014 17:40
To: Ugo Pattacini
Cc: [hidden email]
Subject: Re: [rc-hackers] Cartesian interface with precompiled binaries

 

Yes, I was trying to compile the code given in the tutorial. And it gives that compilation error.

I am attaching the files.

Thanks!
Ashwini


On 09/12/2014 08:46 PM, Ugo Pattacini wrote:

Therefore I imagine you’re compiling your own user code according to the guidelines explained in that tutorial, and, during compilation, you get that error you’ve reported. Is that right?

 

Could you post somehow the code along with its CMakeLists.txt file?

 

Ugo

 

From: Ashwini Shukla [[hidden email]]
Sent: 12 September 2014 19:06
To: Ugo Pattacini
Cc: [hidden email]
Subject: Re: [rc-hackers] Cartesian interface with precompiled binaries

 

....also, just to make clear, I am trying to replicate this example

http://eris.liralab.it/iCub/main/dox/html/icub_cartesian_interface.html

- Ashwini

On 09/12/2014 06:15 PM, Ugo Pattacini wrote:

Hi Ashwini,

 

That line is mandatory in the cartesian interface example, hence it cannot be removed. By removing it, indeed, you should be unable to control the robot or even it’s likely you get a run-time error.

 

With precompiled installation you mean the dependencies and not the icub modules themselves, right? The Cartesian interface example belongs to the bundle.

 

Cheers,

Ugo

 

 

From: Ashwini Shukla [[hidden email]]
Sent: 12 September 2014 17:42
To: [hidden email]
Subject: [rc-hackers] Cartesian interface with precompiled binaries

 

Hi All,

I am trying to run the cartesian interface example on precompiled yarp/icub installation. On compiling the example it gives undefined reference to the class constructor of iCubArmCalibratorJ8. Manually checking the iCubDev library I found no trace of any such class.

Removing the line " YARP_REGISTER_DEVICES(icubmod)" gets rid of the compilation error.



Thanks a lot for your help.



- Ashwini




 

 


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cartesian interface with precompiled binaries

Shukla Ashwini
I see! Thanks a lot for your help.

- Ashwini

On 09/15/2014 06:43 PM, Ugo Pattacini wrote:

Hi Ashwini,

 

If you replace the following line:

TARGET_LINK_LIBRARIES(cartesian_motion ${YARP_LIBRARIES} ${ICUB_LIBRARIES} icubmod)

 

With the new line:

TARGET_LINK_LIBRARIES(cartesian_motion ${YARP_LIBRARIES} icubmod)

 

Then you’ll get it work.

 

The cmake variable ICUB_LIBRARIES does somehow contain references to some libraries that have not been included in the bundle.

Maybe the maintainer of the bundle can look into that.

 

Said that, it’s always a good rule to compile against the minimum set of libraries you need.

 

Ciao,

Ugo

 

 

From: Ashwini Shukla [[hidden email]]
Sent: 15 September 2014 17:40
To: Ugo Pattacini
Cc: [hidden email]
Subject: Re: [rc-hackers] Cartesian interface with precompiled binaries

 

Yes, I was trying to compile the code given in the tutorial. And it gives that compilation error.

I am attaching the files.

Thanks!
Ashwini


On 09/12/2014 08:46 PM, Ugo Pattacini wrote:

Therefore I imagine you’re compiling your own user code according to the guidelines explained in that tutorial, and, during compilation, you get that error you’ve reported. Is that right?

 

Could you post somehow the code along with its CMakeLists.txt file?

 

Ugo

 

From: Ashwini Shukla [[hidden email]]
Sent: 12 September 2014 19:06
To: Ugo Pattacini
Cc: [hidden email]
Subject: Re: [rc-hackers] Cartesian interface with precompiled binaries

 

....also, just to make clear, I am trying to replicate this example

http://eris.liralab.it/iCub/main/dox/html/icub_cartesian_interface.html

- Ashwini

On 09/12/2014 06:15 PM, Ugo Pattacini wrote:

Hi Ashwini,

 

That line is mandatory in the cartesian interface example, hence it cannot be removed. By removing it, indeed, you should be unable to control the robot or even it’s likely you get a run-time error.

 

With precompiled installation you mean the dependencies and not the icub modules themselves, right? The Cartesian interface example belongs to the bundle.

 

Cheers,

Ugo

 

 

From: Ashwini Shukla [[hidden email]]
Sent: 12 September 2014 17:42
To: [hidden email]
Subject: [rc-hackers] Cartesian interface with precompiled binaries

 

Hi All,

I am trying to run the cartesian interface example on precompiled yarp/icub installation. On compiling the example it gives undefined reference to the class constructor of iCubArmCalibratorJ8. Manually checking the iCubDev library I found no trace of any such class.

Removing the line " YARP_REGISTER_DEVICES(icubmod)" gets rid of the compilation error.



Thanks a lot for your help.



- Ashwini




 

 



------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Robotcub-hackers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/robotcub-hackers
Loading...