Search the Community
Showing results for tags 'pi'.
Hello everybody! I am planning and designing a drone that is going to have multiple devices attached/built-into it as well as the remote control. These devices include an arduino mega and a raspberry pi 4. The drone will also be FPV and constantly send a video feed back to a screen on the remote controller. I do not plan to use anything super fancy like GPS or wifi or anything like that for this project. So I will have 1 raspberry pi and 1 arduino attached to a remote controller as well as 1 raspberry pi and 1 arduino attached to the drone itself (note: the drone will still have its own flight controller and everything. The pi's and arduinos aren't actually flying the drone, they're to power additional features I am going to add onto the drone). I've heard that the FPV signal should be 5.8 GHZ so that's what I'm going to aim for. My question is this: How do I keep these signals from interfering with each other? It is my understanding from the internet research that I've done that 2.4 GHZ signals (which I'm planning on using for everything except FPV video in the design) will interfere with each other if there are too many of them transmitting and receiving data in the same area. Is there any way to make the signals "unique" so that they only transmit to the intended receiver? I'm fairly confident that I'd be able to build this drone, but I just need to figure out this conceptual question before I go spending any major money on components and whatnot. Thank you for any/all help!
Hello… I am an engineering student working on a project based on NDVI calculation to monitor the crop health. I used the PiNoIR camera with blue filter for my experiment in order to obtain the values of NIR and Red region. I used the following code to extract the required values and to calculate the NDVI. But in the output image, the empty regions (area where no leaves are present as shown in the below figure) and ground have higher NDVI values. The shadowed regions are shown in the range 0.5 to 0.6. I wanted to know whether the output is correct and what corrections can be done in the -code in order to correct the error. The code is given below. from PIL import Image import numpy as np import cv2 from cv2 import imread from matplotlib import cm rgb_matrix =cv2.imread('inputimg.jpg') w=rgb_matrix.shape #columns h=rgb_matrix.shape #rows print(w) print(h) #Compute ndvi values for each pixel #NDVI=(NIR-R)/(NIR+R) res= for i in range(h): row= for j in range(w): val=rgb_matrix[j] n=val r=val num=((int(n)-int(r))) den=((int(n)+int(r))) if(den == 0): r=0.0 else: r=np.divide(num,den) row.append(r) res.append(row) print('Done') #based on NDVI values, give different colors for easier identification for i in range(h): for j in range(w): if(res[j] >=-1 and res[j] <0): rgb_matrix[j]=[128,128,128] #grey elif(res[j]>=0 and res[j]<0.2): rgb_matrix[j]=[64,255,0] #parrot green elif(res[j]>=0.2 and res[j]<0.3): rgb_matrix[j]=[125,255,255] #yellow elif(res[j]>=0.3 and res[j]<0.4): rgb_matrix[j]=[0,128,128] #dark green elif(res[j]>=0.4 and res[j]<0.5): rgb_matrix[j]=[255,255,0] #sky blue elif(res[j]>=0.5 and res[j]<0.6): rgb_matrix[j]=[255,51,153] #purple elif(res[j]>=0.6 and res[j]<0.7): rgb_matrix[j]=[0,128,255] #orange elif(res[j]>=0.7 and res[j]<0.8): rgb_matrix[j]=[255,43,255] #pink elif(res[j]>=0.8 and res[j]<0.9): rgb_matrix[j]=[40,40,255] #red else: rgb_matrix[j]=[255,0,0] #dark blue cv2.imwrite('outputimg.jpg',rgb_matrix) print("Completed!!") (Ignore the indentation errors)
Hello everyone! We are Erle Robotics, a young robotics company, and we want to show you the autopilot shield we´ve developed for the Raspberry Pi family. It is called the PXFmini and it is an open autopilot daughter-board for the Raspberry Pi Zero / W. Here you've some pictures: This board allows you to create a ready-to-fly autopilot with support for Dronecode’s APM flight stack. This little board weighs only 15 grams and embeds all the power electronics necessary to comply with most of the existing components for drones through its I2C and UART port. It has 8PWM servo output channels and a PPMSUM input. PXFmini includes: 3 axes gravity sensor 3 axes gyroscope 3 axes digital compass pressure sensor temperature sensor ADC for battery sensing In order to improve the user's experience we work side by side with amazing open source communities to provide support for the de facto standard platforms for drones: the popular APM and PX4 autopilots. The shield has been designed specially for the Raspberry Pi Zero / W but it is also pin-to-pin compatible with the following boards: - Raspberry Pi - Raspberry Pi 2 - Raspberry Pi 3 - Raspberry Pi Zero / W If you want to know more visit us at erlerobotics.com! We have done some interesting projects with this little but powerful board. As an example, a $200 Smart Drone With the Pi Zero: Pi Zero Drone video We will be posting the previous one and more projects soon! Hope you like it!!