Recording makes a take by capturing what the motors do while you move them, with a controller or by hand. Contours samples each motor's position, speed and torque at an interval you choose, and the take goes into the show when you save it.
With a controller, Contours reads the stick and sends each motor where to go, many times a second, and the motors follow. This needs version 3 motor firmware (see Before you record below).
Figure 12.1. The Record screen. Choose the control and the sample interval on the Setup card and tick the axes to record on the Axes card. The Take card at the foot records, pauses, stops and clears the take, and Save and Cancel end the session.
Before you record
-
Connect the motors you want to record (see chapter 6). The status bar shows how many are connected, for example 2 of 3 axes connected. Do it before you open the Record screen: while it is open, the Connections panel isn't available.
-
To record with a controller, plug the controller in and choose it on an axis's Controller tab (see chapter 7) or in Options (see chapter 23). That tab also sets, for each axis, which stick moves it, its Invert, its Position Range and Speed Range, and its Filter lag (below).
-
Enable the motors you will move with the controller. Recording doesn't enable them for you.
-
Check the firmware. Recording with a controller needs version 3 motor firmware; on a CM1-C (serial) motor, that is RT3.14.11B18 or later. A motor with older firmware stops the take from starting, and the message says which firmware it has. Update it with the Firmware card on the Motor tab (see chapter 8). Recording with Manual works with any firmware.
Opening the Record screen
-
On the Shows tab, click the show you want to record into.
-
Click Record into this show, the red icon on its row, or right-click the show and choose Record. Record is available once at least one of the show's axes has a connected motor.
The Record screen opens in place of the show list. Its header names the show, with a status chip on the right: Ready, Recording (red), Paused or Stopped.
If Live update was on, the motors stop following the cursor while the Record screen is open (see chapter 11). While it is open, the Axes and Test tabs, the Connections panel and the status bar's Connect All box aren't available.
Setting up a take
-
On the Setup card, choose the Control: Manual, Controller Position Control or Controller Speed Control (see the table below). The two controller choices are greyed until Contours has found a controller.
-
Set the Sample interval, the time between samples, from 10 to 1000 ms. The default is 100 ms. A shorter interval gives finer detail and more points to edit.
-
On the Axes card, tick each axis to record. The card's heading counts them, for example 2 of 3 selected. An axis whose motor isn't connected says Not connected and can't be ticked.
If an axis already has a take in this show, Contours asks when you tick it, for example Motor L already has a recording. Recording this axis replaces it when you save. Click Record this axis or Cancel.
Until a control is chosen and an axis ticked, the cards are tagged Choose a control and Tick an axis, the Take card says what is missing, and Record is unavailable.
Contours remembers the control, the interval and the ticked axes while the project is open, so the next time you record they are already set. An axis that already has a take records at that take's interval.
Tip. Start at 100 ms for your first recording. If the result feels coarse, try 50 ms. Very short intervals (under 20 ms) seldom help, make editing slower, and can be more than a serial motor's link carries.
The three controls
|
Control |
What happens during the take |
|---|---|
|
Manual |
When the take starts, Contours disables the ticked motors, so you can turn them by hand, and records what they do. |
|
Controller Position Control |
The stick sets the motor's position. Each motor starts from where it is: wherever the stick is when you click Record, the motor stays put, and moving the stick moves the motor by the change. The Position Range is the whole travel from one end of the stick to the other, so pushing the stick fully one way moves the motor half the range from the centre. |
|
Controller Speed Control |
The stick sets the motor's speed. Centred, the motor stops; pushed fully, it moves at the Speed Range. |
With a controller control, each axis's row on the Axes card shows its Position Range or Speed Range and its Invert tick, which makes the stick move the axis the other way. They are the same settings as on the axis's Controller tab, so a change in one place shows in the other.
How closely each motor follows the stick is set by the Filter lag on the axis's Controller tab, on the Response card. Blank is the motor's own: 40 ms, or the send interval if that is longer. A longer filter is smoother but lags more behind the stick.
The chart's scales before the take
When you choose a controller control, or tick an axis, the chart's scales for that axis change to show what the controller can reach, plus 10%:
-
With Controller Position Control, the axis's Position Range, centred on where the axis is now.
-
With Controller Speed Control, its Speed Range either way, and the position one second's travel at full speed either side of where the axis is.
-
With Manual, or a range of 0, the scales stay as they are.
So a small move doesn't look flat on a large range. With Fit or Scroll (see Watching the chart below), the scales still grow if the take goes beyond them.
Recording a take
-
Make sure the machine is clear, and click Record on the Take card. With a controller control, each ticked motor starts to follow the stick. If one won't (old firmware, not enabled, an alarm), the take doesn't start, none of the motors follows the stick, and a message names the motor and says why.
-
Move the motors through the motion you want, with the controller or by hand.
-
Click Pause to stop capturing for a moment without ending the take; click Record again to carry on.
-
Click Stop when the performance is complete.
-
Click Save to put the take into the show, or Cancel to throw it away.
Caution. With a controller control, the motors go on following the stick after Stop or Clear, until you click Save or Cancel. Keep clear of the machine, and don't knock the controller, until you have left the Record screen.
While a take is recording or paused, the Setup and Axes cards can't be changed; the Chart card can. The time chart's cursor is hidden while a take records.
If Contours says The controller hasn't been detected yet, move a stick or press a button on the controller, then click Record again.
Recording again, clearing and cancelling
-
To try again, click Record after Stop. Contours asks before it replaces the take you haven't saved: Record again or Keep take.
-
Clear deletes the unsaved take and goes back to Ready. It asks first: Clear take or Keep take.
-
Both questions offer Don't ask again until I save or cancel.
-
Cancel with a take you haven't saved asks too: Discard take or Keep recording.
Saving the take
Save puts the take into the show and closes the Record screen. The new take replaces any take the axis already had in that show, whether it was recorded, imported or made with AI. Save the project as well to keep it (see chapter 5).
After Save the cursor is at the start of the show. After Cancel it goes back to where it was before you opened the Record screen. If Live update was on, it starts again, and asks first if the take has left a motor away from the cursor (see chapter 11).
Axes lined up by time
Each motor starts sampling when its own command reaches it, so with several axes ticked their takes can start a few milliseconds apart, and one may have a point more than another. When you click Stop or Pause, Contours lines the takes up by time: each axis's point is worked out again at the same moments, from the latest start, and all are cut to the same length. You may see an axis lose a point or two. The chart shows the lined-up take, and Save keeps what the chart shows.
Watching the chart
The take is drawn on the chart as it arrives. The chart shows the same panes as on the Shows tab, so the Position and Speed ticks under View options on the layout bar still apply (see chapter 10). Torque is recorded with every take but isn't drawn on this chart.
SCREENSHOT Figure 12.2: the Record screen and chart during a take, SR joint project, Motor L and Motor R ticked, Fit chosen, the status chip red.
Figure 12.2. A take being recorded with Fit chosen. The chart grows to hold the take as it arrives.
The Chart card sets how the chart follows the take. You can change it during a take, and the change applies at once:
-
Fit, the default, shows the whole take from 0 s to a little past the newest sample, and grows each scale to fit.
-
Scroll shows a fixed stretch of time, the Window in seconds, with the newest sample a tenth of the way in from the right-hand edge, and grows each scale to fit. The window starts at the Chart length in Options (see chapter 23); a width you type is kept until you open another project.
-
None leaves the chart where it is, for you to zoom and pan yourself.
Each time you click Record, after Pause too, the chart is set back: the time as the choice shows it (the whole show for None), and each scale to what its controller can reach.
Figure 12.3. Scroll keeps a fixed window of time, set in the Window box, moving with the newest sample.
If the chart area's second pane shows the path, the take's path is drawn live as you record (see chapter 17). If it shows the model, the model follows the positions the motors report (see chapter 19).
Watching the show video while you record
If the show has media attached (see chapter 16), its video appears on the Record screen's Media card. Click Pop out / dock video to watch it full size, for example on a second monitor, while you move the motors. The video follows the recording controls:
-
Record on a new take starts the video from the beginning, in step with the chart.
-
Pause pauses the video; Record again resumes it from the same point.
-
Stop, Save and Cancel stop the video and return it to the start.
While a take is in progress, the video panel's own Play video and Pause video buttons are unavailable.
If a motor is lost during a take
If Contours loses the connection to a ticked Ethernet or serial motor while a take is recording or paused, the take stops as if you had clicked Stop, and a message names the axis. That axis is shown as not connected, and its row is greyed. Save then keeps the new take on the axes that are still connected; the lost axis keeps the take it had before.
A motor lost after the take has stopped, for example while it follows the controller before you save, doesn't spoil the take. It was complete, and Save keeps it. Contours notes the loss at the bottom of the window.
Recording again leaves the lost axis out. Reconnect its motor after you leave the Record screen.
Note. Contours can't yet tell when it loses an Ethernet motor set up for UDP, or a serial motor that is switched off while its USB adapter stays plugged in. Such a motor goes on showing as connected.