Skip to main content

Feagi agent freenove to connect feagi with your freenove_smartcar.

Project description

Requirements:

  • Raspberry Pi OS (32-bit), minimum 8 GB, with legacy camera support enabled.

Shortest and fastest steps:

Assuming you already have legacy camera enabled, Raspbian OS 32-bit desktop installed, and have pip3/Python3 installed, follow these steps:

  1. Run the following command to set up for the first time:
   sudo python3 -m feagi_connector_freenove --ip <ip> --setup true

If you have already run the setup, use this command instead:

   sudo python3 -m feagi_connector_freenove --ip <ip>

Replace <ip> with your FEAGI's IP address.

The command should be executed within the terminal.

Full detailed steps:

  1. Keep in mind that this is the robot body without the Raspberry Pi board. You can find it here: Freenove_Body

  2. Order the Raspberry Pi board. RPI 3 or RPI 4 are good options. You can find it here: Raspberry PI Board

  3. Build the robot using the comprehensive documentation. If you don't have the physical documentation, you can use this online PDF available here: Freenove Documentation PDF You can download it by clicking the 'download' icon on the right side above the PDF preview.

  4. Once you have set up the physical robot, run Raspberry Pi's imager to install the Raspbian OS on your SD card. You can download the imager from here: Raspberry Pi Imager Just click 'download' for your OS.

  5. In the imager, select 'Raspberry Pi OS 32-bit with desktop (recommended)' so you can burn it to the SD card.

  6. Choose your SD card location from the 'choose storage' button.

  7. Click the 'Write' button and wait for the process to complete (ETA: approximately 10 minutes).

  8. Once you have completed the process, safely remove the SD card. The program will automatically eject it for you after completion. Then, you can insert the SD card into your robot.

  9. Complete all the questions asked during the setup (it doesn't matter since it's just for your settings and preferences). Remember your own username as you will need it for SSH in the future if you want to connect from your computer to the robot

  10. After completing all the setup, click 'update'.

  11. The RPI will ask you to restart, and that's when you'll start to see the fun stuff.

  12. Open the terminal inside the Raspberry Pi and run the command: sudo raspi-config You will see a picture like below:

image

* Interface Options -> Legacy Camera Enable support -> enable
* Interface Options -> SSH -> enable
* Interface Options -> I2C -> enable

It will ask you to reboot due to enabling legacy camera support. Press OK to use the camera.

  1. Open the terminal and type the following:
    pip3 install feagi_connector_freenove
  1. Run the following command to set up for the first time:
   python3 -m feagi_connector_freenove --ip <url/ip> --setup true

If you have already run the setup, use this command instead:

   python3 -m feagi_connector_freenove --ip <url/ip>

Replace <url/ip> with your FEAGI's IP address.

Install feagi_connector_freenove

pip3 install feagi_connector_freenove

What is feagi_connector_freenove?

feagi_connector_freenove is a package that allows you to connect with the Freenove Smartcar, which you can purchase on Amazon: here on amazon.

It checks all the settings as the first step to ensure that you have all the necessary packages installed. After that, it runs requirements.txt and then starts the Freenove smartcar.

At first, it may be a little slow because it is checking for all the necessary packages. However, after the first scan, it will be much quicker. This package enables you to connect with Feagi automatically, allowing it to see things, move, or share sensors in real-time.

Requirements.txt

These are the requirements which will be updated over time. The script will use this requirement to scan.

Here: requirements.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

feagi_connector_freenove-0.0.4.tar.gz (21.3 kB view hashes)

Uploaded Source

Built Distribution

feagi_connector_freenove-0.0.4-py3-none-any.whl (22.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page