Category

레이블이 ROS인 게시물을 표시합니다. 모든 게시물 표시
레이블이 ROS인 게시물을 표시합니다. 모든 게시물 표시

2017년 2월 13일 월요일

Drone : Crazyflie Loco Positionning System on ROS

Loco Positionning System

First Setting Anchor

step by step for setting

git clone lps-node-firmware
make
changing a mode to dfu on loco positioning node 
sudo make dfu
sudo picocom /dev/ttyACM#
a ( anchor mode) 엔터
anchor 숫자 입력

-> anchor0_pos 와 설정 값 aX01 과 의 관계 값은 어찌해야 할까?
아항 a 란게 그저 anchor 모드라는 뜻이 었구나 제대로 또 안읽었어~

Second Setting for Crazyflie 2.0 

-> config.mk 값 설정

Third launch Ros

1. Install ROS (full desktop): http://wiki.ros.org/kinetic/Installation/Ubuntu
2. Install the ros joystick node with
-- sudo apt-get install ros-kinetic-joy
3. Create your workspace: http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment#Create_a_ROS_Workspace
4. Clone https://github.com/bitcraze/lps-ros and https://github.com/whoenig/crazyflie_ros in the workspace src folder
5. Run catkin_make to build the packages
6. Source the workspace devel/setup.bash again
7. Run   rosdep install bitcraze_lps_estimator    to install dependencies
-> 내가 항상 노쳤던 부분

roslaunch bitcraze_lps_estimator dwm_loc_ekf_hover.launch uri:=radio://0/48/250K x:=1 y:=1 z:=1.0


roslaunch bitcraze_lps_estimator dwm_loc_ekf_hover.launch uri:=radio://0/80/2M x:=1 y:=1 z:=1.0


-> 현재 상태는 crazyflie 는 node 와 연결이 된듯 하고 sudo cfclient 로 연결이 되는 것은 확인 하였으나 ROS 상에서 crazyflie 이와 연결이 통신이 안되는 것 같다.

n_anchors: 6
anchor0_pos: [  0,   0, 1.85]
anchor1_pos: [  0,   3, 1.85]
anchor2_pos: [  2,   3, 1.85]
anchor3_pos: [  2,   0, 1.85]
anchor4_pos: [  3,   0, 1.85]
anchor5_pos: [  3,   3, 1.85]                                

2016년 12월 8일 목요일

ROS : Install ROS on Raspberry pi 2 b+




 Install ROS on Raspberry pi 2 b+


Feature

RaspberryPI2_B+
OS : Ubuntu mate 16.04 lts. Xenial
ROS Version : Kinectic

need a ROS package

Git hub address :

For What :


1_ install Ubuntu mate 16.04 lts on Raspberry pi 2 B+

2_ install ROS-Kinetic

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA116
sudo apt-get update
sudo apt-get install ros-kinetic-desktop
sudo rosdep init
rosdep update

sudo apt-get install python-rosinstall

echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
source /opt/ros/kinetic/setup.bash

mkdir -p ~/ros_catkin_ws/src
cd ~/ros_catkin_ws/src
catkin_init_workspace
 참고 : WikI ROS



QGroundControl 실행하는 데 오류가 뜬다.
Syntax error : "(" unexpected

bash 문제 일수 도 있는 데 아직 해결책을 찾지 못함. (9/ DEC)
3_ install px4_firmware


4_ Connect Pixhawk with Ras