All Projects β†’ simmubhangu β†’ Eyantra_drone

simmubhangu / Eyantra_drone

Licence: bsd-2-clause
Metapackage to control the edrone via services and topics -https://www.youtube.com/watch?v=M-RYyMyRl9g

Projects that are alternatives of or similar to Eyantra drone

Autonomous Drone
This repository intends to enable autonomous drone delivery with the Intel Aero RTF drone and PX4 autopilot. The code can be executed both on the real drone or simulated on a PC using Gazebo. Its core is a robot operating system (ROS) node, which communicates with the PX4 autopilot through mavros. It uses SVO 2.0 for visual odometry, WhyCon for visual marker localization and Ewok for trajectoy planning with collision avoidance.
Stars: ✭ 87 (+52.63%)
Mutual labels:  ros, drone
Clover
ROS-based framework and RPi image to control PX4-powered drones πŸ€
Stars: ✭ 177 (+210.53%)
Mutual labels:  ros, drone
Mrs uav system
The entry point to the MRS UAV system.
Stars: ✭ 64 (+12.28%)
Mutual labels:  ros, drone
OpenMAS
OpenMAS is an open source multi-agent simulator based in Matlab for the simulation of decentralized intelligent systems defined by arbitrary behaviours and dynamics.
Stars: ✭ 80 (+40.35%)
Mutual labels:  drone, control-systems
grvc-ual
An abstraction layer for unmanned aerial vehicles
Stars: ✭ 35 (-38.6%)
Mutual labels:  drone, ros
Px4 Autopilot
PX4 Autopilot Software
Stars: ✭ 5,090 (+8829.82%)
Mutual labels:  ros, drone
Djim100 People Detect Track
A ros demo for people detection and tracking on DJI M100 drone
Stars: ✭ 150 (+163.16%)
Mutual labels:  ros, drone
aerial autonomy
Easily extendable package for interacting with and defining state machines for autonomous aerial systems
Stars: ✭ 22 (-61.4%)
Mutual labels:  drone, ros
uav core
The main integrator of MRS UAV packages in ROS, part of the "mrs_uav_system".
Stars: ✭ 28 (-50.88%)
Mutual labels:  drone, ros
erdos
Dataflow system for building self-driving car and robotics applications.
Stars: ✭ 135 (+136.84%)
Mutual labels:  drone, ros
Ardupilot
ArduPlane, ArduCopter, ArduRover, ArduSub source
Stars: ✭ 6,637 (+11543.86%)
Mutual labels:  ros, drone
Fmt firmware
Embedded Code of FMT Autopilot
Stars: ✭ 49 (-14.04%)
Mutual labels:  drone
Bebops
BebopS aims to simulate the behavior of Parrot Bebop 2 by using SIL methodologies
Stars: ✭ 40 (-29.82%)
Mutual labels:  ros
Ros openpose
ROS wrapper for OpenPose
Stars: ✭ 39 (-31.58%)
Mutual labels:  ros
True artificial intelligence
真AIδΊΊε·₯智能
Stars: ✭ 38 (-33.33%)
Mutual labels:  ros
Drone Slack
Drone plugin for sending Slack notifications
Stars: ✭ 52 (-8.77%)
Mutual labels:  drone
Show trajectory
This repository collected 3 ways to show trajectory of robot in ROS
Stars: ✭ 48 (-15.79%)
Mutual labels:  ros
Telloterm
A functioning desktop testbed for flying the Ryze Tello drone via the Go tello package.
Stars: ✭ 37 (-35.09%)
Mutual labels:  drone
Pendulum
ROS, ROS2, real-time, control, pendulum
Stars: ✭ 37 (-35.09%)
Mutual labels:  ros
Openni2 camera
ROS wrapper for openni 2.0
Stars: ✭ 36 (-36.84%)
Mutual labels:  ros

Build Status

eyantra_drone

Metapackage to control the eyantra_drone via service and topics http://wiki.ros.org/eyantra_drone

e-Yantra

Getting Started

Use following instructions on how to use this package:

Prerequisites
# libavcodec and libsdl2-dev for camera
sudo apt install libavcodec-dev libsdl2-dev 

Installation
# Navigate to catkin workspace
cd <WORKSPACE_NAME>

# clone repository
git clone https://github.com/simmubhangu/eyantra_drone.git

# Build the Package
catkin_make 

Run Package
# launch file to communication with  edrone

roslaunch edrone_server drone_comb.launch

# Follow the instruction on terminal to control the drone

Using ROSTopic:

rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1500, rcPitch: 1500, rcYaw: 1500, rcThrottle: 1000, rcAUX1: 0, rcAUX2: 0, rcAUX3: 0, rcAUX4: 1500}" // example of arming drone 

ROSTopic To Control edrone

Arm
rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1500, rcPitch: 1500, rcYaw: 1500, rcThrottle: 1000, rcAUX1: 1500, rcAUX2: 1500, rcAUX3: 1500, rcAUX4: 1500}"
Disarm
rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1500, rcPitch: 1500, rcYaw: 1500, rcThrottle: 1500, rcAUX1: 1500, rcAUX2: 1500, rcAUX3: 1500, rcAUX4: 1000}"
Increase Roll value to move forward with respect to x-axis
rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1600, rcPitch: 1500, rcYaw: 1500, rcThrottle: 1500, rcAUX1: 1500, rcAUX2: 1500, rcAUX3: 1500, rcAUX4: 1500}"
Decrease Roll value to move backward with respect to x-axis
rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1400, rcPitch: 1500, rcYaw: 1500, rcThrottle: 1500, rcAUX1: 1500, rcAUX2: 1500, rcAUX3: 1500, rcAUX4: 1500}"
Increase Pitch value to move forward/left with respect to y-axis
rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1500, rcPitch: 1600, rcYaw: 1500, rcThrottle: 1500, rcAUX1: 1500, rcAUX2: 1500, rcAUX3: 1500, rcAUX4: 1500}"
Decrease Pitch value to move backward/right with respect to y-axis
rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1500, rcPitch: 1400, rcYaw: 1500, rcThrottle: 1500, rcAUX1: 1500, rcAUX2: 1500, rcAUX3: 1500, rcAUX4: 1500}"
Increase Throttle value to move up with respect to z-axis
rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1500, rcPitch: 1500, rcYaw: 1500, rcThrottle: 1800, rcAUX1: 1500, rcAUX2: 1500, rcAUX3: 1500, rcAUX4: 1500}"
Decrease Throttle value to move down with respect to z-axis
rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1500, rcPitch: 1500, rcYaw: 1500, rcThrottle: 1200, rcAUX1: 1500, rcAUX2: 1500, rcAUX3: 1500, rcAUX4: 1500}"
Increase Yaw value to rotate in clockwise direction
rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1500, rcPitch: 1500, rcYaw: 1800, rcThrottle: 1500, rcAUX1: 1500, rcAUX2: 1500, rcAUX3: 1500, rcAUX4: 1500}"
Decrease Yaw value to rotate in anti-clockwise direction
rostopic pub /drone_command edrone_client/edrone_msgs "{rcRoll: 1500, rcPitch: 1500, rcYaw: 1200, rcThrottle: 1500, rcAUX1: 1500, rcAUX2: 1500, rcAUX3: 1500, rcAUX4: 1500}"

Note: RC values ranges from 1000 to 2000

Multiple Drones

Following is the procedure to control multiple drones within the same network:

Setting the drone in client mode: Connect to drone wifi and use following command to open telnet connection:
telnet 192.168.4.1 // drone wifi ip
Set the drone in both Station(STA) and Access Point Mode(AP) : Use following command:
+++AT MODE 3
Set the ssid and password: Use following command:
+++AT STA ssid password
Add IPs: Start your hotspot and your drone should connect to the hotspot. Note the IP address assigned to it. Edit following lines in DroneSwarm.cpp. Repeat this for all new drones which are added to the network.
all_ips.push_back(&quot;192.168.43.151&quot;);
all_ips.push_back(&quot;&quot;);
Send data: Follow procedure in ROSTopic Header to give commands to fly the drones. Add droneIndex in edrone_msgs for every topic. This index is the same as the index of the IP within 'all_ips' when you add it.
TODO - Get drone data from multiple drones
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].