-
Notifications
You must be signed in to change notification settings - Fork 19
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
[Software] Process Dies Immediately #5
Comments
Please let us know your development environment, such as OS and ROS version. |
I am developing on Ubuntu 18.04 LTS with ROS melodic. |
I have the same exact setup and problem:
|
The program appears to be crashing on line 656 of oCamS.cpp: |
The code was verified with the following tool sets.
If you can, please try to run it in those environment. |
@CS-WITHROBOT Would it be difficult to update the example code to support the following?
I ask because I'm trying to use this camera for an AI race car and the best computer I could find that fits within the volume/power constraints is the Nvidia Jetson Nano. Unfortunately, to take full advantage of the hardware I need to run OS/ROS/OpenCV versions mentioned above. I found other stereos cameras that integrate well with the Nano, but none of them are global shutter and color! It's clear that oCamS is the better hardware choice, but without a working ROS examples, it's going to be a time sink for us to debug and update the code Any chance we can get the examples updated to Melodic/OpenCV 4? I noticed that the "oCamS_Linux_ParameterControl_Example" can handle OpenCV 4 which is great, so I'm hopeful that your team can update the ROS and People Counter example code. |
@arkorobotics |
이거 해결 되었는지요 ?? Ubuntu 18.04 입니다. 수정된 코드가 있는지요???? 위에 분과 같은 에러 발생합니다. dtstory@dtstory-xavis:~/ocam$ roslaunch ocams_1cgn ocams_ros.launch started roslaunch server http://dtstory-xavis:46295/ SUMMARYPARAMETERS
NODES auto-starting new master setting /run_id to 0f2d5c02-7751-11eb-8aec-d8c0a69b35e5 |
Thank you for using our product. when you install the image_geometry ros module, And it causes a crash with the opencv 4 library.
Fixed points.
After then, catkin_make and try run it. |
위에 알려주신 조치후에 카메라 화면은 나오기 시작했습니다... 그리고 카메라 화면이 녹색 필터 처리한것처럼 나오는대 정상인가요 ?? ERROR: cannot launch node of type [stereo_image_proc/stereo_image_proc]: stereo_image_proc |
disparity.launch 파일을 사용하는 경우, ocams_ros.launch 파일을 사용하여 다시 시도하십시오. |
When I tried the ros package under /Software, its process dies immediately, with the output like this:
NODES
/
ocams_1cgn (ocams_1cgn/ocams_1cgn)
ocams_base_link (tf2_ros/static_transform_publisher)
ocams_camera_link1 (tf2_ros/static_transform_publisher)
ocams_camera_link2 (tf2_ros/static_transform_publisher)
ROS_MASTER_URI=http://localhost:11311
process[ocams_1cgn-1]: started with pid [9933]
process[ocams_base_link-2]: started with pid [9934]
process[ocams_camera_link1-3]: started with pid [9935]
process[ocams_camera_link2-4]: started with pid [9940]
IMU initialized: AMGEUL
Pixel format: Y, U, Y, V
Width: 640, Height: 480, Image size: 614400
Frame Rate : 1 / 30 (30.00 fps)
[ INFO] [1573374488.581672910]: Initialized the camera
[ INFO] [1573374488.858612847]: Loading from ROS calibration files
[ INFO] [1573374488.858970932]: camera calibration URL: package://ocams_1cgn/config/left.yaml
[ INFO] [1573374488.859516924]: camera calibration URL: package://ocams_1cgn/config/right.yaml
[1, 0, 0, -322.341717;
0, 1, 0, -242.53289;
0, 0, 0, 452.149831;
0, 0, 8.333333333333334, 0]
[ INFO] [1573374488.873160743]: Got camera calibration files
[ INFO] [1573374488.873649084]: Success, found camera
[ocams_1cgn-1] process has died [pid 9933, exit code -11, cmd /home/user/catkin_ws/devel/lib/ocams_1cgn/ocams_1cgn __name:=ocams_1cgn __log:=/home/user/.ros/log/aeeb6e2a-038d-11ea-b025-144f8ac7236f/ocams_1cgn-1.log].
log file: /home/user/.ros/log/aeeb6e2a-038d-11ea-b025-144f8ac7236f/ocams_1cgn-1*.log
But there are no log files with these names in the specified directory.
Is there a reason why the process dies?
I did not modify the source code.
Maybe there is a bug somewhere.
The text was updated successfully, but these errors were encountered: