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
First test, successfull!
#3
Quote:Wouldn't it be useful to have a polarity switch somewhere in the calibration window?
I knew this would be asked

Now, the autopilot should maybe automatically flip the polarity, but this logic is not ready.

Having a polarity switch is extra gui clutter when all you really need to do is swap the wires.

If you wanted to be able to use the autopilot motoring backwards it would be useful.
Quote:Perhaps a save button for different gain settings, so you can switch between different settings easily?
(Storm, no wind and something in between?)
Also a great idea, however, it is not so simple, because ideally the gain settings would be stored on the server, not in the opencpn plugin so they would be available to any autopilot control client.

Another option would be to re-formulate the gains so that there are only one or two main ones that are changed for different conditions.
Quote:So some things to sort out:
why my first two IMU's behave so badly
Not sure what type of imu you had, but many require accelerometer calibration.

I had been using mpu9255 all along which "usually" do not require this.. some do, and most other sensors do. I just added accelerometer autocalibration a few days ago, and it has a special procedure.
Quote:why the motor controller needed a reset
It's difficult to say since this is your homemade motor controller. My controllers all automatically reset if no data is received, There are many possible reasons, and even depending on the fuse bytes in the arduino. You would need to reproduce this and debug it. My motor controllers do not do this.


Quote:how do I get the GPS and wind options enabled, I can only use compass.
(The openplotter configuration had a GPS, and I had activated a waypoint)

Thank you Sean!
To get gps data you can run gpsd, and assign your gps to it. pypilot automatically uses gpsd, and opencpn can easily add this connection.

You can assign serial ports to pypilot. If they have wind or gps, they will also be relayed over tcp to other programs like opencpn on port 20220. This is ideal because the autopilot gets the data with minimum latency.

You can also send the nmea data to pypilot via port 20220. So if opencpn has wind/gps already, then make a connection to tcp port 20220, and make sure it is marked for output. This will add latency to the measurement, but still works in practice.
Reply


Messages In This Thread
First test, successfull! - by It Paradyske - 2018-07-30, 05:54 PM
RE: First test, successfull! - by Sailoog - 2018-07-30, 07:23 PM
RE: First test, successfull! - by seandepagnier - 2018-08-02, 08:37 PM
RE: First test, successfull! - by quetzal - 2018-09-24, 10:34 AM
RE: First test, successfull! - by It Paradyske - 2018-09-25, 01:44 PM
RE: First test, successfull! - by seandepagnier - 2018-09-26, 01:06 AM
RE: First test, successfull! - by quetzal - 2018-09-27, 04:14 PM
RE: First test, successfull! - by seandepagnier - 2018-09-27, 06:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)