FAQ

De LCAD
Ir para: navegação, pesquisa

What are the units of each parameter?

CARMEN uses SI units internally. All distances are in metres. All angles are in radians. All velocities are in metres/second. All parameters described in an .ini file should obey this constraint, and any that do not should be considered a bug.

The only notable exception is that carmen_map_point_t points are in map grid cells, and should be multiplied by the map resolution (or converted using carmen_map_to_world to get distances in metres.

How do I reduce the processor load of CARMEN?

The major CPU load from CARMEN comes from two sources: localize and navigator. Bear in mind that reducing the CPU load of these two processes will lead to worse performance, and that a preferable scenario would be to move these processes off the robot to a more powerful CPU.

The navigator CPU usage can be reduced by changing the number of lasers used (navigator_num_lasers), increasing the replanning frequency (navigator_replan_frequency) or, for static worlds with very accurate maps and very good localization, dynamic obstacle avoidance can be turned off using (navigator_update_map). This last change is only recommended in carefully controlled environments.

Localize CPU usage can be reduced by making sure people tracking is off (localize_people_tracking) and reducing the number of particles (localize_robot_particles).

Do you support sonar sensors?

Nominally, yes. However, the sonar support has not been tested on most platforms, and therefore should be considered in alpha development. Also, localization, navigation and map building are not in any way supported using sonars yet. This may change, but it is currently a low-priority item.

I want to make the robot move backwards, but it won't go.

There are two relevant parameters: robot_collision_avoidance and robot_allow_rear_motion.

If robot_allow_rear_motion is off, then the robot will not move backwards.

If you do not have backwards pointing sensors, such as a laser or sonar sensors, then the robot will not move backwards. The only robot that we support that could conceivably need to move backwards even without sensors is the ATRV.

If you do have backwards pointing sensors, are they enabled? If no rear sensor data shows up in robotgraph, then the robot will not move backwards.

If you turn robot_allow_rear_motion on, and robot_collision_avoidance off, then the robot will always move backwards if you ask it to. But, there is no guarantee you won't hit anything. We do not in any way endorse ever turning off collision avoidance. You will hit things.

How do localize and the navigator planner work?

CARMEN uses a probabilistic approach to localization called Markov localization. The localizer estimates a probability distribution over all possible positions and orientations of the robot in the map given the laser readings and odometry measurements observed by the robot. This probability distribution is approximated using a particle filter (Thrun et. al. 2000). At start, CARMEN is given an initial position by the user, and the distribution of particles evolves to reflect the certainty of the localizer's position estimation.

The planner consists of an implementation of a Markov decision process planner (Burgard et. al. 1998, Konolige 2000). The planner operates by assigning a positive reward to the goal location and a negative reward to poses close to obstacles. The planner uses value iteration to assign a value to each cell; this value corresponds to the future expected reward of each cell.

The planner extracts the maximum-likelihood path by choosing from the given start state (the current pose of the robot as given by the localizer) successive states that maximize the expected reward. The directional command passed to the low-level controller is just the direction of the neighboring state with the highest-expected reward.