bugGNU Robots - Bugs: bug #57031, Should be able to break out of...

 
 

bug #57031: Should be able to break out of non-halting user-code

Submitter:  Joshua Judson Rosen <rozzin>
Submitted:  Thu 10 Oct 2019 04:25:16 PM UTC
   
 
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 22 Jul 2020 12:43:55 AM UTC, comment #2: 

My change can be found in patch #9956 (overhaul2).

Matt Henry <mcthenry>
Group Member
Fri 17 Jul 2020 09:30:00 PM UTC, comment #1: 

I have an implementation of this.  I did it by making Guile respond to the SIGUSR1 signal and adding a menu option and a Ctrl-C accelerator to emit the signal (you can also do a kill SIGUSR1 <pid> as well).

I did it on top of other changes I'm proposing so I'd like to check in my branch so we can review it all.  Do I need special access to be able to check in my branch?  It didn't let me do it when I tried via Git.

Matt Henry <mcthenry>
Group Member
Thu 10 Oct 2019 04:25:16 PM UTC, original submission:  

One of the common issues that occur in user code is that the robot will get stuck in a loop in some, repeatedly covering the same area of the map until the robot's energy runs out.

This is extremely frustrating for the user, because the only way out of this situation is to exit the program and begin again from scratch.

There should be some way of of breaking out of these situations, e.g.: clicking on the screen or hitting the "escape" key could cause an exception to be raised from whatever code is in progress at the time.

How can we accomplish that?

Joshua Judson Rosen <rozzin>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mcthenry (Posted a comment)
  • -email is unavailable- added by rozzin (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code