Go to advanced search

by zeta_5416
Mon Jul 06, 2015 10:10 am
Forum: Astro Pi
Topic: What are the values returned by get_compass_raw measured in?
Replies: 4
Views: 1037

Re: What are the values returned by get_compass_raw measured

Thanks for the clarification.
by zeta_5416
Mon Jul 06, 2015 9:43 am
Forum: Astro Pi
Topic: Joystick and Push Buttons
Replies: 15
Views: 2428

Re: Joystick and Push Buttons

Thanks; it took quite some effort in the inordinately short amount of time I had to create it, but I managed to complete it nonetheless.
by zeta_5416
Thu Jul 02, 2015 6:27 pm
Forum: Astro Pi
Topic: What are the values returned by get_compass_raw measured in?
Replies: 4
Views: 1037

Re: What are the values returned by get_compass_raw measured

Hmm, I thought that I'd calibrated it. Not seen that final post which you referenced, but even after reinstalling and updating everything, then re-calibrating and placing RTIMULib.ini in /etc/, I am still getting mildly worrying results. After calibration, my local magnetic field strength is only ~4...
by zeta_5416
Thu Jul 02, 2015 6:55 am
Forum: Astro Pi
Topic: how to analyse images from results of pi camera?
Replies: 2
Views: 819

Re: how to analyse images from results of pi camera?

Look into the YUV format. You will probably just want to use the Luma component, as it represents the brightness of a pixel. Hope this helps.
by zeta_5416
Wed Jul 01, 2015 9:35 pm
Forum: Astro Pi
Topic: What are the values returned by get_compass_raw measured in?
Replies: 4
Views: 1037

What are the values returned by get_compass_raw measured in?

In the documentation for the Python Astro Pi API , it is stated that the values returned by get_compass_raw 'are Floats representing the magnetic intensity of the axis in teslas'. Either my Sense HAT must be malfunctioning, or my local magnetic field is indeed ~7 times that required to levitate a fr...
by zeta_5416
Wed Jul 01, 2015 9:33 pm
Forum: Astro Pi
Topic: Joystick and Push Buttons
Replies: 15
Views: 2428

Re: Joystick and Push Buttons

the ease-of-use API Certainly. I had almost considered writing mine in C++, and since the underlying RTIMUlib is written in C++ also, I would have access to the sensors - but I gave in and learnt Python instead. Haven't looked back. C/C++ is still my preferred language, but the high-level data stru...
by zeta_5416
Wed Jul 01, 2015 6:13 pm
Forum: Astro Pi
Topic: Joystick and Push Buttons
Replies: 15
Views: 2428

Re: Joystick and Push Buttons

Don't underestimate the resources at the disposal of ESA and NASA Fair point. :D I shouldn't imagine that they'd be particularly pleased if anything like that slipped through... All the competition entries are to be in the Python language. As quoted from the FAQ : What programming language and vers...
by zeta_5416
Wed Jul 01, 2015 4:58 pm
Forum: Astro Pi
Topic: Joystick and Push Buttons
Replies: 15
Views: 2428

Re: Joystick and Push Buttons

Just remember we are going to triage all the code that is going on the flight SD cards and something like that is never going to slip through :D What about a script which dynamically generates itself after a given date (a.k.a. after the judging process has completed)? One could hide the OS binary o...
by zeta_5416
Wed Jul 01, 2015 4:04 pm
Forum: Astro Pi
Topic: Joystick and Push Buttons
Replies: 15
Views: 2428

Re: Joystick and Push Buttons

I've attached a picture of the flight unit for clarity, the little red track-point cap is the joystick. Ah, thanks much. I'd only seen the Pi in its flight case without the cap installed, and somehow had the notion of the Pi being in a position 90 degrees anti-clockwise from its actual position (he...
by zeta_5416
Wed Jul 01, 2015 2:24 pm
Forum: Astro Pi
Topic: Joystick and Push Buttons
Replies: 15
Views: 2428

Re: Joystick and Push Buttons

Thanks for the response. The joystick and the push buttons are separate and both will be present on the flight hardware. Present indeed, but wouldn't they be a little difficult to access under the monstrous metallic mass that is the case? Forgive me if I'm wrong, but I wouldn't imagine that the ISS ...
by zeta_5416
Wed Jul 01, 2015 11:06 am
Forum: Astro Pi
Topic: Joystick and Push Buttons
Replies: 15
Views: 2428

Re: Joystick and Push Buttons

Update: Question 2: It appears that on the flight hardware, the joystick is inaccessible (having been replaced by GP push buttons instead). This question is no longer relavent. Question 3: Approximately two hours after posting this, I received a link to this page in the Astro Pi newsletter. Said pag...
by zeta_5416
Wed Jul 01, 2015 7:54 am
Forum: Astro Pi
Topic: Joystick and Push Buttons
Replies: 15
Views: 2428

Joystick and Push Buttons

Firstly, I am aware that there have been numerous posts about the joystick on these Forums. My query is different; I am not interested in utilising pygame for my purposes. A few questions: Question 2: Is the joystick guaranteed to be bound to /dev/input/event0? Question 3: How will the push buttons ...

Go to advanced search