Mambo with sched schedular not working
See original GitHub issuesched.scheduler(time.time, self.mambo.smart_sleep).enter(10, 2, self.mambo.fly_direct, (20, 0, 0, 0, 1))
sched.scheduler(time.time, self.mambo.smart_sleep).enter(40, 2, self.mambo.fly_direct, (20, 0, 0, 0, 1))
sched.scheduler(time.time, self.mambo.smart_sleep).enter(70, 2, self.mambo.fly_direct, (-20, 0, 0, 0, 1))
sched.scheduler(time.time, self.mambo.smart_sleep).enter(100, 2, self.mambo.fly_direct, (-20, 0, 0, 0, 1))
I want to send roll, pitch, yaw angles to the parrot mambo for every 30 second to see its mathematical behavior. However If I write a code like above pyparrot giving an error with description
timeout - trying again
This error sometimes solving by itself without writing any correction code, however generaly it gives me an error.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Frequently Asked Questions | The University of New Orleans
Is MAMBO online or in person? Great question-- it's both! Your MAMBO schedule will include an Online day, an In-person day, a Service...
Read more >Upcoming Progressive Series - Mambo Room - Norfolk VA
A Progressive Series consists of multiple consecutive dance classes structured to build skills from week to week. To get the best results possible, ......
Read more >Mambo TV Listings and Schedule | TV Guide
Find out when and where you can watch Mambo with TV Guide's full TV listings schedule.
Read more >Grand Mambo Cafe Tlalnepantla Tickets - Ticketmaster
Find Grand Mambo Cafe Tlalnepantla venue concert and event schedules, ... Event Schedule (0) ... Do Not Sell or Share My Personal Information....
Read more >Python scheduler not running a function scheduled in an import
run() has to be called in order to run any scheduled tasks. The scheduler.enter() method on it's own will just schedule events, not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It seems that even
self.s = sched.scheduler(time.time, self.mambo.smart_sleep)
breaks wifi connection. Writing my own scheduler algorithm solved the problem.I simply initialize a list with tasks inside (second, function, args, is_done)
then I perform if second claimed
even if it is spagetti code, this is enough for me for now.
Yes mambo starts blinking when I try to send data and I get timeout. Also what did you mean bu “automated timer that tries to reconnect”. Should I call mambo.connect over and over again to escape timeout error?