-
Notifications
You must be signed in to change notification settings - Fork 18
Basic_Linux_setup
PenceMataria edited this page Feb 14, 2019
·
2 revisions
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install vim #Vim is a highly configurable text editor
sudo apt-get install git #Git is a free and open source distributed version control system
sudo apt-get install openssh-server #Installing SSH
#SSH service should be started automatically, but if necessary can be done manually by
sudo service ssh start
#following two tools allow a user to access multiple separate terminal sessions inside a single terminal window
sudo apt-get install terminator
#or
sudo apt-get install tmux
(iii) For extensive code writing or For work on big project use : Atom, SublimeText, VisualStudioCode . . . . . .
#for ros kinetic full desktop version
#Setup your sources.list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
#Set up your keys
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
#installation
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
#initialize rosdep
sudo rosdep init
rosdep update
#environment setup
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc #if you are on bash else for Zsh replace bash everywhere by zsh
#dependencies for building packages
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
If you found any problem in installation then visit :- http://wiki.ros.org/kinetic/Installation/Ubuntu
(i) Install QGC :- for compressed archive : https://s3-us-west-2.amazonaws.com/qgroundcontrol/builds/master/QGroundControl.tar.bz2
#Extract the archive using the terminal command:
tar jxf QGroundControl.tar.bz2
cd qgroundcontrol
./qgroundcontrol-start.sh
chmod +x ./QGroundControl.AppImage
./QGroundControl.AppImage (or double click)
(ii) Toolchain installation :- https://dev.px4.io/en/setup/dev_env_linux_ubuntu.html
#making local source
mkdir -p ~/src
cd ~/src
git clone https://github.com/PX4/Firmware.git
cd Firmware
#building
make px4fmu-v2_default
#upload to board
make px4fmu-v2_default upload
for more details :- https://dev.px4.io/en/setup/building_px4.html
#The mavros ros package enables MAVLink extendable communication between computers running ROS, MAVLink enabled autopilots, and MAVLink enabled GCS
sudo apt-get install ros-kinetic-mavros
sudo apt-get install ros-kinetic-mavros-extras
for more details :- https://dev.px4.io/en/robotics/
- Home
- Setup Your Computer
- Toolchain Installation
- Rotation Matrix and Quaternion
- PX4
- How to use aruco_ros
- Simulation using offboard control
- Resources
- Path Planning Algorithms