8 ms·
XUAN-Bike: Self-riding, riderless bike
- postpawl 5y agoProbably the most creative usage of an ESP32 I’ve seen so far.
- justicezyx 5y agoI write infrastructure system, and had little experience in embedded or microcontroller. Why is it creative?
- mdorazio 5y agoBecause the vast majority of ESP32 projects (and R-Pi for that matter) that get posted on here are for basic IoT things that don't need anywhere near the capabilities of an ESP32.
- lowdest 5y agoThe E-bike rental business will be significantly more profitable with these. Automated delivery to your location when you rent, automated return when you're done. No more paying staff to collect bikes and return them to high-traffic areas, and probably fewer bikes lost overall.
- adrianN 5y agoThis doesn't appear to have any sensor that could possibly allow it to participate in traffic. So in terms of auto-car driving level it's probably around the "brick on the accelerator" stage. Edit: upon a closer look I retract my previous comment and claim the opposite :)
- scoopertrooper 5y agoYou mean other than the onboard lidar and camera?
- chenzhekl 5y agoDemonstration video: https://m.bilibili.com/video/BV1fV411x72a https://m.bilibili.com/video/BV1fV411x72a
- bfung 5y agoThe video’s chat comments are pretty funny, similar to twitch chat. He’s explaining the planning, basic physics, and build process. Some of the comments were like: “I took a course on this but still lost” At 5:00, he’s explaining the AI processing part and made a comment of how this part is “comparatively simple” and the whole chat repeats this (sarcastically). Then most of the people say how they’re lost and how this guy is a boss Pretty fun video to watch overall.
- shoto_io 5y agoSide question: the road and everything looks super tidy. No trash, all new. Is this normal for China? Or was this filmed in an upscale neighborhood?
- contingencies 5y agoYes, this is normal in managed residential and commercial neighbourhoods. Presumably one would seek out such a controlled environment for testing. PS. Not sure what city this was filmed in, visible number plates are Shanghai and Yunnan, but he mentions Tsinghua (Beijing).
- ggcdn 5y agoOne thing I noticed in Chinese cities is that they often had a cleaner assigned to each block. They would have a blue jumpsuit, broom, shovel, and wheelie bin. In the big cities, streets were very clean.
- nsonha 5y agopeople are too woke to comment on the fact that this is in Chinese? Maybe we should start posting and commenting in all languages in HN?
- bottled_poe 5y agoThe code is in English. Edit: I lie. some of the code.
- scoopertrooper 5y ago> people are two woke to comment on the fact that this is in Chinese? I think it's more like three woke.
- nsonha 5y agojust taking the opportunity to mention the fact that English is my second language, seeing that I'm being downvoted
- scoopertrooper 5y agoYou're not being downvoted for the spelling error. You just made a politically charged accusation against the HN community for focusing more on the high-schooler-created-a-self-driving-bicycle than the github-repo-happened-to-be-in-chinese part of a post. This is a legitimately cool project regardless of the origin of its creator and the language they speak.
- nsonha 5y agoit's not a cool project if you are not able to understand it. There are probably Chinese hacker news or something similar and there would be a perfect place for this cool post. Why doesn't hacker news have content in other languages? Is that because those contents are not cool or that people respect the expectation that everything here is in a common language that everyone can understand?
- nneonneo 5y agoWow, that’s utterly mind blowing that this was done by a single person. You have to see the video, even if you don’t understand Chinese: https://www.bilibili.com/video/BV1fV411x72a https://www.bilibili.com/video/BV1fV411x72a Aside from some help he got from a friend to fabricate the metal parts (he gave up on 3D printing since it was too fragile), it seems he did everything else himself. A very impressive project. I’d be happy to help interpret a bit what is going on in the video or the project itself. Short story is that it is, by all appearances, a self-propelled bike which uses a central gyro wheel for stabilization and a rear driving wheel for motion. It has an RGBD camera mounted at the front for obstacle sensing, an ESP32 for real-time control using ROS, and a Huawei DaVinci processor running Linux for the sensing with some unspecified computer vision bits. It looks like he custom-designed the PCB to integrate these two processors. Edited: misunderstood the last bit. He’s not a high school student, but he is a recent university graduate (finished undergrad in 2018).
- aetherspawn 5y agoI don't think that it properly 'self navigates'. It seems to more just be a 'go forward without crashing into stuff' sort of algorithm. If you presented it with a dead end or a traffic cone or something like that, it would probably completely freak out and start oscillating. The navigation seems to be very rudimentary, but props to the creator because it's very good at staying upright.
- 71a54xd 5y agoThat's an incredible video! How one person did this is beyond me, but my hat's off to the creator of this project. I have to say though... the streaming comments overlaid on the video player in BiliBili is beyond annoying.
- anonygler 5y agoGoogle had an April fools about this ~4 years ago. This looks brilliant.
- wubawam 5y agoNeat. It seems like during turning it stabilizes very upright, I wonder how you could give it the natural lean into turns like a bike rider.
- loeg 5y agoYou'd need to get rid of the gyro, I think.
- nielsole 5y agoAlso I am curious how one modifies a PID controller to keep the RPM of the reaction wheel low. With a standard PID controller you would eventually exceed Max RPM, wouldn't you
- contrarian_5 5y agothe reaction wheel works because of the large moment of inertia of the wheel. when the bike begins to tip over, it applies a torque to the wheel. you can imagine trying to get that wheel turning with your hands, it would offer a lot of resistance at first before getting up to speed. the bike is applying torque against that resistance and this moves the bike. this means that, if the moment of the wheel is large enough, and the correction small enough, you could make a correction without even spinning the wheel very much at all. when the bike is making a correction, it can overshoot and then stop the wheel suddenly, which would ultimately result in the bike becoming perfectly upright and the wheel not accumulating any speed from one correction to the next. if the momentum of the correction you need to make is greater than the momentum of the wheel spinning at max RPM, then the bike will fall over. this means that the system will fail if the bike is pushed too hard, becomes too off-balance or if there is something heavy, like a person, on top of it. with a wheel that was heavy enough, and a motor strong enough, the bike would be able to make itself upright from laying on the ground or keep itself upright with a person and cargo on top.
- coryrc 5y agoYou change the target lean angle based on RPM. Let's say there's a side wind from the right, the wheel keeps spinning faster, so it'll set the desired lean further to the right until the RPM starts dropping.
- Matthias247 5y agoWow, the bike standing there and seemingly not doing any motion to stabilize itself (like a human rider would) is quite interersting. I guess its still doing micro-movements, but they are not captured by the camera. What I'm wondering a little bit is how stability would be, given the thingy is rather light without a rider. Bikes definitely gain stability from weight - and the rider adds the biggest amount of that.
- rzzzt 5y agoReaction wheels can provide a surprising amount of control over balance: https://youtu.be/n_6p-1J551Y https://youtu.be/n_6p-1J551Y
- xarope 5y agoInteresting, this reminds me of the cube weapon in the Gibson novel "The Peripheral"
- JBorrow 5y agoHuman riders can kinda do that too (track standing)
- Matthias247 5y agoSure! But what I meant is that a human rider doing a trackstand will do a far bigger amount of motions. There's always some steering and rocking back and forth involved. See for example https://youtu.be/I6ABRLHLiTg?t=139 https://youtu.be/I6ABRLHLiTg?t=139
- contrarian_5 5y agoarent chinese people not supposed to have github accounts, or facebook/youtube/twitter accounts? interesting though.
- throwaway4good 5y agoGitHub is not blocked in China afaik.
- contingencies 5y agoGists are blocked, hosted media are blocked, but the main site is accessible. Functionally, to use it you must have a VPN.
- hungryhobo 5y agohttps://youtu.be/kCL2d7wZjU8?t=479 https://youtu.be/kCL2d7wZjU8?t=479 Video demo for anyone wanting a TLDR
- vzaliva 5y agoThe bike towards the end of the video looks different from the one in the beginning. Perhaps somebody who understand Chinese could clarify this for me?
- vidarh 5y agoHe was inspired by a bike developed at Tsinghua university. The second bike shown is that one. (Chrome on Android did a reasonable job translating the subtitles almost as soon as they appeared)
- lsb 5y agoSelf-driving bicycles (for last-mile deliveries) can be _much less precise_ than cars: 10mph is slow enough for both parties to have a lot of time to react, and if 50lbs of bicycle going at 10mph hits a pedestrian (god forbid) the impact might not even knock you down.
- wombatmobile 5y agoI understand this now I've seen the video and read the comments. At first, I wondered where a "self-riding, riderless bike" would go, and what it would do when it got there.
- LargoLasskhyfv 5y agoNow integrate that into all the e-roller rentals, and have them drive back by themselves to their parking and loading points. No more 'juicers' necessary!
- deleted 5y ago[deleted]