paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Paparazzi in the browser


From: Gerard Toonstra
Subject: Re: [Paparazzi-devel] Paparazzi in the browser
Date: Mon, 16 Feb 2015 07:23:18 -0300

You need to install both redis and the python redis module for the module to work:

sudo apt-get install redis-server  python-redis

The redis server needs to be started. It's default is to run on 127.0.0.1, but you can change the conf file in /etc to change that.

Rgds,

Gerard


On Mon, Feb 16, 2015 at 6:39 AM, sensarliar <address@hidden> wrote:
I have tried your node_ppz code,but there is something wrong.
Any changes or configration needed in master branch?


address@hidden:~/paparazzi/sw/ground_segment/python/ivytoredis$ ./ivy_to_redis.py
Traceback (most recent call last):
  File "./ivy_to_redis.py", line 5, in <module>
    import redis
ImportError: No module named redis




------------------ 原始邮件 ------------------
发件人: "Gerard Toonstra";<address@hidden>;
发送时间: 2015年2月13日(星期五) 晚上6:29
收件人: "Paparazzi UAV devel list"<address@hidden>;
主题: [Paparazzi-devel] Paparazzi in the browser


Hi guys,

There's a python script, similar to the app_server, in the repo now through which you can forward messages to a redis node (ivy_to_redis). I used that to develop a little _javascript_ app that shows the aircraft flying around. The browser uses angularJS, which updates the visual elements automatically when you update the model. nodeJS subscribes to the redis pub/sub mechanism to get the ground.* messages and from the browser you can subscribe to any of those.

The code, in my personal public repo:

Rgds,

Gerard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]