BroBots Mac OS

Posted on  by
  • Welcome to the Internet Archive Books collection! Some books can be freely read and downloaded. Others can be borrowed and read in our online book reader.
  • Find games for macOS in development like Copy Editor: Free Preview, Odd Realm, Scrabdackle, Lonesome - Chapter 1, Bound By Blades on itch.io, the indie game hosting marketplace.
  • You set your Mac or Macbook which disk to start up from when more than one startup disk is connected. This works for USB drives including the NinjaStik For 2018 to 2020 Macs with the Secure Boot T2 Chip, see the 2020 Macbook Pro Boot from USB instructions. A “startup disk” is a volume or partition of a drive that contains a bootable operating system.
  1. Robots Mac Os X
  2. Robots Mac Os Download
  3. Robots Mac Os 11

With Kenny Johnston, Circus-Szalewski, Amira Harvey, Ben Azelart. Max navigates a new town and a new crush with the help of some top-secret artificial intelligence.

You set your Mac or Macbook which disk to start up from when more than one startup disk is connected. This works for USB drives including the NinjaStik

For 2018 to 2020 Macs with the Secure Boot T2 Chip, see the 2020 Macbook Pro Boot from USB instructions.

A “startup disk” is a volume or partition of a drive that contains a bootable operating system.

You can set your Mac to automatically use a specific startup volume, or you can temporarily override this choice at startup.

Set the default startup disk
You can change the startup disk your Mac automatically uses from System Preferences.
  1. From the Apple menu choose System Preferences.
  2. Click the Startup Disk icon in System Preferences, or choose View > Startup Disk.
  3. Select your startup disk from the list of available volumes.

The next time you start up or restart your computer, your Mac starts up using the operating system on the selected volume.

Temporarily change your startup disk with Startup Manager

Startup Manager allows you to pick a volume to start from while the computer is starting up.

Robots

Use these steps to choose a startup disk with Startup Manager:

  1. Turn on or restart your Mac.
  2. Immediately press and hold the Option key. After a few seconds, the Startup Manager appears. If you don’t see the volume you want to use, wait a few moments for Startup Manager to finish scanning connected drives.
  3. Use your mouse or trackpad, or left and right arrow keys to select the volume you want to use.
  4. Double-click or press the Return key to start up your Mac from the volume you selected.

If you have an optical drive connected to your computer, you can insert an installation disc to see it in Startup Manager. You can also attach FireWire or USB external hard drives that contain an operating system to add to the list of startup volumes.

Startup Manager automatically adds bootable volumes as you connect them.

Restart in OS X from Boot Camp

If you have started up your Mac in Windows using Boot Camp, you can use the Boot Camp system tray to switch your startup disk default back to OS X.

  1. In Windows, click the Boot Camp icon in the system tray.
  2. From the menu that appears, choose Restart in OS X.

Start from OS X Recovery

You can also start your Mac from OS X Recovery or Internet Recovery if your Mac was manufactured after 2011.

To start your Mac from the Recovery System, use these steps:

  1. Start up or restart your computer.
  2. Hold down the Command and R keys on your keyboard until you see the Apple logo appear onscreen.

If you don’t see a volume listed

If you don’t see the volume you want to start your computer from, check the following:

  • If you’re using an external drive, make sure it’s connected and turned on.
  • Make sure you’ve installed an operating system, like OS X or Windows on the drive you’re trying to start from. Volumes that don’t contain a valid operating system aren’t listed in Startup Disk or Startup Manager.
  • If you’ve installed an operating system on a drive but it isn’t listed, the volume you’re trying to start from might need repair. If the volume contains OS X, start your computer from OS X Recovery and use Disk Utility to repair the volume, or reinstall OS X on the volume using the Recovery System.
  • Depending on the Mac you are using and the version of OS X that is installed, the Recovery System volume (Recovery HD) might not show up in Startup Manager. Press Command-R during startup to start your Mac from the Recovery System.

For 2018 / 2019 Macbook Pro with the Secure Boot T2 Chip, see the 2018 Macbook Pro Boot from USB instructions.

Maybe you’ve always wanted to make C-3PO or R2-D2, or wondered whether you could create a Roomba Robotic Floorvac yourself. Whatever your motivation, the Lego MindStorms Robotics Invention System has everything you need in order to build robots. So you put down $200, take the kit home, and build something brilliant—only to discover that the software is Windows only.

Can’t you use a Mac to program robots? Of course you can! Several excellent Lego robot-programming tools exist for the Mac, many of them free. I’ll show you how to get started with one of the most popular tools, MacNQC. (For others, see “Programming Choices.”)

Robots Mac Os X

About Lego Robots

The Lego MindStorms Robotics Invention System (RIS) kit contains more than 700 Lego bricks, including motors, sensors, gears, wheels, and a robot brain called the RCX. You can write programs for the RCX on your computer and then download the programs to your robot via an infrared link. The kit includes an infrared USB tower that you plug into your computer so it can talk to the RCX.

So what can you do with all this stuff? Whatever you want. Imaginative builders from around the world have built robot bugs, pets, tanks, plant waterers, lawnmowers, chess players, and just about everything else. You won’t be making C-3PO or the Jetsons’ Rosie, but you’re going to have fun and learn a lot. In fact, many teachers now use Lego robots to teach programming to beginners of all ages.

Meet MacNQC

Although there’s Windows-only software in the regular MindStorms box, the clever and dedicated Lego robotics community, composed of enthusiastic fans worldwide, has created a wide variety of alternative RCX programming environments.

NQC (Not Quite C), originally developed by Dave Baum, compiles text source files and can download the compiled programs to the RCX. In its purest form, NQC can be a little uncomfortable for people who don’t live on a command line. Fortunately, there’s MacNQC, an excellent GUI version of NQC that runs in OS 9 and OS X. At this writing, the current version of MacNQC X (the version for OS X) was 3.0 r2.

MacNQC Quick Start

The first thing you need to do to start programming robots with MacNQC is install firmware on the RCX. The RCX is a very tiny computer. Like a Mac without system software, or Frankenstein without a brain, the RCX can’t do much by itself. The firmware serves as a kind of operating system, enabling you to download and run your own programs.

MacNQC does not come with its own firmware; you will use the firmware that Lego supplies with the RIS kit. The easiest way to get the firmware file is to download the RCX 2.0 Beta SDK. Click on the link at the bottom of the page to download the SDK. (You’ll need to click through one or two more pages to get to it.) Once you’ve downloaded and unzipped the SDK, copy the firm0328.lgo file into the Firmware directory of your MacNQC folder.

If you don’t have an Internet connection handy, you can get the firmware file from the RIS disk, but you’ll need to install the RIS software on a Windows computer first. Then you can copy the firmware file from Windows to your Mac and install it on the RCX using MacNQC. On the Windows computer, you can find the firmware file here: Program FilesLEGO MINDSTORMSRIS 2.0scriptFirmware firm0328.lgo. Copy it to your Mac and place it in the Firmware directory of your MacNQC folder.

At this point, you’re ready to plug in the infrared tower and start up MacNQC. Turn on the RCX and place it near the infrared tower. Choose RCX: Download Firmware from the MacNQC menu. MacNQC will find the firmware file you just copied and install it on the RCX. Be patient; this takes a couple of minutes. With the firmware installed, you’re ready to start playing.

Choose RCX: Motor And Sensor Panel from MacNQC’s menu. This window allows you to control motors (outputs A, B, and C) and view sensor readings (inputs 1, 2, and 3). For example, you can see the current reading of a light or temperature sensor. To turn on a motor, click on one of the green arrows for forward or reverse, and then click on the Start button. To view a sensor value, first choose the sensor type from the pop-up menu and then click on Refresh to get the sensor values from the RCX.

Ready Your Robots!

Programming in NQC is simple. Let’s start with a rudimentary example: a program that makes a robot move forward for one second and then stop. If you haven’t built a robot yet, make a basic one, such as my own RoboTag or Trusty.

I’ll assume you have a robot that uses motors A and C to move. All the program has to do is turn on the motors, wait one second, then turn them off.

In MacNQC, create a new file and enter this:


The commands in this program are all straightforward. You just need to remember that the Wait command accepts a time measured in hundredths of a second, so

means “wait for one second.”

You can save the file if you want, but it’s not necessary for testing. Make sure that your RCX is turned on and that the infrared tower is pointed at it; then click on the toolbar button that looks like 1s and 0s. MacNQC will download your program to the RCX. (Your robot will chime when it has received instructions.) To try the program out, press the Run button on the RCX.

If you’d rather just check your program for errors without downloading it, click on the red check-mark button. MacNQC will tell you about any errors it finds in a separate error window. Double-click on an error to go to that spot in your program.

The next example moves the robot forward until it bumps into something. You’ll need a robot with a bumper on the front, connected to input 1. (The bumper should press a touch sensor on input 1 when the robot bumps into something.) Also, motor A should control the left side of the robot; motor C, the right side. RoboTag will work for this project. After a bump, the robot will back up, turn right, and then drive forward again.

The

line <>A<> (as seen in the screenshot) tells the RCX that a touch sensor is attached to input 1. Next, the program moves the robot forward. If the bumper ever touches anything (that’s when equals ), the robot backs up for one second, turns for one second, and then starts moving forward again.

When you’re ready to do more, check out the comprehensive documentation for the NQC language, and information about MacNQC, available from the Help menu.

Welcome to a New World

By now you should be pretty pleased with yourself. You have successfully used your Mac to program Lego robots, and it didn’t cost you anything. (You can watch RoboTag navigate obstacles using the second program outlined in this article.)

You are now part of an amazing global community whose nexus is LUGNET, the Lego Users Group Network. You’ll find other enthusiastic, brilliant people who like to build Lego robots. Browse or search the archives for project ideas or information about troubleshooting, advanced programming, and building techniques. Or you can join (for free) and participate in the discussions.

Now go forth and program robots with your Mac. Have fun!

[ Jonathan Knudsen was the author of one of the first Lego MindStorms books in 1999. By day, he writes about Java technology. ]

Less Geeky You can’t use the Windows-only software that comes in the MindStorms box, but you can use Lego’s Robolab software for OS 9. (It also runs in Classic.) In this visual environment, snap together little program blocks, such as

or . When you’re finished, click on a button to download the program to your robot for testing. This is a good choice for younger robot builders or those with little computer experience. Buy it separately at the Pitsco Lego Dacta store for $69.

Also, don’t miss the cool kits sold at the Pitsco site, such as the $114 Robolab Intelligent House Building Set, which you can use to create a working model of an automated home.

Robots Mac Os Download

Geekier If you’re familiar with Java, try the free leJOS, an environment based on the Java programming language.

Use MacNQC’s Motor and Sensor Panel to control robots directly, or create programs in a color-coded text editor.

Robots Mac Os 11

See RoboTag navigate obstacles using the second program outlined in this article.