- ROS C++ Coding Style is applied.
This commit is contained in:
@@ -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
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <Eigen/Dense>
|
||||
|
||||
namespace ROBOTIS
|
||||
namespace robotis_framework
|
||||
{
|
||||
|
||||
Eigen::MatrixXd transitionXYZ ( double position_x, double position_y, double position_z );
|
||||
|
@@ -8,6 +8,6 @@
|
||||
#ifndef ROBOTIS_MATH_H_
|
||||
#define ROBOTIS_MATH_H_
|
||||
|
||||
#include "RobotisTrajectoryCalculator.h"
|
||||
#include "robotis_trajectory_calculator.h"
|
||||
|
||||
#endif /* ROBOTIS_MATH_H_ */
|
||||
|
@@ -10,7 +10,7 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
namespace ROBOTIS
|
||||
namespace robotis_framework
|
||||
{
|
||||
|
||||
#define PRINT_VAR(X) std::cout << #X << " : " << X << std::endl
|
||||
|
@@ -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,
|
||||
|
@@ -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 )
|
||||
|
@@ -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 )
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user