|
From: | Gerard Toonstra |
Subject: | Re: [Paparazzi-devel] Paparazzi in the browser |
Date: | Mon, 16 Feb 2015 07:23:18 -0300 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |