Closed emcauliffe closed 11 months ago
@jessicabonanno panorama photo research
I have added the hugin package to the repo. Making the changes on the panorama branch for now. To test out the simulation:
catkin_make
roslaunch simulation test_world.launch
roslaunch hugin_panorama hugin_panorama.launch image:=/camera/color/image_raw
rosservice call /hugin_panorama/image_saver/save
rosservice call /hugin_panorama/stitch
More information can be found here
Just tested it with the D435 on the Jetson TX2, it works very well and easy to use
Here is the process I used:
roslaunch realsense2_camera rs_camera.launch
roslaunch hugin_panorama hugin_panorama.launch image:=/camera/color/image_raw
rosservice call /hugin_panorama/image_saver/save
rosservice call /hugin_panorama/stitch
Note: The stitching service makes the hugin node print some errors when you initially call it. This doesn't mean it failed, the stitching process took about 1 minute for me stitching 6 photos on the TX2
Science module blocks much of the view of the d435 camera. However, some parts of the environment to the left and right of the module are still visible. Perhaps we can take a cropped view of the camera to do panoramas with?
It's definitely possible but the stitching will take longer as we'll need to take more photos.
Perhaps we can use the other camera to get an unobstructed view? (Logitech one since the endoscope will be in use for science)
Our best bet is to record a bag file with both the cameras anyways so we can try both when we get back to the pits.
merged in with #50. Also have another logitech camera to have a more unobstructed view available
Hugin library
A ros package exists for hugin and creating panoramic photos
Get sim module working, then we can map in t265 camera data