Hello,

> For an interactive installation we’re building at ECAL with Thymio we
> need to be able to wirelessly remote control a Thymio with a Raspberry Pi.
> We’re following this pi example
> <https://www.thymio.org/en:thymioraspyexample> but are facing an issue,
> that the Thymio doesn’t appear as an AsebaNode.
> *
> *
> *1- launching D-Bus service:*
>> dbus-run-session -- bash
>> asebamedulla "ser:device=/dev/ttyACM0" &
> 
> *2- Python Script to retrieve AsebaNodes:*
>> import dbus
>> import dbus.mainloop.glib
>> import gobject
>> dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
>> bus = dbus.SessionBus()
>> network = dbus.Interface(bus.get_object('ch.epfl.mobots.Aseba', '/'),
>> dbus_interface='ch.epfl.mobots.AsebaNetwork')
>> network.GetNodesList()
> 
> *We get an empty array:*
>> dbus.Array([], signature=dbus.Signature('s’))
> 
> We’re not seeing the “thymio-II” as AsebaNode in that array.
> Do we need to do anything specific with the Thymio? Upload a custom
> program or enter a special mode?

Try launching asebamedulla with the -v switch to know if the connection
to the robot was successful.

If so, try using a DBus viewer program such as "qdbusviewer" to see if
1. you see the interface, 2. you see the robot.

Which operating system/version are you using?

No custom program is necessary.

best regards,

Stéphane

-- 
http://stephane.magnenat.net

_______________________________________________
Aseba-thymio mailing list
[email protected]
https://mail.gna.org/listinfo/aseba-thymio

Reply via email to