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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with tinycore + pypilot hat / Does not find IMU
#11
(2021-10-03, 12:17 PM)MBJ335 Wrote: Hello Xavier,
I have the very same problem you got as i've just received a new Pypilot hat a few days ago, I understand the git clone command works only if the raspberry is connected to the internet how do i do that please?

Hi,

I may advise two possibilities:
  - Should you have a WiFi router hooked on the network, you can setup tinypilot WiFi on that router and you should be able to reach github
  - Should you be familiar with ssh, you can download the content on an alternate machine and copy it on the tinypilot ; example with a linux box:
Code:
# Linux box hooked at first on a network having internet connection
cd ~
mkdir RTIMULib_update
cd RTIMULib_update
git clone git://github.com/seandepagnier/RTIMULib2.git
tar czvf RTIMULib2.tar.gz RTIMULib2
rm -rf RTIMULib2

# Now hook your linux box on the tinypilot WiFi AP
scp RTIMULib2.tar.gz tc@192.168.14.1  # Note: password is pypilot

# Now ssh on your tinypilot
ssh tc@192.168.14.1
sudo sh /mnt/mmcblk0p2/tinypilot/pypilot_dependencies/python-RTIMULib/python-RTIMULib.build

Otherwise, as Sean advised, wait a little for the release of the next tinypilot image.

Best regards,

Xavier.
Reply
#12
(2021-10-03, 07:55 PM)damien Wrote:
(2021-10-03, 12:17 PM)MBJ335 Wrote: Hello Xavier,
I have the very same problem you got as i've just received a new Pypilot hat a few days ago, I understand the git clone command works only if the raspberry is connected to the internet how do i do that please?

Hi,

I may advise two possibilities:
  - Should you have a WiFi router hooked on the network, you can setup tinypilot WiFi on that router and you should be able to reach github
  - Should you be familiar with ssh, you can download the content on an alternate machine and copy it on the tinypilot ; example with a linux box:
Code:
# Linux box hooked at first on a network having internet connection
cd ~
mkdir RTIMULib_update
cd RTIMULib_update
git clone git://github.com/seandepagnier/RTIMULib2.git
tar czvf RTIMULib2.tar.gz RTIMULib2
rm -rf RTIMULib2

# Now hook your linux box on the tinypilot WiFi AP
scp RTIMULib2.tar.gz tc@192.168.14.1  # Note: password is pypilot

# Now ssh on your tinypilot
ssh tc@192.168.14.1
sudo sh /mnt/mmcblk0p2/tinypilot/pypilot_dependencies/python-RTIMULib/python-RTIMULib.build

Otherwise, as Sean advised, wait a little for the release of the next tinypilot image.

Best regards,

Xavier.

Thank you so much for your help, i managed it by switching the sd card from the computer to the raspberry, it is a bit dirty but it worked out...the build routine must be launched from where the file is stored, that was my mistake!
Anyway I will wait for the next tinypilot image release from Sean (no hurry...)
Kind regards,
MBJ
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)