DM002 protocol (contains captures)

More
23 Mar 2017 17:07 - 23 Mar 2017 17:15 #60627 by planger
Replied by planger on topic DM002 protocol (contains captures)
I've modified the Multi source file on GitHub to include all the features you have listed as well as both ID/RF.
Channels and details are listed there: github.com/pascallanger/DIY-Multiprotoco...etails.md#dm002---33

Please report.

Pascal
Last edit: 23 Mar 2017 17:15 by planger.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 17:13 #60628 by goebish
Replied by goebish on topic DM002 protocol (contains captures)
I'll port it to Deviation, for now using an odd TX id will use the first txid/rf set and using an even one will use the 2nd set ...

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 18:57 #60632 by SeByDocKy
Replied by SeByDocKy on topic DM002 protocol (contains captures)

goebish wrote: I'll port it to Deviation, for now using an odd TX id will use the first txid/rf set and using an even one will use the 2nd set ...


I am ready to test for 7E :)

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 18:58 #60633 by goebish
Replied by goebish on topic DM002 protocol (contains captures)
I'm on it, should be ready in a few moments :)

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 19:20 - 23 Mar 2017 19:21 #60635 by goebish
Replied by goebish on topic DM002 protocol (contains captures)
test builds available: www.dropbox.com/sh/fswbehxnvd14cpy/AABQq...FnXWOtd9kvezBDa?dl=0
diff: github.com/goebish/deviation/commit/3865...8770719a65463d47ea89

protocol: DM002

mapping:
CHANNEL5, // Leds
CHANNEL6, // Flip
CHANNEL7, // Camera 1
CHANNEL8, // Camera 2
CHANNEL9, // Headless
CHANNEL10, // RTH

Not sure what CAMERA 1 & 2 means.
Last edit: 23 Mar 2017 19:21 by goebish.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 19:35 #60636 by SeByDocKy
Replied by SeByDocKy on topic DM002 protocol (contains captures)

goebish wrote: test builds available: www.dropbox.com/sh/fswbehxnvd14cpy/AABQq...FnXWOtd9kvezBDa?dl=0
diff: github.com/goebish/deviation/commit/3865...8770719a65463d47ea89

protocol: DM002

mapping:
CHANNEL5, // Leds
CHANNEL6, // Flip
CHANNEL7, // Camera 1
CHANNEL8, // Camera 2
CHANNEL9, // Headless
CHANNEL10, // RTH

Not sure what CAMERA 1 & 2 means.



Missing DM002.mod file in the 7E build :)

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 19:49 #60637 by goebish
Replied by goebish on topic DM002 protocol (contains captures)
Hmmm, yes and I don't understand why it's not built for 7e... I'm investigating.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 19:51 - 23 Mar 2017 19:53 #60638 by planger
Replied by planger on topic DM002 protocol (contains captures)
I've looked quickly at your code ;-)
I don't think this will work: GET_FLAG(!CHANNEL_LED, DM002_FLAG_LED)
You need your GET_FLAG_INV macro instead (not sure of the name).
Pascal
Last edit: 23 Mar 2017 19:53 by planger.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 20:03 #60639 by goebish
Replied by goebish on topic DM002 protocol (contains captures)
Thanks Pascal :)

@SeByDocKy, I updated the builds, should be fine now.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 20:10 - 23 Mar 2017 20:46 #60640 by SeByDocKy
Replied by SeByDocKy on topic DM002 protocol (contains captures)

goebish wrote: Thanks Pascal :)

@SeByDocKy, I updated the builds, should be fine now.


Yes it's working :) .... checking the extra channels now :)

LEd Ok

Headless ok

Flip Ok
Last edit: 23 Mar 2017 20:46 by SeByDocKy.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 20:16 #60642 by goebish
Replied by goebish on topic DM002 protocol (contains captures)
I suppose camera 1 & 2 flags are for video recording / picture snapshot, but this quad does not have a recording camera, probably EAchine has just reused one of their existing protocols ...

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 20:20 #60643 by planger
Replied by planger on topic DM002 protocol (contains captures)
I've left the cameras just in case there is another compatible quad out there needing them.
Strange that they appear in the doc if not used anywhere.

Pascal

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 20:22 #60644 by goebish
Replied by goebish on topic DM002 protocol (contains captures)
This machine is sold as a kit, I suppose it's using a FC that's coming from another quad ...

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 21:10 #60645 by SeByDocKy
Replied by SeByDocKy on topic DM002 protocol (contains captures)
Working fine ....


But the yaw command is presenting a lot of deadband, the same as for the original radio :( ..... No miiracle with the Devo :(

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 21:11 - 23 Mar 2017 21:24 #60646 by goebish
Replied by goebish on topic DM002 protocol (contains captures)
Try using some negative expo, or a custom curve.
Last edit: 23 Mar 2017 21:24 by goebish.

Please Log in or Create an account to join the conversation.

More
23 Mar 2017 21:54 #60649 by goebish
Replied by goebish on topic DM002 protocol (contains captures)
Ready for nightly build, thanks to everyone involved :)
github.com/DeviationTX/deviation/pull/241

Please Log in or Create an account to join the conversation.

More
24 Mar 2017 12:43 - 24 Mar 2017 12:46 #60677 by lani
Replied by lani on topic DM002 protocol (contains captures)
Tested with Taranis 9XD + multiprotocol module - everything works as expected ;)

Some notes:
* Custom curve with deadband removal of -35..35 fixed the lazy yaw
* Rate modes LOW (default) and HIGH (ch11) are enough, with the plastic controller HIGH was too wild but with Taranis it is just great
* Difficult to achieve perfect trim with the control ranges at least in the HIGH rate (one click left causes left drift, one click back creates right drift). This might be just a feature of the quad but the analogue knobs in the TX could perhaps be mapped to the trims to achieve best effort. I sort of believe the trim steps have a lot smaller effect to the control than actual control steps.
* Bind on powerup seems not to work when selected from OpenTX. Would there be something i need to tweak in the protocol file or multiprotocol config?

However all this was great success, thanks guys!

Few more questions:
* How does the protocol enumeration get updated to the OpenTX software, do they include directly something from the multiprotocol repo?
* In the SPI captures, why was there data on the line at moments when the clock pulse was not active?
Last edit: 24 Mar 2017 12:46 by lani. Reason: Added a note

Please Log in or Create an account to join the conversation.

More
24 Mar 2017 12:49 - 24 Mar 2017 12:50 #60678 by goebish
Replied by goebish on topic DM002 protocol (contains captures)

lani wrote: * Difficult to achieve perfect trim with the control ranges at least in the HIGH rate (one click left causes left drift, one click back creates right drift). This might be just a feature of the quad but the analogue knobs in the TX could perhaps be mapped to the trims to achieve best effort. I sort of believe the trim steps have a lot smaller effect to the control than actual control steps.

Protocol trims are not implemented, because that would require 3 extra channels, they're set to default (0x7f), try to recalibrate the accelerometer to fix the issue.

Few more questions:
* How does the protocol enumeration get updated to the OpenTX software, do they include directly something from the multiprotocol repo?

I do not have a multimodule, I'm not sure protocol list/id are stored directly in the firmware or in a file on the sdcard.

* In the SPI captures, why was there data on the line at moments when the clock pulse was not active?

Maybe this pin has other purpose while CSN is high, or maybe it's just left floating while there's no SPI operation.
Last edit: 24 Mar 2017 12:50 by goebish.

Please Log in or Create an account to join the conversation.

More
24 Mar 2017 12:57 #60679 by lani
Replied by lani on topic DM002 protocol (contains captures)

goebish wrote: Protocol trims are not implemented, because that would require 3 extra channels, they're set to default (0x7f), try to recalibrate the accelerometer to fix the issue.

The multimodule seems to have 16 channels and now the protocol only uses 1..11 so there would be room. In fact, the pitch and roll trims would be enough since yaw works just fine. The accelerometer calibration does not help here, tried it.

Please Log in or Create an account to join the conversation.

More
24 Mar 2017 12:59 - 24 Mar 2017 13:00 #60680 by goebish
Replied by goebish on topic DM002 protocol (contains captures)
More than 12 channels is OK for serial mode, but I think that would be an issue with PPM mode.
You may have to "cheat" to calibrate the acc, eg if your quad has a tendency to drift to the left, calibrate it while it's slightly tilted to the right (use sheets of paper to precisely tilt it).

Anyway, that's up to Pascal to decide ;)
Last edit: 24 Mar 2017 13:00 by goebish.

Please Log in or Create an account to join the conversation.

Time to create page: 0.120 seconds
Powered by Kunena Forum