-
Notifications
You must be signed in to change notification settings - Fork 20
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
calc_grasppoints_action_server.cpp integral not declared #6
Comments
"integral" is part of opencv (opencv2). Is opencv installed? In earlier ROS versions this was done automatically. Which ROS version is installed? |
I am using ROS kinetic and Opencv has not been installed yet. Thank you so much for your answer. |
Hey, is it compatible with opencv3? I am using kinetic as well but got the same error, guess my CMakeLists has not the right configuration... |
Hi Belidan,
sorry for the slow response.
Could you solve the issue in the meantime?
Regards,
David
Dr. David Fischinger
Leithastraße 16/45
1200 Wien
Tel.: +43 650 4109097
[email protected] <[email protected]>
2018-06-18 15:34 GMT+02:00 Belidan <[email protected]>:
… Hey, is it compatible with opencv3? I am using kinetic as well but got the
same error, guess my CMakeLists has not the right configuration...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHKgR89rMMeW4RIdfoDgOkSvjswMJOnCks5t96xagaJpZM4NKA-w>
.
|
Hi Belidan,
maybe this conversation with *Amarnath* may help you. I think I did not
test it with OpenCV3, and in the newest version of my company the OpenCV
part was completely reimplemented from scratch, and hence the dependency is
not needed anymore:
* Amarnath Reddy: *
*Hi David,I proceeded further even after warning message from libsvm
compilation.when I have done catkin_make to build haf_grasping I have got
following
error./home/amarnath/catkin_ws/src/haf_grasping/src/calc_grasppoints_action_server.cpp:
In member function ‘void CCalc_Grasppoints::calc_intimage(int,
int)’:/home/amarnath/catkin_ws/src/haf_grasping/src/calc_grasppoints_action_server.cpp:592:49:
error: ‘integral’ was not declared in this scope integral(cvheightsmat,
heightsIntegral,CV_64FC1)Can you suggest me how to overcome
this?Thanks&Regards,Amarnath.*
*David Fischinger, 15. Apr. Hi Amarnath ,there seems to be an issue
with a dependency for OpenCV.The function *integral* is from OpenCV. So try
to check if opencv in installed and the dependency is set
accordingly.Regards,David*
*Amarnath Reddy,15. Apr. an michHi David,I have already installed
opencv3 in ROS kinetic after going through the comment made by you on the
issue opened in
Github.(#6
<#6>).Even after that
I am getting same error.I think I have to change dependencies in
CMakeLists. I have installed image_geometry,cv_bridge and opencv3 through
binaries.Can you please suggest me which part I should edit? CMakeLists.txt
is attached herewith .Thanks in advance and sorry for
inconvenience.Regards.*
*David Fischinger, 19. Apr. Hi Amarnath,I am not sure. Could you solve
the problem inbetween?Could you test if OpenCV is really found?Maybe a
configuration/path is not set?Regards,David*
*Amarnath Reddy, 20. Apr.Hi David,I was able to build the package
successfully.I had to append openCV include directories to include
directories tag in CMakeLists and opencv2/opencv.hpp header file in action
server source code.When i tried to launch the package with "roslaunch
haf_grasping haf_grasping_all.launch", I am getting following
error:process[rviz-1]: started with pid [20555]terminate called after
throwing an instance of 'pluginlib::CreateClassException' what():
MultiLibraryClassLoader: Could not create class of type
rviz::MONO8PCTransformerCan you let me know the way forward?Thanks in
Advance.Regards,Amarnath.*
*David Fischinger, 21. Apr. Hi Amarnath ,looks to me like a more
general (not HAF specific) issue. Does rviz run if you only start rviz?*
*Amarnath Reddy, 21. Apr. Hi David,I have later found that it is an
issue with rviz due to ros update I have done to install open CV. I have
opened an issue in ros-visualization repo regarding that.Without rviz
haf_grasping is working fine and grasp positions are displayed in
terminal,when I tested with the sample .pcd file in the repo.Thanks for the
assistance.Regards,Amarnath.Regards,Amarnath.*
*David Fischinger, 22. Apr. Hi Amarnath ,I am happy to hear that. Thank
you for reporting my your solution(s).Kind regards,David*
Regards,
David
Dr. David Fischinger
Leithastraße 16/45
1200 Wien
Tel.: +43 650 4109097
[email protected] <[email protected]>
2018-06-24 17:30 GMT+02:00 David Fischinger <[email protected]>:
… Hi Belidan,
sorry for the slow response.
Could you solve the issue in the meantime?
Regards,
David
Dr. David Fischinger
Leithastraße 16/45
1200 Wien
Tel.: +43 650 4109097
***@***.*** ***@***.***>
2018-06-18 15:34 GMT+02:00 Belidan ***@***.***>:
> Hey, is it compatible with opencv3? I am using kinetic as well but got
> the same error, guess my CMakeLists has not the right configuration...
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#6 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AHKgR89rMMeW4RIdfoDgOkSvjswMJOnCks5t96xagaJpZM4NKA-w>
> .
>
|
Ahh thank you for the conversation. It really helped me out. The information to add the header file to the action server source code was very helpful. now its working fine :) |
Hi Dimitrij,
you can do it like this:
> rosservice call /haf_grasping/set_grasp_center "graspsearchcenter: x: 0.10 y: 0.0 z: 0.0"
This sets the center point of the area where a grasp is searched. You can
also define the size of the area around this point.
(See chapter 3.2 here: http://wiki.ros.org/haf_grasping)
Regards,
David
Dr. David Fischinger
Leithastraße 16/45
1200 Wien
Tel.: +43 650 4109097
[email protected] <[email protected]>
2018-06-25 12:24 GMT+02:00 Belidan <[email protected]>:
… Ahh thank you for the conversation. It really helped me out. The
information to add the header file to the action server source code was
very helpful. now its working fine :) Do you have an interface or topic
from where i can tell the haf to set a new grasp_center_point?
Kind Regards, Dimitrij
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHKgR3XBPGRqCJDwZK1X3OhXeZJERa4Dks5uALp7gaJpZM4NKA-w>
.
|
I was following the tutorial on ROS and when I catkin_make the package, there is an error in calc_grasppoints_action_server.cpp, line 592: 'integral' was not declared.
Did I miss something?
The text was updated successfully, but these errors were encountered: