ArduPilot / companion

Companion computer startup scripts and examples
GNU General Public License v3.0
104 stars 164 forks source link

mDNS for common hostname #15

Open peterbarker opened 7 years ago

peterbarker commented 7 years ago

We are moving to have a common hostname for the apsync image ("apysync" in place of "edison" or "pi" or "ubuntu-nvidiatx1").

We should advertise the presence of this host on a local network using mDNS, allowing people to ssh apsync@apsync rather than ssh apsync@10.0.1.128

magicrub commented 7 years ago

Please provide a description

khancyr commented 7 years ago

Even better should be apsync_MAVID ! Even if the more general use case is to use one uav, in case of multi drone it will be better!

peterbarker commented 7 years ago

On Fri, 3 Feb 2017, khancyr wrote:

Even better should be apsync_MAVID ! Even if the more general use case is to use one uav, in case of multi drone it will be better!

Interesting point you raise there about multiple drones.

When we start to allow configuration as a WiFi client we'll definitely look at that. At the moment a simple "ssh into the machine called apsync" is what I'm after :-)

Question: what mavlink sysid were you thinking of using there? At the moment there's the PixHawk's, one for mavproxy and another one you don't see much of for the dataflash logger......

khancyr commented 7 years ago

@peterbarker I am thinking about autopilot id so pixhawk id ! What I did on my swarm is : each drone have the same ip and mavlink id, that way it is simple to remember and each got their mavid in their hostname !