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
no motor controller connected
#7
Ok, i only updated the pypilot when i wasn't able to get the original to work, the imu worked just fine without any modification. I will start fresh again and update this post on the progress

so reburned the last reslease of bbn os bulleyes ... changed the config file and added 

dtoverlay=disable-bt
enable_uart=1

checked ls -l /dev/serial0
and it does point to /dev/ttyAMA0

Code:
user@lysmarine:~ $ sudo pypilot_servo
[sudo] password for user:
pypilot Servo
world magnetic model not available
nmea process 3324
nmea server on port 20220: bind failed.
loading servo calibration /root/.pypilot/servocalibration
WARNING: using default servo calibration!!
gps filter process 3327
Traceback (most recent call last):
  File "/usr/local/bin/pypilot_servo", line 33, in <module>
    sys.exit(load_entry_point('pypilot==0.36', 'console_scripts', 'pypilot_servo')())
  File "/usr/local/lib/python3.9/dist-packages/pypilot/servo.py", line 813, in main
    servo.poll()
  File "/usr/local/lib/python3.9/dist-packages/pypilot/servo.py", line 582, in poll
    device_path = serialprobe.probe('servo', [38400], 5)
  File "/usr/local/lib/python3.9/dist-packages/pypilot/serialprobe.py", line 242, in probe
    if enumerate_devices():
gps process 3326
  File "/usr/local/lib/python3.9/dist-packages/pypilot/serialprobe.py", line 163, in enumerate_devices
    read_last_working_devices()
  File "/usr/local/lib/python3.9/dist-packages/pypilot/serialprobe.py", line 54, in read_last_working_devices
    for filename in os.listdir(pypilot_dir):
FileNotFoundError: [Errno 2] No such file or directory: '/root/.pypilot/'
Reply


Messages In This Thread
no motor controller connected - by Captain_t - 2024-01-17, 03:37 AM
RE: no motor controller connected - by Captain_t - 2024-01-17, 06:51 PM
RE: no motor controller connected - by mgrouch - 2024-01-17, 08:06 PM
RE: no motor controller connected - by Captain_t - 2024-01-17, 08:20 PM
RE: no motor controller connected - by mgrouch - 2024-01-17, 09:13 PM
RE: no motor controller connected - by Captain_t - 2024-01-17, 09:50 PM
RE: no motor controller connected - by mgrouch - 2024-01-17, 10:59 PM
RE: no motor controller connected - by Captain_t - 2024-01-17, 11:07 PM
RE: no motor controller connected - by mgrouch - 2024-01-17, 11:12 PM
RE: no motor controller connected - by Captain_t - 2024-01-17, 11:25 PM
RE: no motor controller connected - by mgrouch - 2024-01-17, 11:29 PM
RE: no motor controller connected - by Captain_t - 2024-01-17, 11:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)