![]() |
FMS Offseason E-stop cannot be undone
1 Attachment(s)
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. |
Re: FMS Offseason E-stop cannot be undone
Our student who is running the FMS tomorrow discovered the same E-stop issue last night. I didn't have time to investigate further.
Nice creative solution to the problem! Another option for people who are comfortable with SQL databases would be to go in and manually clear the flag. I don't have a computer with the FMS installed handy right now, but I might look into making a script for that tonight. I opened a bug in the CollabNet site here. |
Re: FMS Offseason E-stop cannot be undone
As per Alex's comments on the bug I filed, it looks like there's no need to do anything with the database.
Simply restarting the two FMS services resolves the issue for me. |
Re: FMS Offseason E-stop cannot be undone
Quote:
|
| All times are GMT -5. The time now is 07:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi