Go to Post When you open of CD and you see your very own quote up top, and can't decide if it's a really awesome or "Well...this is awkward..." moment - CalTran [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-02-2016, 01:15
MecaNaught's Avatar
MecaNaught MecaNaught is offline
Automation Engineer
FRC #3102 (Tech-No-Tigers)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Minnesota
Posts: 19
MecaNaught is on a distinguished road
FMS Offseason E-stop cannot be undone

We are using the latest FMS Offseason software from: http://www.firstinspires.org/resourc...-season-events

Version: 2015_FMSOffSeason_Package_2_30

We've had an oddity where if the FMS operator selects the 'E-stop' option during a round, the e-stop will not be reset through any means. We have restarted the robot with repluggin the battery, reset comms, rebooted driver stations and FMS computer, still 'E-stopped' even if nothing is connected to it. We can still connect directly to the robots and they aren't E-stopped.

What seems to be happening is that the Database is being written to when they're E-stopped, but some dev on the software forgot to make it toggle. Reinstalling the software resets the E-stops.

To get around this, I've created a few batch scripts that will backup and reset the FMS database without having to reinstall. See the .zip attached below.

DISCLAIMER: As always, review any scripts you find online, I'm not responsible if you don't know batch
-ChiefDelphi Doesn't support [spoiler], hurrah for text everywhere.

Backup:
1. Download and extract .bat files to desktop

2. Create shortcuts for each .bat

3. For each shortcut, right click->Properties->Shortcut Tab->Advanced->Run as administrator.

4. Start FMS, setup your events and teams in the scheduler.

5. Exit FMS and audience display, run the 'FMSData-Backup' shortcut. Follow any obvious on-screen prompts. If successful, you should be able to exit with any key after a few seconds.


Test this before you need it
Restore:
1. Start FMS, enter in team numbers and activate round in practice match as normal.

2. E-stop a robot.

3. After round, exit FMS and Audience display.

4. Run 'FMSData-Restore' shortcut. Should exit with any key after a few seconds.

5. Restart FMS software, go back to practice match tab, you should no longer see red e-stop buttons. Your schedule should be the same from when you backed it up.

Misc:
FMSData-RestartService.bat will restart the FMS base service in case the above scripts don't succeed.

I'm hoping I looked over something, but if not, this was a fun experiment.
Attached Files
File Type: zip FMSData-Backup.zip (1.9 KB, 5 views)
Reply With Quote
 


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 07:08.

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