-
Notifications
You must be signed in to change notification settings - Fork 97
What is the turbot_configuration in the stereo_camera_one_node.launch #15
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi @miguelriemoliveira ! Thanks for reporting |
Hi Miquel, Thanks for the quick response. I git pull noticed that some cpp files changed also (perhaps I had a previous version). Because of this I tried to compile again and get this error /home/mike/catkin_ws/src/avt_vimba_camera/src/frame_observer.cpp: In member function ‘virtual void FrameObserver::FrameReceived(AVT::VmbAPI::FramePtr)’:
/home/mike/catkin_ws/src/avt_vimba_camera/src/frame_observer.cpp:52:5: error: ‘cout’ is not a member of ‘std’
std::cout << "FrameObserver error: " << vimba_frame_ptr->GetReceiveStatus( eReceiveStatus ) << std::endl;
^
[ 98%] Built target trackerNodelet
[ 98%] /home/mike/catkin_ws/src/avt_vimba_camera/src/frame_observer.cpp: In member function ‘virtual void FrameObserver::FrameReceived(AVT::VmbAPI::FramePtr)’:
/home/mike/catkin_ws/src/avt_vimba_camera/src/frame_observer.cpp:52:5: error: ‘cout’ is not a member of ‘std’
std::cout << "FrameObserver error: " << vimba_frame_ptr->GetReceiveStatus( eReceiveStatus ) << std::endl;
^
Built target visp_auto_tracker_cmd_line
make[2]: *** [avt_vimba_camera/CMakeFiles/stereo_camera_node.dir/src/frame_observer.cpp.o] Error 1
make[1]: *** [avt_vimba_camera/CMakeFiles/stereo_camera_node.dir/all] Error 2 Tipically, when I have this error its a using namespace std; missing somewhere ... Miguel |
I solved by adding: #include <iostream> to line 37 of file avt_vimba_camera/include/avt_vimba_camera/frame_observer.h @miquelmassot tell me if you want me to do a pull request ... Regards, Miguel |
My bad, I had the indigo branch. In the kinetic branch, it compiles fine. Regards, Miguel |
Hi again, So I tested and it turn out there was a bug in the launch file bacause the stereo_camera.cpp code advertises the raw image topics on the "stereo_down" namespace. Check here So if you change the name of the stereo namespace to something diferent from "stereo_down" it does not work. What I did was to remap these topics in the launch file and it works, i.e.: <launch>
<arg name="stereo" default="stereo"/>
<arg name="left_guid" default="50-0503343289"/>
<arg name="right_guid" default="50-0503343290"/>
<node ns="$(arg stereo)" name="stereo_image_proc" pkg="stereo_image_proc" type="stereo_image_proc" output="screen"/>
<node name="$(arg stereo)" pkg="avt_vimba_camera" type="stereo_camera_node" output="screen">
<!-- Static params -->
<param name="left_guid" value="$(arg left_guid)"/>
<param name="right_guid" value="$(arg right_guid)"/>
<param name="left_camera_info_url" value="file://$(find avt_vimba_camera)/calibrations/calibration_$(arg left_guid).yaml"/>
<param name="right_camera_info_url" value="file://$(find avt_vimba_camera)/calibrations/calibration_$(arg right_guid).yaml"/>
<remap from="/stereo_down/left/image_raw" to="$(arg stereo)/left/image_raw"/>
<remap from="/stereo_down/right/image_raw" to="$(arg stereo)/right/image_raw
<param name="show_debug_prints" value="false"/>
<!--rosparam command="load" file="$(find avt_vimba_camera)/params.yaml"/-->
</node>
</launch>
"/> |
When I try to launch stereo_camera_one_node.launch with
I get this error
This is because there is a "find turbot_configuration" in the launch file, i.e.,
What is this and how can I install it?
Thanks,
Miguel
The text was updated successfully, but these errors were encountered: