/home/laradmin/lar/bases/atlasmv_base/include/atlasmv.h File Reference
Includes, global vars, funtion prototypes, etc.
More...
#include "c_atlasmv.h"
#include <pthread.h>
#include <string.h>
#include <termios.h>
#include <sys/ioctl.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string>
#include <iostream>
#include <cmath>
#include <stdexcept>
#include "duration.h"
#include <boost/math/special_functions/round.hpp>
#include "rostime_decl.h"
#include <sys/time.h>
#include "ros/time.h"
#include <cstdio>
#include <sstream>
#include <cstdarg>
#include <log4cxx/logger.h>
#include "ros/console.h"
#include <boost/static_assert.hpp>
#include <ros/platform.h>
#include <stdint.h>
#include <assert.h>
#include <stddef.h>
#include "ros/assert.h"
#include <vector>
#include <map>
#include <set>
#include <list>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include <boost/function.hpp>
#include <ros/macros.h>
#include "exceptions.h"
#include "roscpp_serialization_macros.h"
#include <boost/shared_array.hpp>
#include "ros/forwards.h"
#include "ros/common.h"
#include <boost/array.hpp>
#include <ros/types.h>
#include "serialized_message.h"
#include "message_forward.h"
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/remove_const.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include "message_traits.h"
#include "ros/exception.h"
#include <boost/call_traits.hpp>
#include <boost/mpl/and.hpp>
#include <boost/mpl/or.hpp>
#include <boost/mpl/not.hpp>
#include <cstring>
#include <boost/bind.hpp>
#include "common.h"
#include <typeinfo>
#include <ros/message_traits.h>
#include <boost/type_traits/is_void.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/add_const.hpp>
#include <boost/make_shared.hpp>
#include <ros/static_assert.h>
#include "ros/builtin_message_traits.h"
#include "ros/serialization.h"
#include "ros/message_event.h"
#include "forwards.h"
#include "timer_options.h"
#include "ros/rate.h"
#include "wall_timer_options.h"
#include "ros/message.h"
#include "ros/service_traits.h"
#include <boost/lexical_cast.hpp>
#include "subscription_callback_helper.h"
#include "ros/spinner.h"
#include <time.h>
#include "ros/publisher.h"
#include <boost/utility.hpp>
#include "ros/service_server.h"
#include "ros/subscriber.h"
#include "ros/node_handle.h"
#include "ros/init.h"
#include "XmlRpcValue.h"
#include "node_handle.h"
#include "ros/names.h"
#include <signal.h>
#include <timer.h>
#include <math.h>
#include <fstream>
#include <class_dioc.h>
#include <des70_10.h>
#include <atlasmv_base/AtlasmvLightsCommand.h>
#include <atlasmv_base/AtlasmvMotionCommand.h>
#include <atlasmv_base/AtlasmvVertSignsCommand.h>
#include <atlasmv_base/AtlasmvStatus.h>
#include <strings.h>
#include <queue>
Go to the source code of this file.
Detailed Description
Includes, global vars, funtion prototypes, etc.
Definition in file atlasmv.h.
Define Documentation
#define _DO_NOT_USE_CARMEN_ 0 |
#define _DO_NOT_USE_OPENCV_ 0 |
Function Documentation
void atlasmv_help |
( |
bool |
help |
) |
|
writes used flags for help.
- Parameters:
-
| help | true if we want to show the help, false if not |
Definition at line 595 of file atlasmv.cpp.
void atlasmv_shutdown_module |
( |
int |
x |
) |
|
Increments motion model based on the current available information.
- Parameters:
-
| model | Motion model to use |
| dt | time lapse since last iteration |
- Returns:
- error code
Definition at line 561 of file atlasmv.cpp.
int initialize_motion_model |
( |
t_motion_model * |
model, |
|
|
double |
X0, |
|
|
double |
Y0, |
|
|
double |
orientation, |
|
|
double |
wheelbase | |
|
) |
| | |
Initialize car motion model.
- Parameters:
-
| model | Motion model to use |
| X0 | initial x position |
| Y0 | initial y position |
| orientation | initial orientation |
| wheelbase | wheelbase of the car |
- Returns:
- error code
Definition at line 530 of file atlasmv.cpp.
int main |
( |
int |
argc, |
|
|
char ** |
argv | |
|
) |
| | |
ROS INIT
Ir buscar os parametros
Definition at line 328 of file atlasmv.cpp.
double percentage2real_velocity |
( |
double |
percentage |
) |
|
int update_motion_model |
( |
t_motion_model * |
model, |
|
|
double |
velocity, |
|
|
double |
steering_angle | |
|
) |
| | |
Updates velocity and steering variables.
- Parameters:
-
| model | Motion model to use |
| velocity | current velocity |
| steering_angle | current steering angle |
- Returns:
- error code
Definition at line 548 of file atlasmv.cpp.
Variable Documentation
pthread_mutex_t brk_mutex = PTHREAD_MUTEX_INITIALIZER |
pthread_mutex_t dioc_mutex = PTHREAD_MUTEX_INITIALIZER |
pthread_mutex_t dir_mutex = PTHREAD_MUTEX_INITIALIZER |
pthread_mutex_t speed_mutex = PTHREAD_MUTEX_INITIALIZER |