Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:ros_sony_cam [2019/11/19 23:41]
lrodriguezp
tutorials:ros_sony_cam [2019/12/11 11:48] (current)
lrodriguezp
Line 12: Line 12:
   ros-<​distro>​-image-view   ros-<​distro>​-image-view
  
-to visualize images.+to visualize images. ​You can verify the installation with  dpkg --get-selections | grep image-view and  dpkg --get-selections | grep image-transport-plugins
  
 ==== Setup pysony ==== ==== Setup pysony ====
Line 18: Line 18:
 To setup pysony module, get the pysony repo with: To setup pysony module, get the pysony repo with:
  
-  $ git clone git@gitlab.com:lrodriguez17/​temporary-sony-cam.git +  $ git clone https://gitlab.com/lrodriguez17/​temporary-sony-cam.git 
-  ​+Now install pysony with: 
 +  ​pip install pysony
 Then add the path of the module to the PYTHONPATH variable, with: Then add the path of the module to the PYTHONPATH variable, with:
  
-  export PYTHONPATH="​${PYTHONPATH}:/<​download>/<​path>/​sony_camera_api/src"+  export PYTHONPATH="​${PYTHONPATH}:/<​download>/<​path>/​temporary-sony-cam/src"
  
 Append this to the .bashrc file. You can find this file on /​home/<​your-user>​ Append this to the .bashrc file. You can find this file on /​home/<​your-user>​
Line 32: Line 33:
 Use the following commands to get and build the ROS node: Use the following commands to get and build the ROS node:
  
-  $ git clone git@github.com:arcoslab/​ros_sony_cam.git+  $ git clone https://​gitlab.com/arcoslab/​ros_sony_cam.git 
 + 
 +If you use all your packages inside the catkin_ws directory (recommended),​ use the following command inside catkin_ws:​ 
 +  $ catkin_make 
 +If not:
   $ cd ros_sony_cam/​   $ cd ros_sony_cam/​
   $ catkin_make   $ catkin_make
- +If you have not done it in the pass, append the following command to .bashrc file:
-Then append the following command to .bashrc file:+
  
   source /<​full>/<​path>/​devel/​setup.bash   source /<​full>/<​path>/​devel/​setup.bash
Line 44: Line 48:
 ==== Run ==== ==== Run ====
  
-Connect to camera'​s wireless access point with the password given on the camera'​s battery lid and then we may run the launch file, pic_liveview_test,​ to see the camera'​s output, liveview (low quality images) and high quality photos.+Connect to camera'​s wireless access point with the password given on the camera'​s battery lid and then we may run the launch file, pic_liveview_test,​ to see the camera'​s output, liveview (low quality images) and high quality photos. ​The password must be: 
 +  upYSP36a 
 +Or: 
 +  VuUU17dp
  
   $ roslaunch sony_cam pic_liveview_test.launch   $ roslaunch sony_cam pic_liveview_test.launch
  • tutorials/ros_sony_cam.1574228474.txt.gz
  • Last modified: 2019/11/19 23:41
  • by lrodriguezp