Comments (8)
this is harder to do than you might think, as MAVLink doesn't support string parameters, and we don't have string parameter storage in APM.
We will fix this eventually, but it won't be soon!
from ardupilot.
What about using a pair of numbers then?
- owner / manufacturer ID
- owner's chosen number / manufacturer serial number
Owner's/manufacturers could be associated with a URL, and the URL could tell you how to interpret the chosen number (eg. resolve it to a name). For example, there might be a URL and numeric ID associated with accounts at DIYDrones.org, plus an interface that returns the URL given the account ID number.
Then, someone who cares about this feature could maintain a table at their URL mapping names to ids. Application code (e.g. GCS) could fetch the info when they need it, and fall back to using use the composite id {owner, number} if required (e.g. none of the other stuff is implemented yet).
from ardupilot.
Maybe using the following (common.xml
) mavlink message:
<message id="7" name="AUTH_KEY">
<description>Emit an encrypted signature / key identifying this system. PLEASE NOTE: This protocol has been kept simple, so transmitting the key requires an encrypted channel for true safety.</description>
<field type="char[32]" name="key">key</field>
</message>
It would be great if each board had a unique serial number.
from ardupilot.
The problem isn't that the mavlink protocol doesn't support strings, but
rather that ArduPilot's parameter system, which stores values in EEPROM,
does not support strings.
On Mon, Mar 11, 2013 at 2:16 PM, Arthur Benemann
[email protected]:
Maybe using the following (common.xml) mavlink message:
Emit an encrypted signature / key identifying this system. PLEASE NOTE: This protocol has been kept simple, so transmitting the key requires an encrypted channel for true safety. keyIt would be great if each board had a unique serial number.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/57#issuecomment-14743218
.
from ardupilot.
So make it a number, and have the GCS maintain a map of number to name? Is there an existing UID that could be used for a key in such a map, rather than adding one?
from ardupilot.
the pixhawks chip has a unique id built into the cpu i hear.
from ardupilot.
currently that's only viewable from the bootloader
from ardupilot.
You can't name the boards but you can set the SYSID_THISMAV parameter.
When you download logs, the MP apparently uses this param and puts the logs in separate directories.
from ardupilot.
Related Issues (20)
- Build Fails When Configured For Debug HOT 2
- GPS/Arming: dual GPS difference check may need to ignore Z-axis difference
- Add support for YGE esc telemetry HOT 2
- Add a new brakes mode loiter HOT 1
- How do I connect my second hand parrot disco to my iPhone? HOT 1
- AP_Filesystem: lseek limits the max filesize to ~2Gbyte, limits terrain_spacing to 5 meters
- Build error compiling 4.5.1 Copter with F405 (4.4.x) target HOT 4
- AP_VisualOdom.h:a bug in get_delay_ms(), return type error HOT 5
- SITL: X-Plane 10/11 communication not working HOT 1
- AP_Mission: Jump send text to user is not displayed for endless jumps
- Use MicroXRCEDDSGen Binaries instead of making users compile it from source
- SBUS Output: Channel 5 also being output on Channel 13 HOT 4
- AP_HAL_ChibiOS: disable safety switch on more boards HOT 2
- Attitude control about althold mode HOT 1
- Small error in calculate_yaw_and_rate_yaw() in AC_PosControl? HOT 2
- NavEKF3_core::setup_core: is beacon buffer length setted wrong? HOT 2
- DShot output with CRSF receiver non-zero after arming causing motors to twitch/spin HOT 1
- SBus Output missing for channel 9 ~ 16 HOT 1
- Autopilot fails to boot 1 in 10 times if Siyi A8 is connected HOT 1
- Vagrant Working on Arm Machines HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ardupilot.