Patrons and KZbin Channel Members already have next week's video - it's part 3 of openDog V2 - building the entire mechanical assembly!
@philosopherofinfinite45584 жыл бұрын
Gun dog or turret from rust.
@nagualdesign4 жыл бұрын
The lights even turn green to let everyone know when it runs out of ammo, _just like a real sentry robot!_ 😜
@bunkerbois46244 жыл бұрын
Send this to me pls
@TidusleFlemard4 жыл бұрын
My only problem with this bot is that I think it isn't able to differentiate between moving (usually organic) and unmoving (usually a wall, by example) target. So if you just boot it up close enough to a wall, it will just shoot at it.
@benGman694 жыл бұрын
Would be interesting to see the robot use trigonometry to converge the guns on a fixed distance
@Convolutedtubules4 жыл бұрын
A small offset between points of aim is probably a good thing in case you miss.
@sharkbeats13974 жыл бұрын
let me introduce you to gravity and the boiz
@PunakiviAddikti3 жыл бұрын
That would be very interesting, essentially making it a sentry turret.
@adrianthoroughgood11913 жыл бұрын
Adjusting the angle of elevation depending on distance would be more useful.
@ev6558 Жыл бұрын
Just needs more dakka instead.
@Тоска19844 жыл бұрын
It should say “Are you there?” When a target disappears
@crumblesilkskin4 жыл бұрын
Or the portal turret "are you still there"
@sethrd9994 жыл бұрын
@@crumblesilkskin It would need laser sights also ;)
@onlyeveryone22534 жыл бұрын
"must have been my imagination"
@TsubasayaYami4 жыл бұрын
alternative: "Must have been the wind"
@Lucian_Andries4 жыл бұрын
"I'm different"
@SpencerPaire4 жыл бұрын
What crazy timing! Just yesterday I was thinking about a Lidar project and I found exactly this module! My project idea was a "sixth sense" accessory. The Lidar would be mounted on a backpack (the one I use is rigid), with some buzzers and an IMU. The lidar data would be analyzed for moving objects, using the IMU to account for the wearer's motion and pick out objects (people) that are approaching the wearer from behind. If they got too close or approached too quickly, the buzzers would trigger with proportional power to indicate the approcher's direction and speed. I play a lot of HvZ, a nerf game where enemies can approach from anywhere, and this was my best idea to have a gadget to watch my back.
@CuulX4 жыл бұрын
Sounds fun but very very hard to get working practically if you are not perfectly still.
@discreet_boson4 жыл бұрын
How about for social distancing
@timotholen72554 жыл бұрын
Why dont you just use an ultrasonic sensor they dont have too much range but it could face upwards a little so your movement wouldnt be as critical and you could use a vibrating motor taped to your arm that would be more sneaky than a buzzer
@KuraIthys4 жыл бұрын
@@timotholen7255 A belt of vibration motors seems to work well. It's been used in some situations to help helicopter pilots 'feel' obstacles low to the ground, since a helicopter can often kick up a lot of dust that blocks visibility...
@traniel1234567894 жыл бұрын
@@timotholen7255 Ultrasonic sensors are horrible when moving because they don't pick stuff up in all directions.
@delphicdescant4 жыл бұрын
I wrote code for lidar mapping like this before, except that the sensor I used did more than a single plane of detection, having a vertical array of lasers that spun around to create a "fan" of detection. It cost like 10k though, so I'm really happy to see cheaper sensors on the market.
@BenjaminAster4 жыл бұрын
You are like Michael Reeves but in well organized.
@aboringperson90694 жыл бұрын
lawful neutral michael reeves
@jeremiahdaniels89743 жыл бұрын
This is the funniest thing I've read here lol.
@d73w803 жыл бұрын
Michael Reeves, but not a sadist
@martinedelius4 жыл бұрын
Imagine being a kid having James as your uncle. :D
@SCU3A_S7EVE4 жыл бұрын
He’s literally teaching them how to seek and destroy. We’re doomed.
@PunakiviAddikti3 жыл бұрын
You're a bit late there, multiple military forces have already been experimenting on autonomous seek and destroy robots for years, and they're making rapid progress.
@Mizu-Koe3 жыл бұрын
@@PunakiviAddikti well then.. we're fucked
@johnpickens4484 жыл бұрын
This is great! Now if you can get the lidar room mapping working you'll get two advantages: 1. You can correlate the room map with the robot position to give it better pointing and positioning control. 2. After waiting for a room map to emerge, you can then detect changes as potential targets.
@MakeTestBattle4 жыл бұрын
I love this. Can you add a hit box that players could shoot to temporarily "stun" the robot during games.
@digitalbulb26944 жыл бұрын
Good idea
@ianjensen38904 жыл бұрын
I knew what was coming, but the robot turning around to shoot something behind it was still unsettling! This is awesome. Might have to look at building one of these for use at my robotics team's outreach events!
@yyunko77644 жыл бұрын
also the PWM pin is because the lidar will send uart data of the speed so you can do closed loop speed control of the lidar rotation which stabilizes the speed, makes the data a lot more reliable
@D-S-94 жыл бұрын
You have a Xenomorph costume, you made an automated sentry gun... you made a Ghostbusters reference. Well played.
@bradzdanivsky4 жыл бұрын
light is clean, trap is clean.
@davinderc4 жыл бұрын
You can tell he's excited about his project by the tone of his voice and the expression on his face.
@davidfountain66074 жыл бұрын
Having that thing spin around and face you like that is down right frightening! Good home security!
@g.s.33894 жыл бұрын
i just found you on youtube and let me say you are incredibly smart, great in 3d printing and fun. I am going to check your other videos. It would be nice if you could think at a new project like a robotic lamp arm.
@GunGryphon4 жыл бұрын
The perfect solution for defending your home from mannequins with long hair.
@nagualdesign4 жыл бұрын
This bad boy works on _all_ mannequins. 😎
@EskimoRuler114 жыл бұрын
This was a cool build. Now I feel like I need a 360 lidar to mess around with too.
@jamesbruton4 жыл бұрын
thanks, hoping to do more with it in the future
@isthissiddh4 жыл бұрын
the robot is definitely fantastic but what i loved the most was the amazing suspension mechanism
@ShravanSuryanarayana4 жыл бұрын
I had seen a video from Andreas Spiess titled "#227 The ugly truth about LIDARs for obstacle avoidance" where is explains a bit. This is a nice addition and update to it for us folks working on obstacle avoidance. A robot as proof of concept for sensors is always the most fun!!!. Thanks
@jacklewis14 жыл бұрын
interestingly the sensor doesn't use time of flight, instead has the laser at an angle and a camera to detect the position of the laser spot, then uses trig to find a distance, reducing the complexity and cost dramatically, as no extremely fast and accurate timing is needed.
@GadgetAddict4 жыл бұрын
I thought the delay in shooting is because the robot is waiting for the results of averaging. But it's very fast to move and then slow to fire. What's causing the delay in shooting?
@jamesbruton4 жыл бұрын
There is a delay set so the blaster motors power up properly before it pulls the trigger, and then the trigger needs to move. If the motors ran continuously then it could be quicker.
@masonbooh59414 жыл бұрын
Its reving up
@stanleypugh43593 жыл бұрын
If a nerf gun isnt given enough time to rev up the motors, it can cause the the gun to jam
@maskedredstonerproz3 жыл бұрын
@@jamesbruton or just rev up the motors while it's moving??
@theliteralicecreamman2 жыл бұрын
Imagine walking into his room, and everything is quiet, except for the gentle whirring of a strange orange device, which appears to be turned on. You walk closer to examine it and suddenly, it turns around. Very awesome and scary.
@marco_gallone4 жыл бұрын
Ou I know that this can be a real fun project! James, you should make it closed loop feedback and have the front of the robot track the target, using the lidar as the sensor to determine how much further the robot needs to turn to lock onto the target. That would make it perform way better than 36 different encoder count set points hard coded. Then you can include a PID to make the rotation happen sharply and swiftly! Or you can even have it estimate the “time till target acquired” and prepare arming sequence on route as it turns to face the target so that it can basically quick-draw. Releasing the bullets as soon as it has faced the target.
@danielhoven5704 жыл бұрын
FYI the quality value is the reflectivity of the surface, not the accuracy of the reading. Quality is a term in optics that refers to the ratio of reflected light to the incident light.
@iankearns4 жыл бұрын
I have taken about a year off your channel but glad I came back at this point. I would have these all around the house but it really does need the ED-209 voice from Robocop
@andrewmitchell58074 жыл бұрын
On today's episode of "finishing projects that normally take months of work in a single week"
@motbus34 жыл бұрын
i was thinking "cute robot with nerf guns...." then the first time it scans and turns i prayed for nobody making this with real guns :P
@DIYtechie Жыл бұрын
This is a very cool and fun project! Great implementation. Only should have the gun motors running continuously, so the reaction time would be way less. Thanks for sharing this cool project.
@rungeon833 жыл бұрын
One way of working out if something is further or closer based on "o" is to record the highest value that isn't 0, then when you check for 0, if it's a high number then you've gone over 7, and if it's a low number you're too close to something.. Not that it matters, building the robot so it can't ever be too close is a great idea :D
@SmithyScotland4 жыл бұрын
Please can you explain how you manage to design, develop, print, build and refine such large projects every week? I'm dumbfounded you can manage every week. You must have a large team and multiple 3d printers
@RobReynolds4 жыл бұрын
Definite shades of Ed209. "You have 20 seconds to comply"
@Flynn37784 жыл бұрын
Cannot like this enough. I have an A1 in my shopping cart and I'm about to pull the trigger on buying it!
@111connorg4 жыл бұрын
You should do a circle of about 8-10 guns and have the the same sensor at the top and have which ever the sensor picks up, the gun nearest that target shoots :) great robots!! Never miss your videos!!
@mcsdaver4 жыл бұрын
Amazing build James. Love this Nerf robot. If you gave it tank tracks and let it loose outside you could have a blast with it. Give it a target that you can shoot at for a Human VS Robot Battle!
@DrivewayWorkshop4 жыл бұрын
The company I work for makes industrial LIDAR scanners, fun to play with. Usually they are used for collision advoidance, although we have a measurement versiopn also.
@keithbaker58944 жыл бұрын
James that was awesome. Super fast rotation.
@jacksonhickman38513 жыл бұрын
Just a thought for V2. You could perhaps only use 1 blaster at a time, but leave it running for 10-30 second blocks and than swap to the other blaster. Leaving it running in cycles will hopefully be enough to not cause issues with the blaster motors whilst also allowing for the detection to shoot time to be largely reduced. Can't wait to see more of this project, I think might be the push I need to finally take back up coding again👍
@martijngeel92244 жыл бұрын
you could also use a maixduino for recognize objects and you can buy it for about us$28 with camera and display. It is arduino compatible board.
@realdotty53562 жыл бұрын
If you put a piece of glass or clear plexiglass in front of the LiDAR would it always return the same value? Or could it measure through the materials?
@bk06814 жыл бұрын
This is brilliant, soon robots will be pinning whole citys down. Caught the ghost busters reference
@EzequielBaltazar4 жыл бұрын
Can't wait to see this unit on your dog! 🤖
@bgrant15124 жыл бұрын
you should try using an electronic compass to directly match the LIDARs angle.
@u1zha4 жыл бұрын
Hm, no need for a compass to do that... The wheels can simply turn the robot to the angle where LIDAR reports the target as being. The LIDAR isn't using earth's magnetic field for reference, it's using its chassis.
@ThomasAHMoss4 жыл бұрын
This is a good start, but having only 12 shots between manual reloads is quite the limitation. Have you considered using a hopper-fed blaster, such as an Adventure Force Commandfire or a Dart Zone Destructor? This could dramatically increase ammo capacity and would have the incidental advantage of making the blaster easier to control, as these blasters come with a fully motorized firing mechanism.
@AlanBiffable4 жыл бұрын
Are you able to poll the lidar sensor in a timer interrupt or does the library support interrupts? It would likely help you get more consistent values if the code reading your sensor was deterministic.
@jamesbruton4 жыл бұрын
That might be what the start bit us for?
@Lrrrable4 жыл бұрын
Actually, this is the first robot itself that I see on this channel
@adamsolovay514 жыл бұрын
@James Bruton. Fantastic Project. I'm doing a simplified version of the project to just control the chassis with encoder position. Why not use the LIDAR data to rotate until the object detected is within the plus minus 5 degree window about the zero mark? Why use encoder, when the LIDAR data could be a more reliable closed loop system? Does my question make sense?
@s.k.t.38554 жыл бұрын
James, What is your preferred infill and filament material for your 3D prints? I'd like to try prototyping parts like you do for the most structurally sound framework.
@jamesbruton4 жыл бұрын
Probably 4 perimeters and about 20-30%, that's with a 0.5mm nozzle though
@settle3m4 жыл бұрын
He should put a small round disk below the li-dar unit to make it look like a top hat.
@DIYtechie Жыл бұрын
Love this music for the 3D-printing!
@mattiasfagerlund4 жыл бұрын
I think your printing of the distance values slowed down the measurements significantly - that's why the measurements looked so random? If you just keep the closest measured angle and only print that every rotation, things may look less messy?
@stevenacton3594 жыл бұрын
James shooting Onisions head - priceless!!!
@TacoMaster32114 жыл бұрын
Hey James, would it be possible to use the lidar to do 3D scans of objects, rather than mapping a room? I'm envisioning a vertical axis that the lidar would move up and down on, coupled with a rotating platform to put the object on. So the scanner would start at the top or bottom of the vertical axis, the object would do a full 360 rotation while the lidar is scanning, then the scanner would move 1 increment and start the cycle again.
@srtghfnbfg4 жыл бұрын
From a software engineer perspective, you can just say that you store the initial time and measure every loop iteration the time elapsed to not have to block/delay the code. Also you've kind of built a state machine where the flag just keeps track of the state.
@kantpredict4 жыл бұрын
He likes to explain "for dummies" because he can't guarantee that every new viewer is a software engineer.
@ripcurl0104 жыл бұрын
I badly need this for the mother in law....
@Nicecube3D4 жыл бұрын
Very good video, I have an old defective robo vacuum cleaner, I didn't know what to do with it, I'm going to use the included lidar to create a project! Now I need to see which model is in my Ecovac R95 :)
@theheathendiaries23524 жыл бұрын
So you have essentially made a sentry droid? Mate, you need to make it look like something out of star wars, that thing is frigging cool
@justluke87304 жыл бұрын
Did almost the same at university last year (exactly the same nerfgun) ... But we used 3 ultrasonic sensors to locate targets in 3d
@msm20294 жыл бұрын
Can someone please explain me the filtering used (distanceFiltered1 = (0.8 * distanceFiltered1) + (0.2 * distance1))? Is there a general formula for filtering data that I just didn't learn about?
@NicoDevs19984 жыл бұрын
I cannot wait for James to start using ROS!! It would be so cool to see his robots integrate SLAM and other frameworks like MoveIt!
@jamesbruton4 жыл бұрын
It's coming
@NicoDevs19984 жыл бұрын
@@jamesbruton Awesome! Really huge fan btw, you have been an incredible inspiration for me; started building robots and implementing better design techniques/practices thanks to you!
@edward96744 жыл бұрын
You could make the thing load itself with ammo rather easily if you had a oscillating turret, basically the same horizontal slewing mechanism on the bottom, then the rest of the thing is encased in a turret with no moving parts, the turret itself aims at stuff vertically through gears to shoot down or up, this allows for a simple autoloader to be attached to the guns, without the complications of having to move the gun to the autoloader position every time it has to reload.
@riaan_za9324 жыл бұрын
I presume the start bit means if the scanned results belong to new rotation, I guess they want you to move the data into array using the start bit to determine if you should create new object for the array...
@TheWareek4 жыл бұрын
how long did it take to 3d print the parts. very interesting could be used to keep the cat out of the vegetable patch.
@simontilstedhansen92964 жыл бұрын
This is the most advanced nerf gun robot I have ever seen, but you made it sound understandable 😁👌
@desktopantec22902 жыл бұрын
why whold you use a servo to fire a bullet if you could short the wires inside the gun to save code for the servo and to make it more reliable and shoot faster once you are ready to shoot
@owensparks50134 жыл бұрын
How about some facial recognition so it knows friend from intruder? Edit, doh, and that is why you should watch the video before commenting.
@masonbooh59414 жыл бұрын
Learnt the hard way
@AndrobotTECH4 жыл бұрын
good project friends, greetings of LATINO-AMERICA!!!!
@davismorehead249410 ай бұрын
Amazed how fast it rotates. It’s a little scary
@VideoStefan172 жыл бұрын
if you run up the nerfs and do the truning after that, the nerf shoots will go of faster. it hase the time it takes to turn. :) nice project!!
@amazinghistoryofvlogging68944 жыл бұрын
Love it, love it all. Both educational and entertaining. Keep up the awesome channel.
@alexlubbers15892 жыл бұрын
My mans is now literally the TF2 engineer. He built a sentry
@The_One_Time4 жыл бұрын
I was hoping that it would actually roam around with a map of the house built in and, if it detects a large change in the map (aka, someone goes in the robot's path) it will turn towards the target and fire. Maybe you can implement something like that one day, though the lidar can't really see that far. Maybe you can figure it out.
@user-wq3jr9hn4m4 жыл бұрын
I think James really enjoyed this one, I swear you could see him fighting to keep the grins away hahahah good stuff great content been following since R2-D2
@fabiengiraux29184 жыл бұрын
To improve precision you might need to consider SLAM algorithms. Plan detection and intersection, associated with some IMU that corrects your odometry, can help. Otherwise for less than 180 euros (range price of this simple lidar) you can get a quite precise T265 from intel. It provides you with a good translation vector and rotation quaternion for every move (200 fps). Very handy. It works with a jetson nano.
@tengelgeer4 жыл бұрын
Ever had weird glitches? Tip, turn off interrupts if you do anything with interrupt variables. R/W is not atomic aka they can (and Murphy tells us they will) change halve way trough a R/W. And yeah, arrays xD
@polkiipo4 жыл бұрын
you know ? when Otacon created the metal gear, he immediatly regreted it.
@violentcrumble67204 жыл бұрын
great video, love your channel. Would love to see parts lists in your comment section, So for example a link to buy the motors or the lidar. thanks heaps.
@Lucian_Andries4 жыл бұрын
I was wondering if you can use it to detect movement... But a movement detector is just a pretty basic version of this. Can you set how hard it fires, depending on the distance to the target? Also, does it need another Lidar for its movement, avoiding obstacles, and detecting moving targets? Or can it be done with just one, but with a better software? Depending on all of that, it can be a very cool toy! Add a controller, a camera with VR support, maybe a speaker + mic, and you can sell it as a toy. I'd buy some! :) ;)
@Lucian_Andries4 жыл бұрын
On another note: Thank God it doesn't have an AI, or we would have been doomed!!!!! 🤣🤣🤣
@yeplol13673 жыл бұрын
That’s cool, respect for your skills, seriously! Only thing is, your robot is only moving around his own axis. It’s basically a turret. When it would drive, it would shoot on anything coming in range wouldn’t it. I don’t think lidar is the right choice for the intended purpose of your robot. The idea at the end with face recognition would make more sense, then the robot could freely move without being stationary and shoot on things in proximity. Still, awesome project!
@TheRealAlpha24 жыл бұрын
It's like an angry little R2D2 the way the motors squeal when it winds up to shoot.
@casparleighton6634 жыл бұрын
There are bad nerds, and there are good nerds but you are the best nerd
@Nadesican4 жыл бұрын
It wouldn't be too much more work to code a target lock function. I think you'd have better luck with thermal vision over a regular camera though - simpler input and easier to quantify shapes.
@Paul-rs4gd4 жыл бұрын
Love this project, but Jody Williams is coming for you James !
@ianknowles4 жыл бұрын
That Lidar is pretty cool and really easy to hack. Did you get the 12m version?
@ScruffySage4 жыл бұрын
It's not a clip, it's a magazine... This thing is awesome though!
@sethrd9994 жыл бұрын
If you use the Jetson board its not just ROS youl be interested in, you might do some investigation into TensorFlow and Keras. ROS and the Machine Learning software support Python which is great for prototyping but youl want to move these over to C++ ultimately to get the best responses and accuracy.
@Sn0wL4d4 жыл бұрын
You should add some N-Strike ELITE round ammo drums to it. No design changes needed and you’d have 50 shots 😉
@CptJellyfish994 жыл бұрын
Does anyone know where I can find the RPLIDAR A1 USB adaptor board as a CAD model? Thanks
@mariovelez5784 жыл бұрын
This guy is gonna take down a whole military with Nerf darts
@heinrichhelmbold4194 жыл бұрын
Awesome video... I have been working on something similar for the past 3 or 4 months and this was a great inspiration and also a nudge into a new direction of thinking. I have been using big stepper motors with a massive Nerve gun attached, but the steppers are too jerky and slow, somI am following your approach now. Btw... the start bit on the lidar tells you if it is the start of a new scan. So basically every time it gets to 0 degrees
@Goodwill3454 жыл бұрын
You are the best and the fastest in the entire world as of today when it comes to building new robotics projects. This definately can be sold commercially, imagine killing all the pests in your fields suchba locusts taking over large villages and cities, it is like advanced slingshots used by farmers and defense systems. There is a lot covered in this project which takes years of experience and hardwork
@andydix62434 жыл бұрын
When you have it roaming around seeking to destroy, add some targets to it which temporarily disable it. Then when the pandemic is over, take it to that warehouse, set up some obstacles (cardboard boxes etc.) and invite people to play capture the flag against it. They can try to disable it with their own nerf shots whilst it seeks them out. I'd pay to play that 😂
@starblastershooter24444 жыл бұрын
You are amazing my guy, wanna make robots like you
@justwoofy79904 жыл бұрын
do you need the encoders? just have the robot turn until the target is centered.
@jamesbruton4 жыл бұрын
How will it know though?
@justwoofy79904 жыл бұрын
@@jamesbruton I was thinking if the lidar sees a target at 20 degrees, it could turn right. It would see the target rotate through 10 degrees to 0 degrees by monitoring the lidar as it turns. It could save the cost of expensive encoders for anyone building this.
@CricetoFunni4 жыл бұрын
7-year old me would love this, current me also loves this!
@christiansrensen38104 жыл бұрын
Me as 7 year old..."what's your name".. the current me..."what's your name"..🤗
@hyperspeed3dprinting6944 жыл бұрын
hi james you could turn it into a small Dalek from dr who that would be cool to see
@mertcapkin72633 жыл бұрын
could you please provide a link or part number for the encoders?
@pr3sidentspence4 жыл бұрын
A small improvement could be to start the guns spinning up on detection, not after aiming. Might fire a little faster that way.
@HoangNguyen-bq9vp3 жыл бұрын
I have a question: if there are two target then what happen?