-
Notifications
You must be signed in to change notification settings - Fork 4
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
How to use the driver? #1
Comments
Looks like you don't have the binary. Have you successfully compiled the
package?
Is your ROS_PACKAGE_PATH environment variable correct?
(Note that I don't really know the specifics of the package, I just saw
it's a generic error)
…On Mar 17, 2018 16:45, "Yuying Jin" ***@***.***> wrote:
I have a mindvision camera.when I use the driver , I get a error.
SUMMARY
========
PARAMETERS
* /rosdistro: kinetic
* /rosversion: 1.12.13
NODES
/
mv_camera_ros_node (mv_camera_ros/mv_camera_ros)
ROS_MASTER_URI=http://192.168.0.11:11311
ERROR: cannot launch node of type [mv_camera_ros/mv_camera_ros]: mv_camera_ros
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/opt/ros/kinetic/share
No processes to monitor
shutting down processing monitor...
... shutting down processing monitor complete
can you help me?
thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ABpFdCCktH2F7fPVCvDx6p503Nx3_5J1ks5tfM0ggaJpZM4SuuTC>
.
|
try to build it fisrt |
I compiled the package, i got error
|
you should launch the driver as a root due to a bug in the libMVSDK.so |
there is a script in the dir "scripts" named run_camera_sudo.sh take a look what it does and modify it to match your installation directory. then it should work |
Pro-tip: give the executable root ownership and add the SUID bit so you don't need to do that in the future. # go wherever your binary is
cd your_ws/devel/bin/
sudo chown root:root mv_camera_ros
sudo chmod +s mv_camera_ros |
Admin tip: contact driver's support team and ask for a fix. It is not good that app gains more permissions than it actually needs. It is a security rules violation that may lead to undesired behavior. |
this is caused by the mismatch between number of image channels in the image from driver and its OpenCV wrapper. check for channel number and set it to correct value |
I have succeeded!thanks~ Is this driver available on the ARM processor? |
I doubt it as the third party folder contains only the x86 64b .so of the
library of the camera.
If you manage to find it for arm, maybe.
…On Mar 18, 2018 16:34, "Yuying Jin" ***@***.***> wrote:
I have succeeded!thanks~
Is this driver available on the ARM processor?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABpFdJ5z_AhdKg51C5enAayY2O54qd26ks5tfhwggaJpZM4SuuTC>
.
|
I find libMVSDK.so for arm . I can build it . when i run it .i got error
|
Well, I guess you should run it on gdb or start adding prints to check out
where it's crashing and fix that cast :)
…On Tue, Mar 20, 2018, 22:15 Yuying Jin ***@***.***> wrote:
I find libMVSDK.so for arm . I can build it . when i run it .i got error
setting /run_id to 40d594ba-2c2f-11e8-8c61-001e0631da75
process[rosout-1]: started with pid [5337]
started core service [/rosout]
process[mv_camera_ros_node-2]: started with pid [5340]
terminate called after throwing an instance of 'std::bad_cast'
what(): std::bad_cast
[mv_camera_ros_node-2] process has died [pid 5340, exit code -6, cmd /home/odroid/catkin_ws/catkin_mindvision/devel/lib/mv_camera_ros/mv_camera_ros /mv_camera_ros_node/image_raw:=/image_raw __name:=mv_camera_ros_node __log:=/root/.ros/log/40d594ba-2c2f-11e8-8c61-001e0631da75/mv_camera_ros_node-2.log].
log file: /root/.ros/log/40d594ba-2c2f-11e8-8c61-001e0631da75/mv_camera_ros_node-2*.log
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABpFdC0iUZqMGXb-9eluqFC3VQZhIkuYks5tgOTPgaJpZM4SuuTC>
.
|
Here is my debug information on the ARM platform
I don't know how to solve this problem |
camera is supplied by MindVision http://www.mindvision.com.cn/index_en.aspx. Could you please contact them and ask for fix? |
你好 请问你是如何解决这个问题的,我也遇到了这个问题 |
I have a mindvision camera.when I use the driver , I get a error.
can you help me?
thanks
The text was updated successfully, but these errors were encountered: