Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread p...@highoctane.be
There is joystick support in 4.0, but not in Unix (plugin looks pretty empty). Smalltalk vm listBuiltinModules select: [ :each | each beginsWith: 'Joystick' ]. JoystickTabletPlugin VMMaker-oscog-nice13154.314 So, it is all in the InputEventSensor Check for senders of primReadJoystick: --> joys

Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread stepharo
this is cool Stef Le 10/4/16 06:32, Ronie Salgado a écrit : Can't SDL2 be used with a joystick? It can be used. Although, joystick support was not very well integrated into OSWindow because joystick events are not being sent into a specific window. Now I am doing a cleanup on the joys

Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread Ronie Salgado
> > Can't SDL2 be used with a joystick? It can be used. Although, joystick support was not very well integrated into OSWindow because joystick events are not being sent into a specific window. Now I am doing a cleanup on the joystick support, by sending the event to all the windows. I will publis

Re: [Pharo-users] How to determine if a file is hidden

2016-04-09 Thread Damien Pollet
On 10 April 2016 at 00:13, Robert J Rothwell wrote: > Should I be able to use OSWindows to use getfileinfo from within pharo? No, to run external programs, the package you want is OSSubProcess.

Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread Stephan Eggermont
On 09-04-16 15:24, Carolina Hernández wrote: I couldn't find any direct way to use a joystick in Pharo, if someone knows about one, I'd like to integrate it to my code. https://github.com/Geal/Squeak-VM/tree/master/platforms/Mac%20OS/plugins/JoystickTabletPlugin Refers to a joystick plugin for

Re: [Pharo-users] How to determine if a file is hidden

2016-04-09 Thread Robert J Rothwell
Thanks Damien, I'm sorry...yes visibility is exactly what I meant, and on a Mac as well. You are right that some invisible things start with a period (on a Mac as well, so that's easy), and others have the invisibility flag set. Should I be able to use OSWindows to use getfileinfo from within

Re: [Pharo-users] How to determine if a file is hidden

2016-04-09 Thread Damien Pollet
Hidden in what sense? On Linux, files whose name start with a period are "hidden" (by convention, many commands ignore them) On OS X, files and directories that are hidden to the Finder have a special attribute in the file system. I don't think there's an accessor for that in Pharo yet, but as a

[Pharo-users] How to determine if a file is hidden

2016-04-09 Thread Robert J Rothwell
Hello, Is there a way to determine if a file is hidden? I couldn't find that in "Deep into Pharo". For example, I can get my desktop files with: desktopFiles := FileLocator desktop children. And now I would like to filter that collection to the non-hiddent files with something like: desktop

Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread stepharo
Hi Good work. Can you tell us more what is the principle to communicate with the Parrot. Stef Le 9/4/16 15:24, Carolina Hernández a écrit : Hi, my name is Carolina Hernandez and I'm a Computer Engineering student at the University of Chile. As part of my final degree project, I'm creating a co

Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread S Krish
Very interesting and well done. *Observations: from a 15 min review. beyond the basics .. which really is well done. Hope I can play with it sometime when I get time.. * Love the commandQueue and UDP handling and this block: senderProcess := [[ | nextCommand | "dequeue the next command, enumera

Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread Ben Coman
On Sat, Apr 9, 2016 at 9:24 PM, Carolina Hernández wrote: > Hi, my name is Carolina Hernandez and I'm a Computer Engineering student at > the University of Chile. > As part of my final degree project, I'm creating a communication API for > controlling the Parrot AR.Drone 2.0 from Pharo. I've just

Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread Tudor Girba
Beautiful work! Doru > On Apr 9, 2016, at 6:24 AM, Carolina Hernández wrote: > > Hi, my name is Carolina Hernandez and I'm a Computer Engineering student at > the University of Chile. > As part of my final degree project, I'm creating a communication API for > controlling the Parrot AR.Drone

Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread Hernán Morales Durand
Hi Carolina, Thank you for sharing. Do you plan to support gazebo or tum_simulator in your API? Hernán http://gazebosim.org/ http://wiki.ros.org/tum_simulator 2016-04-09 10:24 GMT-03:00 Carolina Hernández : > Hi, my name is Carolina Hernandez and I'm a Computer Engineering student > at the Un

Re: [Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread Stephan Eggermont
On 09-04-16 15:24, Carolina Hernández wrote: I also made a video of a test flight, where the AR.Drone is controlled using the API and keyboard: https://www.youtube.com/watch?v=d8rERiBoD0o Nice! Well done. Stephan

[Pharo-users] New project: AR.Drone communication API in Pharo

2016-04-09 Thread Carolina Hernández
Hi, my name is Carolina Hernandez and I'm a Computer Engineering student at the University of Chile. As part of my final degree project, I'm creating a communication API for controlling the Parrot AR.Drone 2.0 from Pharo. I've just released an early version. The code is hosted in Smalltalkhub: http