- bring up everything except detection
roslaunch motoman_move_action except_detection.launch
- open detection server (in new terminal)
conda activate mmd
roscd mmd_ros/script
python food_detection_server.py
| 1. install vscode | |
| 2. after install vscode, install the latex workshop extension, and close | |
| FOR WINDOWS | |
| 3. download and install the MiKTeX software from https://miktex.org/ | |
| when installing the miktex, install to the default path | |
| 4. download and install Perl for Windows from this link https://strawberryperl.com/ | |
| when installing, install to the default path. after install the software, the perl app will ask |
| If you have a code structure like this | |
| root_dir | |
| script_dir | |
| env.py | |
| util_dir | |
| commons.py | |
| image_proc.py | |
| main.py |
| We can use command "rosdep" to perform auto-install the reuqired ROS dependency in the workspace | |
| 1. go to the workspace that you are working on | |
| 2. update the needed dependencies in the workspace using (this command will fetch the package that is EOL only, | |
| if non-EOL ROS distribution, it will not fetch) | |
| $ rosdep update | |
| 3. after update the ros dependencies, we can perform the auto installation from | |
| $ rosdep install --from-paths src --ignore-src -r -y |
| This tutorial was provided to work on Linux Ubuntu and recommended to work with GitHub desktop which can be installed via | |
| this link | |
| https://gist.github.com/berkorbay/6feda478a00b0432d13f1fc0a50467f1 | |
| Git LFS will provide the ability to push files with more than 100mb on github, to perform that process | |
| 0. Install the Github Desktop | |
| 0.1 download the Github desktop | |
| sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.9.3-linux3/GitHubDesktop-linux-2.9.3-linux3.deb |
| We can use command "rosdep" to perform auto-install the reuqired ROS dependency in the workspace | |
| 1. go to the workspace that you are working on | |
| 2. update the needed dependencies in the workspace using (this command will fetch the package that is EOL only, | |
| if non-EOL ROS distribution, it will not fetch) | |
| $ rosdep update | |
| 3. after update the ros dependencies, we can perform the auto installation from | |
| $ rosdep install --from-paths src --ignore-src -r -y |
| ref from this link | |
| https://www.how2shout.com/linux/how-to-install-matlab-in-ubuntu-20-04/ | |
| install the unzip pkg | |
| $ sudo apt-get install unzip -y | |
| create a folder for extracting the matlab installer files | |
| $ mkdir matlab_installer | |
| extract file to the created folder |
| For the record, another method of getting the latest binaries in Ubuntu 20.04 without adding keys | |
| for apt is by simply downloading them manually from Microsoft's package repository and installing | |
| them using dpkg (i.e. dpkg -i k4a-tools_1.4.1_amd64.deb). | |
| The relevant package repository folder for k4a-tools is here and for libk4a + libk4a-dev here. | |
| k4a-tools : https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/k/k4a-tools/ | |
| libk4a + libk4a-dev : https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/libk/ | |
| 1. install libsoundio1 and libsoundio-dev | |
| $ sudo apt-get install libsoundio1 libsoundio-dev |
| # official website for azure kinect driver sdk | |
| # currently, sdk supports up to ubuntu 18 only | |
| https://docs.microsoft.com/en-us/azure/kinect-dk/sensor-sdk-download | |
| curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
| sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod | |
| curl -sSL https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft-prod.list | |
| curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - |
roslaunch motoman_move_action except_detection.launch
conda activate mmd
roscd mmd_ros/script
python food_detection_server.py