Posts

Showing posts from April 4, 2019

scanning the area with rotating turtlebot 2

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 0 I'm working on a project with ROS using gzebo simulator and turtlebot 2. I'm trying to make my robot navigate himself into a clear path. my robot moves only forward, and my idea was to rotate it 360 degrees and get readings from his laser scan, and then get back to the angle that had a reading that represents a clear path. I'm having trouble thinking about a right implementation though and would like to get some reviews about my idea and any suggestions that could help. Thanks! ros robotics share | improve

Broadcast to all users each two seconds: websockets vs short-polling + CDN

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 0 I need to broadcast 1 KB of data to all website users each 2 seconds. The data are common for all users. Does HTTP short-polling and dynamic CDN in front of my web server good fit for my needs? Or two-second update period is too much for CDN and I have to use web sockets? Websockets sounds like overhead because of their state and come on that's only few KBs each 2 seconds) http websocket cdn long-polling share | improve this question edited Nov 21 '18 at 21:19