[ros-users] Compile error for videre_stereo_cam under Diamondback
Patrick Goebel
patrick at pirobot.org
Mon Feb 14 02:06:32 UTC 2011
Hi Anton,
That fixed the compile error nicely. However, when running
videre.launch or videre_non_stoc.launch, I get an endless cycle of
"System segfaulted" messages with the following screen messages on each
cycle:
[extractParams] Parameters:
[dcam] SVS-type parameters
System segfaulted, stopping camera nicely
[stereo/videre_stereo_cam-1] process has died [pid 3864, exit code -11].
log files:
/home/patrick/.ros/log/1bdd0550-37de-11e0-a639-8c736e77238f/stereo/videre_stereo_cam-1*.log
respawning...
[stereo/videre_stereo_cam-1] restarting process
process[stereo/videre_stereo_cam-1]: started with pid [3920]
[ INFO] [1297649063.545960764]: Resetting bus
[ INFO] [1297649063.546300537]: Initializing camera, turning off ISO
[ INFO] [1297649063.613279461]: [dcam] Videre camera, getting local params
[ INFO] [1297649063.613756713]: [dcam] Camera firmware: 07.01
[ INFO] [1297649063.614315245]: [dcam] Imager firmware: 0008
[ INFO] [1297649063.614408503]: [Dcam] Found stereo device
[ INFO] [1297649063.614883041]: [dcam] STOC version: 04.02
[ INFO] [1297649063.615964524]: [dcam] STOC thresholds: 00010c0a
[ INFO] [1297649063.915806728]: [dcam] Calibration, 1975 bytes
[ INFO] [1297649063.917534544]: [dcam] Color device
[ INFO] [1297649063.918105004]: [dcam] Feature register hi: d2800000
[ INFO] [1297649063.918664157]: [dcam] Feature register lo: 00000000
[ INFO] [1297649063.922694032]: [Dcam] Exposure min/max: [0,529]
[ INFO] [1297649063.926707507]: [Dcam] Gain min/max: [0,48]
[ INFO] [1297649063.930772554]: [Dcam] Brightness min/max: [0,255]
[ INFO] [1297649063.933052144]: [Dcam] Whitebalance min/max: [0,30]
Note that the camera now works fine using the SVS smallv program so I am
able to verify that the camera itself is OK.
--patrick
On 02/13/2011 05:49 PM, Antons Rebguns wrote:
> Patrick,
>
>> Congrats on releasing DB RC1! I don't know if this is a Diamondback
>> issue or an issue with the UA videre_stereo_cam package (r1188) but the
>> package compiles fine under the latest C-turtle but fails under
>> Diamondback with the following errors:
>
> I haven't yet had time to try out diamondback, but let's see if we can
> fix this particular problem.
>
>> $ rosmake --pre-clean --rosdep-install videre_stereo_cam
>> ...
>> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:257:
>> error: ‘class std::vector<double, std::allocator<double> >’ has no
>> member named ‘c_array’
>>
>> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:
>> In member function ‘char* StereoData::createParams(bool)’:
>>
>> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:517:
>> error: ‘class std::vector<double, std::allocator<double> >’ has no
>> member named ‘c_array’
>>
>> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:531:
>> error: ‘class std::vector<double, std::allocator<double> >’ has no
>> member named ‘c_array’
>>
>> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:
>> At global scope:
>>
>> /home/patrick/Eclipse/ros/ua-ros-pkg/arrg/ua_drivers/videre_stereo_cam/src/videre_stereo_cam/stereoimage.cpp:461:
>> warning: ‘void PrintMat(double*, int, int)’ defined but not used
>> make[3]: ***
>> [CMakeFiles/videre_stereo_node.dir/src/videre_stereo_cam/stereoimage.o]
>> Error 1
>
> Can you try batch replacing .c_array() to .data() in stereoimage.cpp
> and see if that compiles?
>
>
> Anton
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
More information about the ros-users
mailing list