Uncategorized

Cast close and reopen votes

Help Center > Privileges > Cast close and reopen votes

Cast close and reopen votes

Moderation privilege Privilege type:

Awarded at: 3,000 reputation

What is closing?

Closing is a democratic voting process where the community identifies questions that duplicate existing content, are unreasonable to answer in their current state, or do not belong on the site.

When should I vote to close a question?

Questions should be closed by casting close votes if:

  • they are sufficiently similar to existing questions and would be answered identically to them.
  • they are unclear, too broad, or otherwise problematic to identifying the problem in a way that can be properly addressed by answerers
  • they are sufficiently off-topic, as outlined in the help center.

Note that once you gain the reputation to vote to close, you should no longer flag for moderator attention to have questions closed or migrated. It is your responsibility to vote now. See also: How should my flagging change when I gain the ability to vote to close?

How do I cast a close vote on a question?

The current number of close votes will be shown under the question, in parenthesis, like so:

close (3)

If there are no close votes, it will simply say:

close

To cast a close vote — or just to view the current count of close votes and reasons — click the ‘close’ link under the question body. A list of close reasons, with descriptions and current counts, will appear.

If you wish to cast a vote at this point, use the radio buttons to specify a reason for closing the question, then click the “Vote to Close” button. If you select “off-topic”, you will need to select an additional sub-reason explaining why the question is off-topic.

  • It takes 5 close votes to reach the closing threshold (except for duplicate questions, which can be marked as duplicate with a single vote from a user who has earned a gold tag badge in one of that question’s current tags, unless that user participated in editing the tags).
  • You may cast up to 24 close votes per day.
  • Close votes age away harmlessly if the threshold is not reached after a number of days. If the question has at least 100 views, close votes will age away after 4 days; otherwise close votes will age away after 14 days. Each new close vote resets the timer, so all close votes must be at least 4 or 14 days old respectively before aging occurs.
  • You can retract a close vote at any time if the question has not yet been closed by clicking on the ‘close’ link under the question. This will display the standard close dialog, with the submit button changed to a ‘Retract Vote’ button.

What happens when a question is closed?

Once a question has been closed, it will no longer accept new answers and the label [closed] will be appended to the title.

Closed questions can be reopened through a similar voting process. The current number of reopen votes will be shown as current under the question, in parenthesis, like so:

reopen (3)

A tooltip displays the number of votes required to reopen. If there are no reopen votes, it will simply say:

reopen

Questions can go through multiple close and reopen cycles, but each individual user may cast at most one close and one reopen vote per question.

Closed questions may be merged with another question, migrated to another site in our network, or even deleted.

Alternatives to closing

If the question has serious problems (e.g. it is spam or offensive), flag it instead.

If you don’t have enough reputation to cast close votes, you can also flag for closure.

If you have used up your close votes for the day and the question is a duplicate, post a comment with a link to the original.

Reviewing close and reopen votes

This privilege level unlocks two review queues for questions that may need to be closed or reopened.

Any post which currently has an active close vote or a close flag will appear in the Close Votes review queue. In this queue, users can either vote to close the question, edit the question, or recommend leaving it open. Edits or a sufficient number of “Leave Open” reviews will remove the question from review and immediately begin aging the close votes. If the question receives another close vote after being kicked out, it will re-enter the queue for further review. Questions with vote to close as a duplicate will also list each possible duplicate in a tab at the top for easy reviewing.

Similarly, the reopen queue will contain any post that currently has an active reopen vote. Users can vote to reopen, edit the question (which includes a reopen vote), or leave the question closed. A certain number of Leave Closed votes will again kick the question out of the queue and begin the reopen vote aging process, and of course, another reopen vote will put it back into the queue. Questions which get edited within 5 days of being closed will automatically show up in the reopen queue for review. Questions which have had a revision will add an extra tab at the top so that you can quickly view the revision. Like the close votes queue, questions which were closed as duplicates will still list the duplicates in the tabs above.

.END

Asked 
Active 2 days ago
Viewed 35 times
0

this is in mu

from gpiozero import Robot

robby = Robot(left=(7,8), right=(9,10))

this is in the Raspberry Pi terminal

python robby.forward()
# Then it says ‘robby’ is to defined, I don’t know why it says that. I defined ‘robby’ in the mu command. The motors and motor board are clearly working, just not the code.

 New contributor
  • Quick Question: Are you using Circuit Python? If you are using Rpi python. perhaps you can use Thonny IDE instead of Mu, then I can repeat you problem on my side. And please give the full listing of your code, if possible. Or give us the link of your tutorial. – tlfong01 2 days ago   
  • You might like to search this forum using key words “L298N” to find many posts on buddies and robbies. Here is one: raspberrypi.stackexchange.com/questions/104365/…. I also answered a couples of questions on Gpio.Zero. But I usually recommend newbies to first try Rpi.Gpio, then Gpio.Zero. – tlfong01 2 days ago    
  • 1
    I am just using the “Build a robot buggy” project on the raspberry pi website. In their instructions they use gpiozero so that’s what I used. – Aysmith17 2 days ago
  • 1
  • 1
    I put the code in that you showed and it made no errors. However, the motor did not move. I suppose there’s something wrong with the motor board and how it is wired to the pi. But thanks for your help and I hope you enjoyed your locking down meal and song. – Aysmith17 22 hours ago

0

Answer

(1) The “Buid a buggy” instructions is not clear.

I got the same error as the OP.

What the OP can do is the “Yellow Block” below.

robby.py


(2) I looked at the instructions again and found that perhaps they are for Rpi3B+ IDLE python 3.5.3. I vaguely remember that for IDLE 3.5.3, the IDE is divided into two separate windows, left window is text terminal output, right window is for IDLE editing/compile/run.

What confuses the OP further is that the Mu editor saves python script files by default in the directory home/MuCode/, but IDLE would save files in another default directory.

idle python

/ to continue, …


References

(1) Build a robot buggy, Basic Instructions – Projects.RaspberryPi.Org

(2) Build a robot buggy, Assemble and Make a Lipo Power Bank

(3) Robby to go in a square, a circle, and zigzag

(4) GpioZero 1.5.1 Section 16.1.15. Robot classgpiozero.Robot()


Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: