![]() |
RoboDS First Test
Just ran first test of RoboDS (2015 Android Driverstation), seems to work pretty well. Buttons and joysticks work. The app still needs some work, but if I can find some free time I should have it finished in a week or so.
|
Re: RoboDS First Test
Would you like some volunteers to beta test before the official release?
|
Re: RoboDS First Test
Quote:
|
Re: RoboDS First Test
Here is a brief description of my app, and a prompt for some suggestions. Currently the app supports a 'drag n' drop' interface builder with 'Basic Button' and 'Basic Joystick' components. The app was designed so that new widgets of each category (joystick, button, slider, switch, throttle, etc.) can be easily added, so by the time the app is finished I hope to have a collection of widgets in different styles, and to allow users to import their own. The app's action bar contains a voltage indicator, connection indicator, enable button, mode switch, and a menu with settings and layout editing options. When a new widget is added to the layout a dialog comes up asking for the widget settings (joystick number, axis number, size, etc.). I plan to add support for multiple layouts that can be quickly switched out, but that'll have to wait until after the first release. Also in updated versions I'll add support for video and hardware joysticks. Video streaming is NOT currently supported in the app.
I also plan to add indicators to the widget collection, these'll include gauges, LEDs, and a few others. But to use these components the robot will have to include some RoboDS specific code, I don't want to use Smart Dashboard code because I want it to be a little smaller and lighter then the full Smart Dashboard implementation. So here is a prompt: I prefer to use RoboDS in landscape mode since I have a tablet. I do NOT want the app to change orientation with the sensor. So does anyone want an option to set the orientation of layouts to portrait? Is it easier to use a phone in portrait? Any other suggested features? The source code will be put up on Github after the first APK release, so if you'd like to branch it and add your own features feel free to do so. |
Re: RoboDS First Test
That sounds awesome - can't wait to test it out. Nice Job!!!
|
Re: RoboDS First Test
This would be for driving at home, not connecting to the field, right?
|
Re: RoboDS First Test
Quote:
|
Re: RoboDS First Test
Quote:
|
Quote:
|
Re: RoboDS First Test
Quote:
|
Re: RoboDS First Test
Quote:
|
Re: RoboDS First Test
Quote:
|
Re: RoboDS First Test
I have the app working good with a static IP, but when I try to use DHCP with InetAdress.getForName("roborio-2657.local") I get an UnknownHostException. If any of you Android developers knows what the problem is please help.
I used the same code in a desktop Java app and it worked perfectly. The INTERNET permission is declared in my manifest. |
Re: RoboDS First Test
Also I'd like to include a moderate collection of widgets in the app, so if anyone wants widgets to match their teams you can send me some graphics or post them as attachements. The graphics should be PNGs with the following elements:
Joysticks: inner graphic, outer graphic, (optional) pressed inner graphic, (optional) pressed outer graphic. All graphics should be approximately square or circle shaped. Sliders: Same as joysticks, except these should NOT be square or circular. They should be longer than they are wide. Throttles: Same as sliders. Buttons: Pressed and depressed graphics. Graphics should not include text since text will be dynamically added when a button is created. Other: Give me a description of what you want. Displays: Not yet supported. |
Quote:
Edit: taking a second look at that article, it doesn't appear to talk about mdns. Android does not appear to have an mdns responder, so you probably won't be able to get dynamic ips working. |
| All times are GMT -5. The time now is 17:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi