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

2016-04-12 Thread Johan Fabry
I forgot to ask, will this work with a PS2 joystick? We have one available in the robotics lab that we can use for that. > On Apr 12, 2016, at 02:41, Carolina Hernández wrote: > > Hi Ronnie, that's is really nice! > > I'm talking to you in private > > 2016-04-10 7:05 GMT-03:00 Ronie Salgado

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

2016-04-12 Thread Johan Fabry
> On Apr 12, 2016, at 00:52, Carolina Hernández wrote: > > Hi Krish > Thanks for all your comments. I agree with Krish that the code is well done, plus the documentation is very complete, I like that a lot! > About the #initialize method, I think you are right, and some code > refactoring wo

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

2016-04-12 Thread Johan Fabry
Hola Hernan, Carolina is doing cool work, which is why I pushed her to make this announcement and video :-) I first want to get LRP working with the drone (more on LRP also on http://pleiad.cl/LRP ). The philosophy of LRP is to do as much as possible on real hardware fo

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

2016-04-12 Thread stepharo
Ronie There is no configurationOfOSWindow? Because loading package one by one does not work and we have the solution. A configuration. Then if you do not do it. Who will do it? Me without knowing what you did? If you want that people review the code then it should be easy for them to review

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

2016-04-11 Thread Carolina Hernández
I did! Thanks a lot 2016-04-10 12:16 GMT-03:00 Alexandre Bergel : > This is really cool! > > Ronie (from the DCC as well :-) has been working on a joystick support. > Ronie will travel end of next week. So I suggest to talk to him very soon > > Alexandre > > > > On Apr 9, 2016, at 10:24 AM, Carol

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

2016-04-11 Thread Carolina Hernández
Hi Ronnie, that's is really nice! I'm talking to you in private 2016-04-10 7:05 GMT-03:00 Ronie Salgado : > Ok, I made a cleanup on the OSWindow joystick support. I also added the > OSWindowGenericRenderer interface which is implemented by a thin wrapper > around the SDL2 renderer interface. I h

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

2016-04-11 Thread serge . stinckwich
Gazebo/PlayerStage define a common API to control robots. This API is also implement in the Gazebo simulation engine. Please have a look to my PlayerST code. Sent from my iPhone > On 12 avr. 2016, at 06:04, Carolina Hernández wrote: > > Hi Alex, > I read your comment after I posted a response

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

2016-04-11 Thread Carolina Hernández
Hi Stef, All communications with the AR.Drone are done via exchage of UDP and TCP packages between the drone's firmware and the client. Packages are sent by a Wifi network, which is managed by the drone's firmware. In addition to this, the firmware automates the flight manouvers (take off, roll, pi

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

2016-04-11 Thread Hernán Morales Durand
Thanks for the reply Carolina, Alex and Serge. Cheers, Hernán 2016-04-12 0:27 GMT-03:00 Carolina Hernández : > Hi Hernán, not for now, since my main goal is to make possible to program > behaviors for the drone using the language LRP (Live Robot Programming). > However, since I am using a spira

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

2016-04-11 Thread Carolina Hernández
Hi Alex, I read your comment after I posted a response. I don't have so much experience to ROS, and none to PhaROS. But, are you saying that using Gazebo with the API would be somehow straight forward? 2016-04-10 12:15 GMT-03:00 Alexandre Bergel : > Hi Hernan, > > Gazebo uses ROS somehow, so yes.

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

2016-04-11 Thread Carolina Hernández
Hi Krish Thanks for all your comments. About the #initialize method, I think you are right, and some code refactoring would solve it. Also, about the #takeOff method, maybe the comments are not so explicative, but it just sends the take off command until the drone is actually flying. In practice,

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

2016-04-11 Thread Carolina Hernández
Hi Hernán, not for now, since my main goal is to make possible to program behaviors for the drone using the language LRP (Live Robot Programming). However, since I am using a spiral development method, I may consider it in a further stage. Thanks for the suggestion! Caro About LRP: http://pleiad.

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

2016-04-11 Thread Sean P. DeNigris
stepharo wrote > this is cool +1! - Cheers, Sean -- View this message in context: http://forum.world.st/New-project-AR-Drone-communication-API-in-Pharo-tp4889216p4889386.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

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

2016-04-10 Thread Damien Pollet
On 10 April 2016 at 06:32, Ronie Salgado wrote: > In SDL2 there are also two APIs for joysticks, the Joystick API and the > GameController API Is this the same as Apple's GameController.framework? I happen to have a SteelSeries Stratus XL gamepad that works with it, if we need tests or demos…

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

2016-04-10 Thread Serge Stinckwich
I implement part of the gazebo/player API long time ago: https://github.com/SergeStinckwich/PlayerST On Sun, Apr 10, 2016 at 5:15 PM, Alexandre Bergel wrote: > Hi Hernan, > > Gazebo uses ROS somehow, so yes. > > Alexandre > > >> On Apr 9, 2016, at 10:58 AM, Hernán Morales Durand >> wrote: >> >>

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

2016-04-10 Thread Alexandre Bergel
This is really cool! Ronie (from the DCC as well :-) has been working on a joystick support. Ronie will travel end of next week. So I suggest to talk to him very soon Alexandre > On Apr 9, 2016, at 10:24 AM, Carolina Hernández wrote: > > Hi, my name is Carolina Hernandez and I'm a Computer E

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

2016-04-10 Thread Alexandre Bergel
Hi Hernan, Gazebo uses ROS somehow, so yes. Alexandre > On Apr 9, 2016, at 10:58 AM, Hernán Morales Durand > wrote: > > 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_sim

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

2016-04-10 Thread Alexandre Bergel
+1 > On Apr 10, 2016, at 2:39 AM, stepharo wrote: > > 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 b

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

2016-04-10 Thread Volkert
Nice :-) On 10.04.2016 12:05, Ronie Salgado wrote: Ok, I made a cleanup on the OSWindow joystick support. I also added the OSWindowGenericRenderer interface which is implemented by a thin wrapper around the SDL2 renderer interface. I have tested this on Linux using a XBox 360 controller (using

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

2016-04-10 Thread Ronie Salgado
Ok, I made a cleanup on the OSWindow joystick support. I also added the OSWindowGenericRenderer interface which is implemented by a thin wrapper around the SDL2 renderer interface. I have tested this on Linux using a XBox 360 controller (using SDL2 GameController interface) and a PS2 controller via

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] 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] 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