- ROS C++ Coding Style is applied.

This commit is contained in:
ROBOTIS-zerom
2016-06-03 20:05:21 +09:00
parent 4dcaa5900f
commit 1ed888af00
50 changed files with 5772 additions and 4681 deletions

View File

@@ -42,9 +42,9 @@ include_directories(
## Declare a C++ library
add_library(robotis_math
src/RobotisMathBase.cpp
src/RobotisTrajectoryCalculator.cpp
src/RobotisLinearAlgebra.cpp
src/robotis_math_base.cpp
src/robotis_trajectory_calculator.cpp
src/robotis_linear_algebra.cpp
)
## Add cmake target dependencies of the library

View File

@@ -15,7 +15,7 @@
#include <Eigen/Dense>
namespace ROBOTIS
namespace robotis_framework
{
Eigen::MatrixXd transitionXYZ ( double position_x, double position_y, double position_z );

View File

@@ -8,6 +8,6 @@
#ifndef ROBOTIS_MATH_H_
#define ROBOTIS_MATH_H_
#include "RobotisTrajectoryCalculator.h"
#include "robotis_trajectory_calculator.h"
#endif /* ROBOTIS_MATH_H_ */

View File

@@ -10,7 +10,7 @@
#include <cmath>
namespace ROBOTIS
namespace robotis_framework
{
#define PRINT_VAR(X) std::cout << #X << " : " << X << std::endl

View File

@@ -9,12 +9,12 @@
#define ROBOTIS_TRAJECTORY_CALCULATOR_H_
#include "RobotisMathBase.h"
#include "RobotisLinearAlgebra.h"
#include "robotis_linear_algebra.h"
#include "robotis_math_base.h"
// minimum jerk trajectory
namespace ROBOTIS
namespace robotis_framework
{
Eigen::MatrixXd minimum_jerk_tra( double pos_start , double vel_start , double accel_start,

View File

@@ -6,9 +6,9 @@
*/
#include "robotis_math/RobotisLinearAlgebra.h"
#include "../include/robotis_math/robotis_linear_algebra.h"
namespace ROBOTIS
namespace robotis_framework
{
Eigen::MatrixXd transitionXYZ ( double position_x, double position_y, double position_z )

View File

@@ -5,12 +5,12 @@
* Author: jay
*/
#include "robotis_math/RobotisMathBase.h"
#include "../include/robotis_math/robotis_math_base.h"
namespace ROBOTIS
namespace robotis_framework
{
double sign( double x )

View File

@@ -7,7 +7,7 @@
#include "robotis_math/RobotisTrajectoryCalculator.h"
#include "../include/robotis_math/robotis_trajectory_calculator.h"
/*
@@ -19,7 +19,7 @@
namespace ROBOTIS
namespace robotis_framework
{
Eigen::MatrixXd minimum_jerk_tra( double pos_start , double vel_start , double accel_start,