This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New IMU BerryGPS-IMUv4
#23
(2021-07-12, 11:39 AM)Mark_OzzMaker Wrote: Below is what I did to get it working.
I am sure that sometime in the future this will not be needed as it will be in the main image.


  1.  burn the openplotter image to sd card  2020-12-16-OpenPlotter-v2-Starting.img

  2.   enable i2c interface with sudo raspi-config

  3.   open OpenPlotter settings app and install I2C and PyPilot

  4.   the updates need to be downloaded and installed, go to terminal window and enter the below commands;

    1. sudo apt-get update
      the above may fail, still continue
    2. sudo apt-get install libqt4-dev cmake -y
    3. git clone https://github.com/seandepagnier/RTIMULib2.git
    4. git clone https://github.com/pypilot/pypilot.git
    5. cd RTIMULib2/Linux/
    6. mkdir build
    7. cd build/
    8. cmake ..
    9. make -j4
    10. sudo make install
    11. sudo ldconfig
    12. cd ../python/
    13. python3 setup.py build
    14. sudo python3 setup.py install
    15. cd ~/pypilot/
    16. sudo python3 setup.py install
      run the above command twice
  5. Open PyPilot, it should now have detected the IMU

(2022-02-10, 01:50 PM)Sailoog Wrote: You could use berryGPS by serial as long as you do not connect anything to the NMEA 0183 input in the PICAN but you could use the berryGPS and the PICAN NMEA 0183 output at the same time.

I do not have any of these devices so this is all guesswork...

Update successful, but following the procedure above now breaks pypilot.
Starting fresh again and keeping a closer eye on where it fails:


Install latest starting image 
     -> OK
Setting up system (country, language, keyboard, wifi etc.)
sudo apt-get update --allowreleaseinfo-change 
     -> OK
Enable I2C
Install latest OP packages (signalk, I2C, pypilot) from OP settings, OP settings updated as part of process
     -> signalk OK
     -> i2c OK, able to add pressure/temperature sensor and send to signalk
     -> pypilot OK, opens from Openplotter menu
     -> IMU not detected by pypilot (as expected at this stage)
Continuing procedure above (skipping step 1 as already updated) step 2 to 9 
     -> OK, pypilot opens from OP menu
     -> IMU not detected by pypilot (as expected at this stage)
Continuing step 10 - 16 
     -> pypilot no longer available from menu
Reinstall pypilot from OP installer
     -> OK, pypilot opens from OP menu
     -> IMU not detected by pypilot (as expected at this stage)

Conclusion 1: 
The python commands step 10 - 16 above breaks pypilot, incompatible after Raspi Buster update?

Conclusion 2:
Wait for OPv3, hoping BerryGPS-IMU v4 is supported in new version of pypilot

For the gps I would prefer to get the I2C and gpsd route working, I plan on connecting an external gps to PICAN-M NMEA 0183 interface as secondary source. 

Cheers
Reply


Messages In This Thread
New IMU BerryGPS-IMUv4 - by Mark_OzzMaker - 2021-06-04, 03:23 AM
RE: New IMU BerryGPS-IMUv4 - by seandepagnier - 2021-06-04, 03:27 AM
RE: New IMU BerryGPS-IMUv4 - by Mark_OzzMaker - 2021-06-04, 03:45 AM
RE: New IMU BerryGPS-IMUv4 - by Tiki26 - 2021-06-08, 05:37 AM
RE: New IMU BerryGPS-IMUv4 - by seandepagnier - 2021-06-08, 03:00 PM
RE: New IMU BerryGPS-IMUv4 - by Mark_OzzMaker - 2021-06-09, 02:01 PM
RE: New IMU BerryGPS-IMUv4 - by seandepagnier - 2021-06-09, 03:49 PM
RE: New IMU BerryGPS-IMUv4 - by Mark_OzzMaker - 2021-06-10, 06:45 AM
RE: New IMU BerryGPS-IMUv4 - by Max1947 - 2021-07-12, 10:13 AM
RE: New IMU BerryGPS-IMUv4 - by Mark_OzzMaker - 2021-07-12, 11:39 AM
RE: New IMU BerryGPS-IMUv4 - by cortinaman - 2022-02-07, 12:51 PM
RE: New IMU BerryGPS-IMUv4 - by seandepagnier - 2021-06-10, 03:42 PM
RE: New IMU BerryGPS-IMUv4 - by Tiki26 - 2021-07-12, 09:15 PM
RE: New IMU BerryGPS-IMUv4 - by jvwarren - 2021-08-12, 04:54 AM
RE: New IMU BerryGPS-IMUv4 - by seandepagnier - 2021-08-12, 02:29 PM
RE: New IMU BerryGPS-IMUv4 - by seandepagnier - 2022-02-07, 09:23 PM
RE: New IMU BerryGPS-IMUv4 - by cortinaman - 2022-02-09, 08:27 AM
RE: New IMU BerryGPS-IMUv4 - by Sailoog - 2022-02-09, 12:57 PM
RE: New IMU BerryGPS-IMUv4 - by cortinaman - 2022-02-09, 02:03 PM
RE: New IMU BerryGPS-IMUv4 - by Sailoog - 2022-02-09, 02:38 PM
RE: New IMU BerryGPS-IMUv4 - by cortinaman - 2022-02-10, 08:23 AM
RE: New IMU BerryGPS-IMUv4 - by Sailoog - 2022-02-10, 01:50 PM
RE: New IMU BerryGPS-IMUv4 - by cortinaman - 2022-02-14, 08:52 AM
RE: New IMU BerryGPS-IMUv4 - by seandepagnier - 2022-02-15, 03:43 AM
RE: New IMU BerryGPS-IMUv4 - by cortinaman - 2022-02-15, 01:30 PM
RE: New IMU BerryGPS-IMUv4 - by seandepagnier - 2022-02-16, 12:46 AM
RE: New IMU BerryGPS-IMUv4 - by cortinaman - 2022-02-16, 03:37 PM
RE: New IMU BerryGPS-IMUv4 - by Surfer2010 - 2022-02-20, 10:54 AM
RE: New IMU BerryGPS-IMUv4 - by BlackSea - 2022-02-20, 12:30 PM
RE: New IMU BerryGPS-IMUv4 - by Surfer2010 - 2022-02-20, 01:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)