Artificial Intelligence & Neural Networks β Expert System and Natural Language Processing, NEC licence examination syllabus (Nepal Engineering Council).
Robotics
Agents with bodies β where every AI problem becomes physical and unforgiving.
π Where this lives: robotics is where the agent abstraction from ACtE0901 stops being a diagram. A warehouse robot has genuine sensors that are noisy, genuine actuators that slip, and a genuine deadline every control cycle β and if it gets any of them wrong it hits a shelf. Everything that is forgiving in software is unforgiving here, which is why robotics is the honest test of whether an AI technique actually works. Search "robotics uncertainty sensing actuation real world".
What a robot is, and why it is hard
A ROBOT is a physical agent that performs tasks by manipulating
the physical world, using SENSORS to perceive and EFFECTORS
(actuators) to act.
IT IS EXACTLY THE AGENT OF ACtE0901, with the environment being
the physical world β which is, in the classification of the
environment-types topic:
PARTIALLY OBSERVABLE sensors are noisy and limited
STOCHASTIC actions do not have their intended
effect exactly
SEQUENTIAL actions have lasting consequences
DYNAMIC the world moves while you compute
CONTINUOUS state, time, and action are all
continuous
often MULTI-AGENT people and other robots
often partly UNKNOWN the environment must be mapped
THAT IS THE HARDEST COLUMN OF THE ENVIRONMENT TABLE, every
entry at once. Robotics is difficult because it gets no easy
properties.
THE CATEGORIES OF ROBOT:
MANIPULATORS (robot arms) β anchored to a fixed base, moving
objects within their reach. Industrial welding and assembly
arms.
MOBILE ROBOTS β moving through an environment: wheeled,
legged, aerial (UAVs), underwater.
MOBILE MANIPULATORS β both, which is far harder than either.
HUMANOID ROBOTS β a mobile manipulator in human form.
THE COMPONENTS:
SENSORS
PASSIVE β receive signals the environment emits: cameras,
microphones, passive infrared
ACTIVE β emit a signal and measure the return: sonar,
lidar, radar, structured-light depth cameras
PROPRIOCEPTIVE β measure the robot's own state: joint
encoders, inertial measurement units, force sensors
THE DISTINCTION MATTERS: active sensors give better range
data and interfere with each other; proprioceptive sensors
drift and must be corrected against external references.
EFFECTORS
each provides a DEGREE OF FREEDOM (DOF) β an independent
direction of motion
REVOLUTE joints rotate; PRISMATIC joints slide
CONTROLLERS, and the power supply, which is a real design
constraint for anything mobile.
DEGREES OF FREEDOM β the arithmetic worth knowing:
A rigid body in 3D space has SIX degrees of freedom: three
of POSITION (x, y, z) and three of ORIENTATION (roll, pitch,
yaw).
THEREFORE A ROBOT ARM NEEDS AT LEAST 6 DOF to place its end
effector at an arbitrary position AND orientation.
A 7-DOF arm is REDUNDANT β it has more freedom than the task
requires, so there are infinitely many joint configurations
achieving the same hand pose. That redundancy is useful: it
lets the arm avoid obstacles or joint limits while holding
the hand still.
THE CONFIGURATION SPACE (C-space) is the space of all possible
joint settings. For a 6-joint arm it is 6-dimensional, and
PLANNING HAPPENS IN CONFIGURATION SPACE rather than in physical
space β because a path that is simple for the hand may be
impossible for the joints. Obstacles in the world map to
complicated forbidden regions in C-space, which is why motion
planning is not just pathfinding on a map.
Perception, localisation and planning
THE ROBOT'S CORE PROBLEMS, in the order they must be solved.
1. PERCEPTION UNDER UNCERTAINTY
Sensors are noisy, so the robot never knows its state
exactly. The standard treatment is PROBABILISTIC: maintain
a BELIEF STATE β a probability distribution over possible
states β and update it with each observation using Bayes'
rule.
THIS IS THE BELIEF-STATE MACHINERY OF ACtE0903, applied in
real time. The KALMAN FILTER is the classic implementation
for continuous state with Gaussian noise; PARTICLE FILTERS
handle arbitrary distributions by representing the belief
as a set of samples.
2. LOCALISATION β where am I?
Given a map and sensor readings, estimate the robot's pose.
Hard because odometry DRIFTS: wheel slip accumulates, so
dead reckoning alone is worthless over distance, and
external references are required.
3. MAPPING β what does the environment look like?
Build a map from sensor readings, given known poses.
4. SLAM β SIMULTANEOUS LOCALISATION AND MAPPING
Do both at once, with neither given. THE CHICKEN-AND-EGG
PROBLEM OF ROBOTICS: you need a map to localise, and you
need your location to build a map.
The resolution is probabilistic β maintain a joint
distribution over poses and map features, and correct both
when a previously seen landmark is recognised (LOOP
CLOSURE). SLAM is the enabling technology for autonomous
vacuum cleaners, drones and self-driving cars.
5. MOTION PLANNING β how do I get there?
Find a collision-free path in configuration space from the
current configuration to the goal.
APPROACHES:
CELL DECOMPOSITION β divide C-space into cells and search
the resulting graph. Suffers from the curse of
dimensionality: a 6-DOF arm's C-space discretised at
just 10 values per joint has 10βΆ = 1,000,000 cells, and
at 20 values per joint it is 6.4 Γ 10β·.
POTENTIAL FIELDS β attract to the goal, repel from
obstacles. Fast and can get stuck in local minima.
SAMPLING-BASED PLANNERS β RRT (rapidly-exploring random
tree) and PRM (probabilistic roadmap): sample random
configurations and connect them. THESE DOMINATE IN
PRACTICE, because they avoid discretising the whole
space, and they are PROBABILISTICALLY COMPLETE β they
find a solution if one exists, given enough time,
without guaranteeing an optimal one.
THIS IS THE SEARCH SECTION'S MATERIAL, in a continuous
high-dimensional space where exhaustive methods fail.
6. KINEMATICS
FORWARD KINEMATICS: given the joint angles, where is the
hand? A direct calculation, with one answer.
INVERSE KINEMATICS: given a desired hand pose, what joint
angles achieve it? HARDER β there may be NO solution
(out of reach), ONE, SEVERAL (elbow up or elbow down), or
INFINITELY MANY (a redundant arm).
THE ASYMMETRY IS THE POINT: forward is a function, inverse
is a relation, and inverse is what a task actually requires.
7. CONTROL
Execute the plan despite disturbance. A PID controller
(proportional, integral, derivative) on the error is the
workhorse. Two philosophies:
OPEN-LOOP: execute the plan blindly. Fails as soon as
reality diverges.
CLOSED-LOOP: measure the error and correct continuously.
AND THE LAYERED ARCHITECTURE from ACtE0901 is mandatory
here: a fast reactive layer for safety at ~10 ms, a slower
planning layer at ~seconds, with the reactive layer able to
override. The arithmetic in that topic β 200 reactive cycles
during one replan β is a robotics fact before it is an
architectural preference.
Applications and open problems
WHERE ROBOTS WORK, and the pattern is instructive:
INDUSTRIAL MANUFACTURING β welding, painting, assembly, pick and
place. Mature and enormously deployed.
WHY IT WORKED FIRST: the environment is STRUCTURED and
CONTROLLED. The part arrives in a known orientation, the
lighting is fixed, and nothing unexpected walks past. Take
away that structure and the same robot fails.
WAREHOUSE AND LOGISTICS β mobile robots moving shelves, sorting
parcels. Structured environment, engineered for the robots.
SURGICAL ASSISTANCE β teleoperated systems that scale and steady
a surgeon's motions. NOTE THAT THE HUMAN REMAINS IN CONTROL,
which is the error-cost argument from the AI applications
checklist.
AGRICULTURE β autonomous tractors, weeding robots, harvesting.
Semi-structured: rows are regular, plants are not.
INSPECTION IN HAZARDOUS PLACES β pipelines, reactors, disaster
sites, underwater, space. THE STRONGEST CASE FOR ROBOTS is
where a human cannot go.
DOMESTIC β vacuum cleaners are the success, and they succeeded
by drastically simplifying the task: cover the floor, do not
identify objects.
AUTONOMOUS VEHICLES β the hardest deployed case, because the
environment is unstructured, dynamic, multi-agent and
safety-critical simultaneously.
THE PATTERN ACROSS ALL OF THEM: ROBOTS SUCCEED IN PROPORTION TO
HOW MUCH STRUCTURE THE ENVIRONMENT HAS β either naturally or
because it was engineered for them. That is the single most
useful predictive rule in the field.
THE OPEN PROBLEMS:
MANIPULATION OF UNKNOWN OBJECTS β grasping an arbitrary
object is unsolved in general. Humans do it without
thought; robots need the object modelled.
DEXTERITY β human hands remain far beyond current
actuators
LEARNING FROM FEW EXAMPLES β a person shown a task once can
do it; a robot typically needs many trials, and each trial
in the physical world is slow and may break something
SIM-TO-REAL TRANSFER β training in simulation is fast and
safe, and policies learned there often fail on real
hardware because the simulation's physics is
approximate. Bridging that gap is an active research area.
SAFE INTERACTION WITH PEOPLE β predicting what a human will
do, and failing safely when wrong
POWER AND ROBUSTNESS β batteries, and components that
survive years of vibration and dust
WHY ROBOTICS IS THE HONEST TEST OF AI, and it is worth ending
the section on this:
Β· you cannot ignore uncertainty β the sensors are actually
noisy
Β· you cannot ignore real time β the deadline is physical
Β· you cannot ignore the cost of error β the robot breaks
something
Β· you cannot ignore the unmodelled case β the world supplies
them constantly
A TECHNIQUE THAT WORKS ON A BENCHMARK AND FAILS ON A ROBOT HAS
BEEN TOLD SOMETHING TRUE ABOUT ITSELF. Every simplification
that software permits β perfect information, unlimited time,
reversible actions β the physical world withdraws, which is
why robotics has been both the slowest-moving and the most
informative part of AI.
The rule that predicts where robots succeed: in proportion to how much structure the environment has. Factory arms worked decades before household robots because the part arrives in a known orientation under fixed lighting β and warehouse robots work because the warehouse was rebuilt for them. Remove the structure and the same hardware fails.
π Go further: the sim-to-real gap is currently the most active practical problem in robot learning, and the leading mitigation is elegantly counter-intuitive: domain randomisation. Rather than making the simulation more accurate, you make it deliberately variable β randomising friction, masses, lighting, textures and sensor noise across training episodes β so the policy cannot rely on any particular value and must learn something robust. Reality then becomes just one more variation it has already seen. It is a striking case of solving a fidelity problem by adding noise rather than removing it. Search "domain randomisation sim to real transfer robotics".
π‘ Exam angle: define a robot as a physical agent and classify the environment across all the ACtE0901 properties. Name the robot categories (manipulator, mobile, mobile manipulator, humanoid) and the sensor types β passive, active, proprioceptive. Explain degrees of freedom and why six are needed for an arbitrary pose in 3D, and what makes a 7-DOF arm redundant. Define configuration space. Describe the core problems: perception under uncertainty, localisation, mapping, SLAM and why it is chicken-and-egg, motion planning with the curse of dimensionality and sampling-based planners, forward versus inverse kinematics (inverse may have none, one, several or infinitely many solutions), and closed-loop control.
Syllabus points
Robotics basics in AI
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Related topics in Expert System and Natural Language Processing