How to add camera component on coustom robot?
Can someone please help me to understand , how to add camera component on coustom robot . Like laser scanner I made on camera model in solidwork and initialised in my robot urdf file . For camera topic I am using kinet camera plugin but while simulating in rviz my point cloud visualizes in a vertical direction . Can someone please help me to understand how to use camera for ros simulation . #ros #kinetic #camera +
@akshay bankar Have you tried with this tutorial?
Your camera is publishing a stream respectively to a frame. Like for example "camera_stream_frame". If the camera stram is now inverted or something, you have to change the orientation or position of the "camera_stream_frame".
If you want to decouple the stream from your CAD-Model you have to use two seperat frames. One "camera_cad_frame" and one "camera_stream_frame" (chose names as you like). Then you can move the stream without changing the position of your CAD-Model.
If you have a static transform (http://wiki.ros.org/tf#static_transfo...) between the two frames for example: world -> odom -> map -> base_link -> camera_cad_frame -> camera_stream_frame the stream moves when the cad-model moves