Go to Post I'm impressed and incredibly amused that you found so many of Dave's evildoings, though granted, they aren't that hard to search out. - DCA Fan [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 28-04-2015, 13:33
Bryan Herbst's Avatar
Bryan Herbst Bryan Herbst is offline
Registered User
AKA: Bryan
FRC #2052 (KnightKrawler)
Team Role: Mentor
 
Join Date: Sep 2007
Rookie Year: 2007
Location: Minneapolis, Minnesota
Posts: 544
Bryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond reputeBryan Herbst has a reputation beyond repute
Re: 2015 RoboRIO/Control System Feedback

From what I heard from folks at FIRST, NI has an update ready to go that fixes the need to restart the DS (or toggle the team number) between back to back matches.

It wasn't released during the season due to the complexity involved with trying to ensure that every team got a mid-competition season update, but *should* be available sometime during the offseason.

Overall, the new control system has been great. I love the web config, and I have dreamt of being able to use more modern versions of Java for years.

The most annoying problems I ran into were also the most common (mDNS being slow on the field and Axis camera configuration), so I have faith that they will improve for 2016. We've already seen some improvements, so hopefully another few months will make it even better.

As Alan mentioned, the Weidmuller connectors are easy for teams to wire incorrectly. Too many teams have copper splayed out around the connection. Hopefully this will get better as teams gain more experience with the connectors (and with their robot shorting out on the field).
__________________
Team 2052- Knightkrawler
Mentor and volunteer
Reply With Quote
  #17   Spotlight this post!  
Unread 28-04-2015, 13:48
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,077
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: 2015 RoboRIO/Control System Feedback

Quote:
Originally Posted by Jared View Post
-Timertasks don't work properly if they are started before connecting to the driver station, but work if the reset button is pushed on the roboRIO. Troubleshooting this behavior is difficult, and it's never comforting when resetting or redeploying code puts the controller in a different state than a cold boot.

-Java timertask timing is worse than in previous years.
We ran into the first issue at CVR...the problem is that the scheduleAtFixedRate() method schedules execution relative to the timestamp of the first execution (and the RoboRIO initially assumes it is turned on at the beginning of the epoch), but when the robot connects to the driver station, the local clock is synched to the driver station time. Your code freaks out because it thinks it has ~45 years worth of work to do in order to catch up, and as a result your TimerTask hogs the entire CPU. TL;DR, never use scheduleAtFixedRate(). Thanks to Joe Hershberger for helping us to figure this out.

As for TimerTask timing being bad otherwise, this is because of some incomplete JNI between the HAL and WPIlibJ. Whereas LabView and C++ use the onboard hardware timer to generate interrupts for calling recurring tasks, the current implementation of TimerTask uses Thread.sleep(), which is quite unreliable. We would schedule 5 ms periods and get around 5 ms most of the time, but we would see several 10+ ms periods per second, and occasionally even 200+ ms periods.

We hacked our WPIlib JAR with some additional JNI to get to the FPGA timer and were much, much happier with our timing jitter. I think Tom submitted a patch to WPIlib, so hopefully this will be fixed for next year. It took us a long, long time to figure it all out...
Reply With Quote
  #18   Spotlight this post!  
Unread 28-04-2015, 14:14
wireties's Avatar
wireties wireties is online now
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,169
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: 2015 RoboRIO/Control System Feedback

I generally loved the new control systems and the Talon SRX motor controllers this year. Just a few requests:

1 - Please reconfigure the kernel to include POSIX message queues and semaphores. Embedded Linux is incomplete w/o these primitives.

2 - Please make it easier to use static priorities in threads. Many teams roll their own software solutions and we can't do the same things we did with VxWorks.

3 - Please use latching connectors on the roboRio. It is nearly a crime that we use the old PWM connectors in a high vibration environment.

4 - Please do not use Silverlight. It requires the client be Windoze and install a bunch of crap.

TIA
__________________
Fast, cheap or working - pick any two!

Last edited by wireties : 29-04-2015 at 09:07. Reason: Silverlight
Reply With Quote
  #19   Spotlight this post!  
Unread 28-04-2015, 19:31
RyanShoff RyanShoff is offline
Registered User
FRC #4143 (Mars Wars)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Metamora, IL
Posts: 145
RyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to behold
Re: 2015 RoboRIO/Control System Feedback

Requiring Silverlight to manage a Linux device bugged me.

If we left the robot on for a long time, maybe 15-30 minutes, the robot would freak out. Planning to debug that later.
__________________
Ryan Shoff
4143 Mars/Wars
CheapGears.com
Reply With Quote
  #20   Spotlight this post!  
Unread 29-04-2015, 11:00
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,087
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: 2015 RoboRIO/Control System Feedback

Quote:
Originally Posted by RyanShoff View Post
Requiring Silverlight to manage a Linux device bugged me.

If we left the robot on for a long time, maybe 15-30 minutes, the robot would freak out. Planning to debug that later.
This was actually an issue at Worlds, since Chrome dropped NPAPI support the week before. So we spent about 10 minutes trying to connect to the webdash, until I remembered, and we switched to IE. I would prefer to use chrome, which means they should switch to something chrome supports, and not silverlight.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
Reply With Quote
  #21   Spotlight this post!  
Unread 29-04-2015, 11:26
RyanShoff RyanShoff is offline
Registered User
FRC #4143 (Mars Wars)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Metamora, IL
Posts: 145
RyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to behold
Re: 2015 RoboRIO/Control System Feedback

Quote:
Originally Posted by Thad House View Post
This was actually an issue at Worlds, since Chrome dropped NPAPI support the week before. So we spent about 10 minutes trying to connect to the webdash, until I remembered, and we switched to IE. I would prefer to use chrome, which means they should switch to something chrome supports, and not silverlight.
This chrome://flags/#enable-npapi and click enable will work for another year or so until Google has said they will really remove it.
__________________
Ryan Shoff
4143 Mars/Wars
CheapGears.com
Reply With Quote
  #22   Spotlight this post!  
Unread 29-04-2015, 23:57
tcjinaz tcjinaz is offline
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Re: 2015 RoboRIO/Control System Feedback

Quote:
Originally Posted by JamesD View Post
I've noticed this for several years now. You need to go into the properties of the WiFi adapter on the laptop and disable all power saving options. Otherwise when the battery gets below a certain level the Wifi adapter will actually disappear from the operating system until the power cord is plugged in again.



Team 111 Wildstang did this season: http://wildstang.org/blog/?p=225
We used the Wildstang part this year, worked like a charm.

Thanks 111!
__________________
Software Mentor
3853 Pridetronics[

Reply With Quote
  #23   Spotlight this post!  
Unread 30-04-2015, 00:19
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: 2015 RoboRIO/Control System Feedback

Quote:
Originally Posted by RyanShoff View Post
Requiring Silverlight to manage a Linux device bugged me.
I agree it seems wrong, however maybe have a look at Pipelight (http://pipelight.net/cms/installation.html). Seemed to work ok for me (admittedly, I only opened the management page and clicked around, I didn't do any serious work with the roboRIO this year).

For convenience, Pipelight installation on Ubuntu (and derivatives):
Code:
sudo add-apt-repository ppa:pipelight/stable && sudo apt-get update && sudo apt-get install --install-recommends pipelight-multi && sudo pipelight-plugin --update
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
Reply With Quote
  #24   Spotlight this post!  
Unread 30-04-2015, 11:42
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 575
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: 2015 RoboRIO/Control System Feedback

Quote:
Originally Posted by JamesD View Post
Quote:
Originally Posted by MrRoboSteve View Post

. physical retention for control cables at the roboRIO -- maybe someone should design a 3d printed part that sticks to the top/side of the unit, with retention like the Jaguar?
I've noticed this for several years now. You need to go into the properties of the WiFi adapter on the laptop and disable all power saving options. Otherwise when the battery gets below a certain level the Wifi adapter will actually disappear from the operating system until the power cord is plugged in again.



Team 111 Wildstang did this season: http://wildstang.org/blog/?p=225
Thanks for the pointer. I noticed in today's email blast that AM has a product to address this as well.
__________________
2016-17 events: 10000 Lakes Regional, Northern Lights Regional, FTC Burnsville Qualifying Tournament

2011 - present · FRC 3081 Kennedy RoboEagles mentor
2013 - present · event volunteer at 10000 Lakes Regional, Northern Lights Regional, North Star Regional, Lake Superior Regional, Minnesota State Tournament, PNW District 4 Glacier Peak, MN FTC, CMP
http://twitter.com/MrRoboSteve · www.linkedin.com/in/speterson
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi