OpenMarine

Full Version: New Py Zero 2 W is Out!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
(2022-07-25, 08:12 PM)ironman Wrote: [ -> ]I'm currently trying to find a pizero 2. Is there anywhere in the world I can buy one? Thx!

https://rpilocator.com/
Thanks for that link! However it does not raise my hopes at all.

Has anyone tried to get tinycore on a Banana Pi M2 zero?
(2022-07-26, 10:40 AM)ironman Wrote: [ -> ]Thanks for that link! However it does not raise my hopes at all.

Has anyone tried to get tinycore on a Banana Pi M2 zero?

I got a spare pi zero 2w recently linked from the Pi locator site. They do come up pretty often but get gobbled up fast, checking that site a few times a day & buying instantly might get one.
Thx, from now on I guess we're now both fishing in the same pond ;-) You actually received that one already?
(2022-07-26, 08:15 PM)ironman Wrote: [ -> ]Thx, from now on I guess we're now both fishing in the same pond ;-) You actually received that one already?

Past few months I've managed to get a spare Pi4 & PiZero2w from links on that site
I wrote stellian's image of Tinypilot for zero 2w on an sd-card and inserted it into the raspberry. It seemed to boot up nicely, but the 'warning no motor controller' pops up on the screen. The strange thing is that I actually can control my actuator via the web interface and the provided remote. While powering only the motor controller the red led lights up, after powering up the zero 2w it starts flickering the green led as wel with some short stops. When giving input command the blue led lights up. Could someone give me a hand? What am I missing?

To add: I am using the latest motor controller and HAT from the pypilot store and these are pre-wired.
That is quite odd.

So the pilot works, just showing that warning? Does the web show no motor controller too?

Did you change anything or just boot his image?
(2022-08-05, 09:03 PM)seandepagnier Wrote: [ -> ]That is quite odd.  

So the pilot works, just showing that warning?    Does the web show no motor controller too?

Did you change anything or just boot his image?

Jep, the web shows the same warning. I didn't change anything as far as I know of and tried it a couple of times.
Never saw this either...

I guess we need to see the logs of pypilot and pypilot_hat...
Code:
cat /var/log/pypilot/current
2021-11-21_12:00:12.62867 autopilot start 13.298341869
2021-11-21_12:00:12.62910 autopilot start 18.894951763
2021-11-21_12:00:12.65873 Settings file RTIMULib.ini loaded
2021-11-21_12:00:12.65881 Failed to open settings file for saveDetected ICM20948 at standard address
2021-11-21_12:00:12.66081 Failed to open settings file for saveUsing fusion algorithm Kalman STATE4
2021-11-21_12:00:12.66100 min/max compass calibration not in use
2021-11-21_12:00:12.66105 Using ellipsoid compass calibration
2021-11-21_12:00:12.66112 Using accel calibration
2021-11-21_12:00:12.76633 loading servo calibration /home/tc/.pypilot/servocalibration
2021-11-21_12:00:12.76645 WARNING: using default servo calibration!!
2021-11-21_12:00:12.76652 Available Pilots: ['absolute', 'basic', 'simple', 'wind']
2021-11-21_12:00:12.76658 warning: failed to open special file /dev/watchdog0 for writing
2021-11-21_12:00:12.76673          cannot stroke the watchdog
2021-11-21_12:00:12.97135 ICM-20948 init complete
2021-11-21_12:06:59.09070 autopilot init complete 19.27496968
2021-11-21_12:06:59.09081 servo probe ('/dev/ttyAMA0', 38400) 19.288697857
2021-11-21_12:06:59.09091 server/client is running too _slowly_ 0.042511979000000366
2021-11-21_12:06:59.09103 read imu running too _slowly_ 0.06249463500000019 0.05
2021-11-21_12:06:59.09113 read imu running too _slowly_ 0.06254333299999715 0.05
2021-11-21_12:06:59.09122 read imu running too _slowly_ 0.03703291600000114 0.05
2021-11-21_12:06:59.09132 servo probe ('/dev/ttyAMA0', 38400) 25.340294833
2021-11-21_12:06:59.09141 server/client is running too _slowly_ 1.0604607810000033
2021-11-21_12:06:59.09154 server/client is running too _slowly_ 0.049820103999998366
2021-11-21_12:06:59.09164 servo probe ('/dev/ttyAMA0', 38400) 29.403672905
2021-11-21_12:06:59.09173 server/client is running too _slowly_ 0.04845156300000042
2021-11-21_12:06:59.09186 servo probe ('/dev/ttyAMA0', 38400) 34.46801983
2021-11-21_12:06:59.09195 server/client is running too _slowly_ 0.06186760399999969
2021-11-21_12:06:59.09205 servo probe ('/dev/ttyAMA0', 38400) 39.506172276
2021-11-21_12:06:59.09214 server/client is running too _slowly_ 0.0543947390000028
2021-11-21_12:06:59.09227 servo probe ('/dev/ttyAMA0', 38400) 43.574478993
2021-11-21_12:06:59.09236 server/client is running too _slowly_ 0.05023276099999663
2021-11-21_12:06:59.09246 servo probe ('/dev/ttyAMA0', 38400) 48.636575345
2021-11-21_12:06:59.09255 GPSD devices []
2021-11-21_12:06:59.09260 servo probe ('/dev/ttyAMA0', 38400) 53.647082219
2021-11-21_12:06:59.09270 servo probe ('/dev/ttyAMA0', 38400) 57.688314248
2021-11-21_12:06:59.09279 read imu running too _slowly_ 0.041985676999999555 0.05
2021-11-21_12:06:59.09288 servo probe ('/dev/ttyAMA0', 38400) 62.760095548
2021-11-21_12:06:59.09298 read imu running too _slowly_ 0.046194270999990295 0.05
2021-11-21_12:06:59.09310 servo probe ('/dev/ttyAMA0', 38400) 67.76248789
2021-11-21_12:06:59.09319 servo probe ('/dev/ttyAMA0', 38400) 71.79998341
2021-11-21_12:06:59.09328 server/client is running too _slowly_ 0.04804156299999818
2021-11-21_12:06:59.09337 servo probe ('/dev/ttyAMA0', 38400) 76.875326533
2021-11-21_12:06:59.09347 server/client is running too _slowly_ 0.05959031300000106
2021-11-21_12:06:59.09356 servo probe ('/dev/ttyAMA0', 38400) 81.915282989
2021-11-21_12:06:59.09366 servo probe ('/dev/ttyAMA0', 38400) 85.960548873
2021-11-21_12:06:59.09375 server/client is running too _slowly_ 0.058687395999996284
2021-11-21_12:06:59.09388 servo probe ('/dev/ttyAMA0', 38400) 91.033824027
2021-11-21_12:06:59.09397 server/client is running too _slowly_ 0.04917677100000617
2021-11-21_12:06:59.09407 servo probe ('/dev/ttyAMA0', 38400) 96.046697202
2021-11-21_12:06:59.09416 server/client is running too _slowly_ 0.04737645800000223
2021-11-21_12:06:59.09429 servo probe ('/dev/ttyAMA0', 38400) 100.083638711
2021-11-21_12:06:59.09439 server/client is running too _slowly_ 0.05512625000000071
2021-11-21_12:06:59.09448 servo probe ('/dev/ttyAMA0', 38400) 105.153277407
2021-11-21_12:06:59.09457 server/client is running too _slowly_ 0.05096260400000574
2021-11-21_12:06:59.09474 servo probe ('/dev/ttyAMA0', 38400) 110.166577197
2021-11-21_12:06:59.09484 server/client is running too _slowly_ 0.04759713499998952
2021-11-21_12:06:59.09493 servo probe ('/dev/ttyAMA0', 38400) 114.203554747
2021-11-21_12:06:59.09503 servo probe ('/dev/ttyAMA0', 38400) 119.290550475
2021-11-21_12:06:59.09515 servo probe ('/dev/ttyAMA0', 38400) 124.300561671
2021-11-21_12:06:59.09525 servo probe ('/dev/ttyAMA0', 38400) 128.343407242
2021-11-21_12:06:59.09534 read imu running too _slowly_ 0.0366364059999853 0.05
2021-11-21_12:06:59.09543 servo probe ('/dev/ttyAMA0', 38400) 133.406767813
2021-11-21_12:06:59.09553 servo probe ('/dev/ttyAMA0', 38400) 138.418225936
2021-11-21_12:06:59.09562 servo probe ('/dev/ttyAMA0', 38400) 142.457176976
2021-11-21_12:06:59.09571 read imu running too _slowly_ 0.04685942699998691 0.05
2021-11-21_12:06:59.09581 server/client is running too _slowly_ 0.050543228999998746
2021-11-21_12:06:59.09594 read imu running too _slowly_ 0.026499374999986003 0.05
2021-11-21_12:06:59.09603 servo probe ('/dev/ttyAMA0', 38400) 147.51180661
2021-11-21_12:06:59.09613 server/client is running too _slowly_ 0.051144687000004296
2021-11-21_12:06:59.09626 servo probe ('/dev/ttyAMA0', 38400) 152.526719264
2021-11-21_12:06:59.09635 server/client is running too _slowly_ 0.04671843699998135
2021-11-21_12:06:59.09644 servo probe ('/dev/ttyAMA0', 38400) 156.564389992
2021-11-21_12:06:59.09654 server/client is running too _slowly_ 0.047578280999999834
2021-11-21_12:06:59.09672 read imu running too _slowly_ 0.026461457999999993 0.05
2021-11-21_12:06:59.09682 servo probe ('/dev/ttyAMA0', 38400) 161.631957438
2021-11-21_12:06:59.09691 servo probe ('/dev/ttyAMA0', 38400) 166.652532227
2021-11-21_12:06:59.09701 server/client is running too _slowly_ 0.05152203100001884
2021-11-21_12:06:59.09714 servo probe ('/dev/ttyAMA0', 38400) 170.714756549
2021-11-21_12:06:59.09723 read imu running too _slowly_ 0.026311198000001923 0.05
2021-11-21_12:06:59.09732 server/client is running too _slowly_ 0.04934494799999811
2021-11-21_12:06:59.09745 servo probe ('/dev/ttyAMA0', 38400) 175.806515245
2021-11-21_12:06:59.09755 server/client is running too _slowly_ 0.0472051570000076
2021-11-21_12:06:59.09764 servo probe ('/dev/ttyAMA0', 38400) 180.827318524
2021-11-21_12:06:59.09773 servo probe ('/dev/ttyAMA0', 38400) 184.866870346
2021-11-21_12:06:59.09783 read imu running too _slowly_ 0.04687312499999052 0.05
2021-11-21_12:06:59.09792 servo probe ('/dev/ttyAMA0', 38400) 189.942659823
2021-11-21_12:06:59.09805 server/client is running too _slowly_ 0.050998541000012665
2021-11-21_12:06:59.09815 servo probe ('/dev/ttyAMA0', 38400) 194.982793467
2021-11-21_12:06:59.09824 server/client is running too _slowly_ 0.05218447900000456
2021-11-21_12:06:59.09837 servo probe ('/dev/ttyAMA0', 38400) 199.044716798
2021-11-21_12:06:59.09846 server/client is running too _slowly_ 0.049089479999992136
2021-11-21_12:06:59.09855 servo probe ('/dev/ttyAMA0', 38400) 204.106617265
2021-11-21_12:06:59.09865 server/client is running too _slowly_ 0.04703625000001921
2021-11-21_12:06:59.09878 servo probe ('/dev/ttyAMA0', 38400) 209.122479607
2021-11-21_12:06:59.09887 server/client is running too _slowly_ 0.050895781000008355
2021-11-21_12:06:59.09897 servo probe ('/dev/ttyAMA0', 38400) 213.183245231
2021-11-21_12:06:59.09906 server/client is running too _slowly_ 0.05449052099999108
2021-11-21_12:06:59.09919 servo probe ('/dev/ttyAMA0', 38400) 218.276164187
2021-11-21_12:06:59.09929 server/client is running too _slowly_ 0.04698656200000073
2021-11-21_12:06:59.09938 servo probe ('/dev/ttyAMA0', 38400) 223.29237257
2021-11-21_12:06:59.09947 server/client is running too _slowly_ 0.050561874999999645
2021-11-21_12:06:59.09960 servo probe ('/dev/ttyAMA0', 38400) 227.353226267
2021-11-21_12:06:59.09970 servo probe ('/dev/ttyAMA0', 38400) 232.448707411
2021-11-21_12:06:59.09979 servo probe ('/dev/ttyAMA0', 38400) 237.497813346
2021-11-21_12:06:59.09988 server/client is running too _slowly_ 0.04694760400002451
2021-11-21_12:06:59.09998 servo probe ('/dev/ttyAMA0', 38400) 241.544077095
2021-11-21_12:06:59.10009 read imu running too _slowly_ 0.051962863999989395 0.05
2021-11-21_12:06:59.10022 server/client is running too _slowly_ 0.04812994700000672
2021-11-21_12:06:59.10032 read imu running too _slowly_ 0.026451927000010755 0.05
2021-11-21_12:06:59.10041 servo probe ('/dev/ttyAMA0', 38400) 246.606553343
2021-11-21_12:06:59.10054 servo calibration invalid False
2021-11-21_12:06:59.10059 server/client is running too _slowly_ 0.05220453199999042
2021-11-21_12:06:59.10069 servo probe ('/dev/ttyAMA0', 38400) 251.612196153
2021-11-21_12:06:59.10078 servo probe ('/dev/ttyAMA0', 38400) 255.654580371
2021-11-21_12:06:59.10087 server/client is running too _slowly_ 0.047362343999964196
2021-11-21_12:06:59.10100 read imu running too _slowly_ 0.05190411400002404 0.05
2021-11-21_12:06:59.10110 servo probe ('/dev/ttyAMA0', 38400) 260.747118494
2021-11-21_12:06:59.10119 read imu running too _slowly_ 0.04680192699998997 0.05
2021-11-21_12:06:59.10132 servo probe ('/dev/ttyAMA0', 38400) 265.754223856
2021-11-21_12:06:59.10141 server/client is running too _slowly_ 0.04953307300002052
2021-11-21_12:06:59.10151 servo probe ('/dev/ttyAMA0', 38400) 269.815625574
2021-11-21_12:06:59.10160 servo probe ('/dev/ttyAMA0', 38400) 274.911310728
2021-11-21_12:06:59.10169 server/client is running too _slowly_ 0.05171416599995382
2021-11-21_12:06:59.10182 read imu running too _slowly_ 0.026486979000026167 0.05
2021-11-21_12:06:59.10192 servo probe ('/dev/ttyAMA0', 38400) 279.951785986
2021-11-21_12:06:59.10201 servo probe ('/dev/ttyAMA0', 38400) 283.993436349
2021-11-21_12:06:59.10211 servo probe ('/dev/ttyAMA0', 38400) 289.081921035
2021-11-21_12:06:59.10220 server/client is running too _slowly_ 0.05098765600001798
2021-11-21_12:06:59.10233 read imu running too _slowly_ 0.026573593999955847 0.05
2021-11-21_12:06:59.10242 servo probe ('/dev/ttyAMA0', 38400) 294.121954679
2021-11-21_12:06:59.10252 server/client is running too _slowly_ 0.05111958300000197
2021-11-21_12:06:59.10261 servo probe ('/dev/ttyAMA0', 38400) 298.184494469
2021-11-21_12:06:59.10274 server/client is running too _slowly_ 0.04857546900001353
2021-11-21_12:06:59.10283 servo probe ('/dev/ttyAMA0', 38400) 303.246815613
2021-11-21_12:06:59.10293 servo probe ('/dev/ttyAMA0', 38400) 308.25859733
2021-11-21_12:06:59.10302 servo probe ('/dev/ttyAMA0', 38400) 312.300488787
2021-11-21_12:06:59.10312 read imu running too _slowly_ 0.04178708300003109 0.05
2021-11-21_12:06:59.10321 servo probe ('/dev/ttyAMA0', 38400) 317.370437274
2021-11-21_12:06:59.10334 servo probe ('/dev/ttyAMA0', 38400) 322.381636543
2021-11-21_12:06:59.10343 servo probe ('/dev/ttyAMA0', 38400) 326.42362675
2021-11-21_12:06:59.10353 server/client is running too _slowly_ 0.052084165999986
2021-11-21_12:06:59.10362 servo probe ('/dev/ttyAMA0', 38400) 331.476723519
2021-11-21_12:06:59.10371 server/client is running too _slowly_ 0.0470849470000303
2021-11-21_12:06:59.10381 servo probe ('/dev/ttyAMA0', 38400) 336.502444559
2021-11-21_12:06:59.10394 server/client is running too _slowly_ 0.0506472389999999
2021-11-21_12:06:59.10403 servo probe ('/dev/ttyAMA0', 38400) 340.564571953
2021-11-21_12:06:59.10413 servo probe ('/dev/ttyAMA0', 38400) 345.659693982
2021-11-21_12:06:59.10422 servo probe ('/dev/ttyAMA0', 38400) 350.671628199
2021-11-21_12:06:59.10431 server/client is running too _slowly_ 0.04988947900000085
2021-11-21_12:06:59.10444 servo probe ('/dev/ttyAMA0', 38400) 354.732995802
2021-11-21_12:06:59.10454 servo probe ('/dev/ttyAMA0', 38400) 359.829517362
2021-11-21_12:06:59.10463 server/client is running too _slowly_ 0.05212067700000489
2021-11-21_12:06:59.10472 servo probe ('/dev/ttyAMA0', 38400) 364.870951371
2021-11-21_12:06:59.10480 servo probe ('/dev/ttyAMA0', 38400) 368.913084963
2021-11-21_12:06:59.10488 servo probe ('/dev/ttyAMA0', 38400) 374.002625846
2021-11-21_12:06:59.10496 servo probe ('/dev/ttyAMA0', 38400) 379.013033917
2021-11-21_12:06:59.10507 server/client is running too _slowly_ 0.04940890599999648
2021-11-21_12:06:59.10515 servo probe ('/dev/ttyAMA0', 38400) 383.074746312
2021-11-21_12:06:59.10525 servo probe ('/dev/ttyAMA0', 38400) 388.169740841
2021-11-21_12:06:59.10533 servo probe ('/dev/ttyAMA0', 38400) 393.180663808
2021-11-21_12:06:59.10541 server/client is running too _slowly_ 0.0510749470000178
2021-11-21_12:06:59.10553 servo probe ('/dev/ttyAMA0', 38400) 397.243665837
2021-11-21_12:06:59.10561 servo probe ('/dev/ttyAMA0', 38400) 402.339520106
2021-11-21_12:06:59.10569 servo probe ('/dev/ttyAMA0', 38400) 407.352102969
2021-11-21_12:06:59.10577 server/client is running too _slowly_ 0.05041744799996195
2021-11-21_12:06:59.10585 servo probe ('/dev/ttyAMA0', 38400) 411.414864634
2021-11-21_12:06:59.10594 servo probe ('/dev/ttyAMA0', 38400) 416.511200882
2021-11-21_12:06:59.10602 servo probe ('/dev/ttyAMA0', 38400) 421.522432912
2021-11-21_12:06:59.10610 server/client is running too _slowly_ 0.05020114600000625
2021-11-21_12:06:59.10621 servo probe ('/dev/ttyAMA0', 38400) 425.583601868

pypilot/current
tc@pypilot:~$ cat /var/log/pypilot/current
2021-11-21_12:00:12.62867 autopilot start 13.298341869
2021-11-21_12:00:12.62910 autopilot start 18.894951763
2021-11-21_12:00:12.65873 Settings file RTIMULib.ini loaded
2021-11-21_12:00:12.65881 Failed to open settings file for saveDetected ICM20948 at standard address
2021-11-21_12:00:12.66081 Failed to open settings file for saveUsing fusion algorithm Kalman STATE4
2021-11-21_12:00:12.66100 min/max compass calibration not in use
2021-11-21_12:00:12.66105 Using ellipsoid compass calibration
2021-11-21_12:00:12.66112 Using accel calibration
2021-11-21_12:00:12.76633 loading servo calibration /home/tc/.pypilot/servocalibration
2021-11-21_12:00:12.76645 WARNING: using default servo calibration!!
2021-11-21_12:00:12.76652 Available Pilots: ['absolute', 'basic', 'simple', 'wind']
2021-11-21_12:00:12.76658 warning: failed to open special file /dev/watchdog0 for writing
2021-11-21_12:00:12.76673          cannot stroke the watchdog
2021-11-21_12:00:12.97135 ICM-20948 init complete


pypilot_hat/current:
tc@pypilot:~$ cat /var/log/pypilot_hat/current
2021-11-21_12:00:12.07879 hat start 13.469458067
2021-11-21_12:00:12.07903 have gpio for raspberry pi
2021-11-21_12:00:12.07904 hat import done 14.709115775
2021-11-21_12:00:12.07906 loading config file: /home/tc/.pypilot/hat.conf
2021-11-21_12:00:12.07907 loaded device tree hat config
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20